Skip to content

Commit

Permalink
Document new CAT commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Balmer committed Sep 26, 2024
1 parent 36df243 commit 5e3617f
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion rtxlink.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,33 @@ The tables below summarizes the CAT resource identifiers with their respective s
| info | 0x494E 'IN' | String (16) | R | Return radio identifier |
| rx_frequency | 0x5246 'RF' | i32 (4) | RW | Get or set the current VFO receive frequency |
| tx_frequency | 0x5446 'TF' | i32 (4) | RW | Get or set the current VFO transmit frequency |
| op_mode | 0x4F4D 'OM' | i8 (1) | RW | Get or set the current operating mode |
| bandwidth | 0x4257 'BW' | i8 (1) | RW | Get or set the current bandwidth |
| m17_callsign | 0x4D43 'MC' | String (10) | RW | Get or set the M17 callsign |
| m17_dest | 0x4D44 'MD' | String (10) | RW | Get or set the M17 destination address |
| baud_rate | 0x4252 'BR' | i32 (4) | W | Set the baud rate of the rtxlink interface |
| power_cycle | 0x5043 'PC' | None | W | Reboot radio |
| file_transfer | 0x4654 'FT' | None | W | Enable File Transfer Mode |

<!-- | free_space | 0x4653 'FS' | i32 (4) | R | Return available space in Bytes | -->

#### Operating Modes

| Value | Operating Mode |
|:------|:---------------|
| 0x00 | No mode set |
| 0x01 | FM |
| 0x02 | DMR |
| 0x03 | M17 |

#### Bandwidth Codes

| Value | Bandwidth |
|:------|:----------|
| 0x00 | 12.5 kHz |
| 0x01 | 20.0 kHz |
| 0x02 | 25.0 kHz |

### File Management Protocol (FMP)

The file management protocol is used to read/write files from the radio filesystem and to dump or restore the content of one of its nonvolatile memories. To guarantee data consistency, before doing
Expand Down Expand Up @@ -157,7 +178,7 @@ of only two bytes.

| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|:---:|:--------:|:--------------:|:---:|:--------------:|:-------:|:---:|:-------:|
| CMD | N Params | Param 1 length | ... | Param N length | Param 1 | ... | Param N |
| CMD | N Params | Param 1 length | ... | Param N length | Param 1 | ... | Param N |

#### Response Format

Expand Down

0 comments on commit 5e3617f

Please sign in to comment.