pbl consoleAttach to the firmware’s console: over serial on a watch, over TCP to a running emulator.
pbl console # the emulator
pbl console --tty /dev/ttyACM0 # a watch
Send help to list the console commands. Firmware log messages are hashed
at compile time, so the binary only contains a hash and the arguments; the
console dehashes them on the fly using the dictionary the build generates
at build/fw/loghash_dict.json (build/prf/fw/loghash_dict.json for PRF
builds). Debugging covers the flash log buffer and
coredumps.
pbl console [-h] [-b DIR] [--dry-run] [--tty TTY] [--baudrate BAUDRATE]
[--qemu-host QEMU_HOST] [--reconnect]
--tty TTYtty to use for the console
--baudrate BAUDRATEBaudrate for the target’s uart
--qemu-host QEMU_HOSThost:port for the emulator’s console (default: localhost:12345)
--reconnectWrap the console in a keep-alive driver that reconnects
Generated from PebbleOS 3a7b71785. This page is maintained in the pebbleos repository: docs/pbl/console.md.