stm32_write_serial
Send data or AT commands to an STM32 MCU over a serial port, with configurable baud rate and automatic CRLF newline.
Instructions
Sends data or AT/terminal commands to target MCU over serial port.
Args: port: Port name (e.g. 'COM3' or '/dev/ttyUSB0'). data: String to send. baudrate: Baud rate (default: 115200). append_newline: If True, appends CRLF (\r\n).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| port | Yes | ||
| baudrate | No | ||
| append_newline | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |