write_rtt
Transmit data to target MCU RTT channels for logging and debugging. Optionally set channel number or send as hexadecimal.
Instructions
向 RTT 通道写入数据
向目标 MCU 的 RTT 通道发送数据。
Args: data: 要写入的数据 channel: 通道号,None 使用默认通道 is_hex: 是否为十六进制数据,默认 False
Returns: 写入结果的 JSON 字符串
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| channel | No | ||
| is_hex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |