TCPIP radio - flexradio/smartsdr-api-docs GitHub Wiki

NAME

Set the name of the radio which will show up in broadcasts and optionally the display.

C[D]<seq_number>|radio name <name>

< name >    = alphanumeric name of the radio - if left blank, the current name is returned

Example:

C21|radio name 6M

See Response Format for details on the format of the response messages from the radio

Hex Response Message Debug Output / Meaning
00000000 <slice_rx> OK radio name set
5000002C   Radio name provided is too long (>15 characters)

Responses

Response Example:

R21|0|OK

CALLSIGN

Set or retrieve the callsign of the radio which will show up in broadcasts and optionally the display.

C[D]<seq_number>|radio callsign <callsign>

< callsign >    = alphanumeric callsign of the radio - if left blank, radio will return current callsign

Example:

C21|radio callsign K5FRS

See Response Format for details on the format of the response messages from the radio

Hex Response Message Debug Output / Meaning
00000000 <slice_rx> OK radio callsign set
5000002C   Incorrect number of parameters

Responses

Response Example:

R21|0|OK

FILTER_SHARPNESS

Set the filter sharpness by mode. The filter sharpness adjusts the number of taps or stages in the filter which are traded off against latency.

C[D]<seq_number>|radio filter_sharpness <mode> <level=0-3> <auto_level=0|1|t|f>

< mode >          = "voice", "cw" or "digital" - indicates which types of modes the sharpness applies to
< level >         = a relative level of sharpness with 0 being least sharp and 3 most sharp.
                    With each level increase, latency doubles
< auto_level >    = "0" or "1" turns off/on internal algorithm for automatic setting of the filter sharpness

Example:

C21|radio filter_sharpness voice level=2

See Response Format for details on the format of the response messages from the radio

Hex Response Message Debug Output / Meaning
00000000 Filter settings successful
50000016   malformed command / incorrect parameters
5000002C   Incorrect number of parameters

Responses

Response Example:

R21|0|OK

REBOOT

Restart (reboot) the radio. When this command is issued, the radio will drop any connections and will be unresponsive for approximately one minute while a reboot occurs.

C[D]<seq_number>|radio reboot

Example:

C1|radio reboot

No response to this command will be provided, typically.

SET

Set various radio-wide parameters. See the table below for the details on each parameter, its effects and required parameters.

Parameter Value
leapseconds Low resolution time-stamping uses NTP and the internal linux clock. To make adjustments for leap seconds, enter the number
enforce_private_ip_connections enable or disable <0|1>
band_persistence_enabled enable or disable <0|1>
ntp_update set rate in seconds
tunepower set the scale from 0-100
remote_on_enabled enable or disable <0|1>
full_duplex_enabled enable or disable <0|1>
daxiq_duplex_enabled enable or disable <0|1>
tnf_enabled enable or disable <0|1>
snap_tune_enabled enable or disable <0|1>
C[D]<seq_number>|radio set <command> <parameters>

<command >
< parameters >          = see the individual set of commands to see the details

Example:

C21|radio filter_sharpness voice level=2

See Response Format for details on the format of the response messages from the radio

Hex Response Message Debug Output / Meaning
00000000 Filter settings successful
50000016   malformed command / incorrect parameters
5000002D   Bad Field
50000033   Parameters out of range

Responses

Response Example:

R21|0|OK

STATIC_NET_PARAMS

C[D]<seq_number>|radio static_net_params ip=<num.num.num.num> gateway=<num.num.num.num> netmask=<num.num.num.num>

To reset to DHCP: send the command with `radio static_net_params reset`.
Note: Radio must be restarted following this command for the network changes to take effect.

Example:

C21|radio static_net_params ip=192.168.0.101 gateway=192.168.0.1 netmask=255.255.255.0

See Response Format for details on the format of the response messages from the radio

Hex Response Message Debug Output / Meaning
00000000   OK
50000016   Malformed Command
5000002C   Incorrect Number of Parameters

Responses

Response Example:

R21|0|73737

UPTIME

Displays the amount of time the radio has been on sit boot-up

C[D]<seq_number>|radio uptime

Example:

C21|radio uptime

See Response Format for details on the format of the response messages from the radio

Hex Response Message Debug Output / Meaning
00000000 OK
50000016   Malformed Command
5000002C   Incorrect Number of Parameters

Responses

Response Example:

R21|0|73737

GPS (6400(M) AND 6600(M) Series)

Configure the attached GPS module

C[D]<seq_number>|radio gps always|only|install|uninstall

Example:

C21|radio gps always

See Response Format for details on the format of the response messages from the radio

Hex Response Message Debug Output / Meaning
00000000 <slice_rx> OK
50000016   Malformed Command

Responses

Response Example:

R21|0||

FAN (6400(M) and 6600(M) Series)

Set the speed of the fan

C[D]<seq_number>|radio fan low|lowmid|mid|midhigh|high

Example:

C21|radio fan mid

See Response Format for details on the format of the response messages from the radio

Hex Response Message Debug Output / Meaning
00000000 <slice_rx> OK
50000016 <slice_rx> Malformed Command
5000002C   Incorrect Parameters

Responses

Response Example:

R21|0||

BACKLIGHT (6400 and 6600 Series)

Set the intensity of the backlight on the front panel

C[D]<seq_number>|radio backlight [0-100]

Example:

C21|radio backlight 50

See Response Format for details on the format of the response messages from the radio

Hex Response Message Debug Output / Meaning
00000000 <slice_rx> OK
50000016 <slice_rx> Malformed Command
5000002C   Incorrect Parameters

Responses

Response Example:

R21|0||
⚠️ **GitHub.com Fallback** ⚠️