stm32_read_serial
Capture serial output from a target UART port to monitor printf logs or RTOS telemetry. Specify port, baud rate, timeout, and max bytes to read.
Instructions
Listens and captures incoming serial output from target UART (e.g. printf output or RTOS telemetry).
Args: port: Port name (e.g. 'COM3' or '/dev/ttyUSB0'). baudrate: Baud rate (default: 115200). timeout_sec: Listening window in seconds. max_bytes: Maximum bytes to read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| baudrate | No | ||
| max_bytes | No | ||
| timeout_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |