civ_freq
Convert a radio frequency in MHz to CI-V BCD data bytes for set-frequency commands, or decode BCD hex reply bytes back to MHz.
Instructions
Convert between a frequency in MHz and CI-V BCD data bytes.
Give mhz to get the 5 data bytes for a set-frequency command (05), or
bcd_hex (5 bytes from a reply) to get the frequency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mhz | No | ||
| bcd_hex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |