civ_build
Construct Icom CI-V hex frames for radio control via serial. Provide command, data, rig, and controller addresses to produce ready-to-send payloads.
Instructions
Build an Icom CI-V frame as hex, ready for send_hex.
Args: command: Command byte(s) as hex, e.g. "03" read frequency, "04" read mode, "05" set frequency, "06" set mode, "1C 00" PTT, "19 00" read rig address. data: Data bytes as hex. For frequencies use civ_freq: set 14.070 MHz is command "05" with data "00 00 07 14 00" (BCD, low byte first). rig: The rig's CI-V address (IC-7300 94, IC-7610 98, IC-9700 A2, IC-705 A4). controller: Our address, conventionally E0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rig | No | 94 | |
| data | No | ||
| command | Yes | ||
| controller | No | E0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |