civ_parse
Decode Icom CI-V hex frames from serial output to identify echoed commands, rig replies, and extract frequency, mode, OK/NG, and PTT state.
Instructions
Decode Icom CI-V frames from hex (as returned by read_available).
Splits the bytes into frames, tells our own echoed command apart from the rig's reply, and decodes frequencies (BCD), modes, OK/NG and PTT state.
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": {
"hex_bytes": "<hex_bytes>"
},
"name": "civ_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_bytes | Yes | ||
| controller | No | E0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |