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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "civ_freq"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mhz | No | ||
| bcd_hex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |