2025-03-14 21:59:59 -06:00
|
|
|
# pio device
|
|
|
|
|
|
|
|
|
|
> Manage and monitor PlatformIO devices.
|
|
|
|
|
> More information: <https://docs.platformio.org/en/latest/core/userguide/device/>.
|
|
|
|
|
|
|
|
|
|
- List all available serial ports:
|
|
|
|
|
|
|
|
|
|
`pio device list`
|
|
|
|
|
|
|
|
|
|
- List all available logical devices:
|
|
|
|
|
|
|
|
|
|
`pio device list --logical`
|
|
|
|
|
|
|
|
|
|
- Start an interactive device monitor:
|
|
|
|
|
|
|
|
|
|
`pio device monitor`
|
|
|
|
|
|
|
|
|
|
- Start an interactive device monitor and listen to a specific port:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`pio device monitor {{[-p|--port]}} {{/dev/ttyUSBX}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Start an interactive device monitor and set a specific baud rate (defaults to 9600):
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`pio device monitor {{[-b|--baud]}} {{57600}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Start an interactive device monitor and set a specific EOL character (defaults to `CRLF`):
|
|
|
|
|
|
|
|
|
|
`pio device monitor --eol {{CRLF|CR|LF}}`
|
|
|
|
|
|
|
|
|
|
- Go to the menu of the interactive device monitor:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`<Ctrl t>`
|