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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_bytes | Yes | ||
| controller | No | E0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |