-
Notifications
You must be signed in to change notification settings - Fork 0
USB Cable Commands
github-actions[bot] edited this page Jun 15, 2026
·
1 revision
Generated from FlexLib v4.2.18
USB cable port configuration and control
Commands follow the FlexRadio TCP wire protocol:
C[D]<seq_number>|<command> [sub-command] [parameters]
Where:
-
C= Command prefix -
D= Optional debug flag -
<seq_number>= Sequence number for command tracking -
<command>= Primary command word -
[sub-command]= Optional sub-command -
[parameters]= Command-specific parameters
Responses follow the format:
R<seq_number>|<result_code>|<data>|[debug_info]
Where:
-
R= Response prefix -
<seq_number>= Matching sequence number from command -
<result_code>= Result code (0= success, non-zero = error) -
<data>= Command-specific response data -
[debug_info]= Optional debug information
| Code | Meaning |
|---|---|
0 |
Success |
50000001 |
Unable to get foundation receiver assignment |
50000003 |
License check failed |
50000004 |
Parameter error |
50000005 |
Incorrect number or type of parameters |
50000016 |
Malformed command |
5000002C |
Incorrect number of parameters |
50000032 |
Bad mode |
Syntax:
C<seq>|usb_cable set <serialnumber> <parameter>=<value>
| Parameter | Description |
|---|---|
polarity |
|
source |
Valid values: None, TXPanadapter, TXSlice, ActiveSlice, TXAntenna, RXAntenna, Slice, Invalid
|
source_rx_ant |
|
source_tx_ant |
|
source_slice |
|
type |
Valid values: Invalid, HF_BCD, VHF_BCD, HF_VHF_BCD
|
type |
|
enable |
|
name |
|
log |
|
data_bits |
|
speed |
Valid values: BAUD_300, BAUD_600, BAUD_1200, BAUD_2400, BAUD_4800, BAUD_9600, BAUD_14400, BAUD_19200, BAUD_38400, BAUD_57600, BAUD_115200, BAUD_230400, BAUD_460800, BAUD_921600
|
parity |
Valid values: none, odd, even, mark, space
|
stop_bits |
|
flow_control |
Valid values: none, rts_cts, dtr_dsr, xon_xoff
|
auto_report |
|
band |
|
preamp |
Response Example:
R<seq>|0||
Syntax:
C<seq>|usb_cable setbit <serialnumber> <bit> <parameter>=<value>
| Parameter | Description |
|---|---|
source |
Set Bit Source Valid values: None, TXPanadapter, TXSlice, ActiveSlice, TXAntenna, RXAntenna, Slice, Invalid
|
output |
Set Bit Output Valid values: Band, FreqRange
|
polarity |
Set Bit Active High |
enable |
Set Bit Enable |
ptt_dependent |
Set Bit Ptt |
ptt_delay |
Set Bit Ptt Delay Ms |
tx_delay |
Set Bit Tx Delay Ms |
source_rx_ant |
Set Bit Source Rx Ant |
source_tx_ant |
Set Bit Source Tx Ant |
source_slice |
Set Bit Source Slice |
band |
Set Bit Band |
Response Example:
R<seq>|0||
Set Bit Freq Range
Syntax:
C<seq>|usb_cable setbit <serialnumber> <bit> low_freq=<math> high_freq=<math>
Parameters:
| Parameter | Description |
|---|---|
<serialnumber> |
|
<bit> |
Valid values: Band, FreqRange
|
<math> |
|
<math> |
Response Example:
R<seq>|0||
Remove
Syntax:
C<seq>|usb_cable remove <serialnumber>
Parameters:
| Parameter | Description |
|---|---|
<serialnumber> |
Response Example:
R<seq>|0||
Writes bytes to the Passthrough Cable
Syntax:
C<seq>|usb_cable write <serialnumber> base64 <base64data>
Parameters:
| Parameter | Description |
|---|---|
<serialnumber> |
|
<base64data> |
Response Example:
R<seq>|0||
Writes bytes to the Passthrough Cable
Syntax:
C<seq>|usb_cable write <serialnumber> text <text>
Parameters:
| Parameter | Description |
|---|---|
<serialnumber> |
|
<text> |
Response Example:
R<seq>|0||
Core Radio Control
Client and Connectivity
Audio and CW
Display and Data
System and Utilities
- Amplifier Commands
- Antenna Commands
- ATU Commands
- Equalizer Commands
- Filter Commands
- Information Commands
- Interlock Commands
- Keepalive Commands
- License Commands
- Memory Commands
- Meter Commands
- MOX Commands
- Ping Commands
- Subscription Commands
- TNF Commands
- Transverter Commands
- USB Cable Commands
- Waveform Commands
- HAAPI Commands
- ALE Commands