-
Notifications
You must be signed in to change notification settings - Fork 0
Command Index
Actionbot edited this page Dec 9, 2025
·
7 revisions
This documentation provides comprehensive reference for all FlexRadio API commands discovered from the FlexLib C# API.
This was last refreshed on 12/8/2025 (i.e. SmartSDR v3.1.4)
Warning
This has been generated by AI and accuracy is not guaranteed.
- Amplifier Commands - External hardware amplifier control
- Antenna Commands - Antenna port listing and selection
- ATU Commands - Antenna Tuning Unit control and configuration
- Client Commands - Client connection and session management
- CW Commands - Morse code keying
- CWX Commands - CWX text buffer operations
- Display Commands - Panadapter and waterfall display control
- Equalizer Commands - Audio equalizer and Auto Peak Filter control
- File Commands - File operations including uploads, downloads, and filename management
- Filter Commands - Receiver filter bandwidth control
- Information Commands - Radio information and version queries
- Interlock Commands - Transmit interlock configuration
- Keepalive Commands - Connection keepalive mechanism
- License Commands - Radio license management
- Memory Commands - Memory channel operations
- Meter Commands - Radio meter and measurement access
- Microphone Commands - Microphone management
- Mixer Commands - Mixer management
- MOX Commands - Manual On/Off transmission control
- Ping Commands - Network connectivity testing
- Profile Commands - Profile management
- Radio Commands - Global radio settings and configuration
- Slice Commands - Receiver slice control, tuning, and configuration
- Spot Commands - DX cluster spot management
- Stream Commands - Audio and data stream creation and management
- Subscription Commands - Status update subscriptions
- TNF Commands - Tracking Notch Filter control
- Transmit Commands - RF power, audio processing, and transmission parameters
- Transverter Commands - Transverter configuration
- WAN Commands - Wide Area Network remote access
- Waveform Commands - Waveform management
All commands follow the FlexRadio API format:
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
Successful Commands:
R21|0|2|slice created on 14.230000 MHz (slice create)
R25|0|14.230000| (slice tune)
R33|0|192.168.1.100| (client ip)
R26|0|| (simple set commands)
Error Responses:
R21|50000001||Unable to create slice
R25|50000004||Invalid frequency parameter
R26|50000016||Malformed command
| 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 |
- Sequence Numbers: Each command should use a unique sequence number to track responses
- Parameter Format: Most numeric parameters accept ranges as specified in each command
- String Parameters: String parameters should be quoted when they contain spaces
- Stream IDs: Display stream IDs are typically in hexadecimal format (e.g., 0x40000000)
- Frequency Format: Frequencies are specified in MHz with up to 6 decimal places
These commands were extracted from the FlexRadio FlexLib C# API by analyzing:
-
SendCommand()method calls for immediate commands -
SendReplyCommand()method calls for commands requiring responses - Complete analysis of Radio.cs, Slice.cs, and related source files
The documentation represents the complete command set available in the FlexRadio protocol as implemented in the official FlexLib API.