hf_serial_send
Transmit data to Hi-Flying devices via serial TCP transparent mode, supporting both hex and text input.
Instructions
Send data through serial port via Hi-Flying TCP transparent mode. Supports hex string (space-separated) or text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>",
"data": "<data>"
},
"name": "hf_serial_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Data to send (hex: "01 03 00 00 00 01 84 0A" or text) | |
| timeout | No | Response timeout in ms (default 3000) | |
| device_id | Yes | Hi-Flying device ID |