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

CREATE

C[D]<seq_number>|waveform create name=<name> mode=<mode>

<name> = name for the mode up to 20 characters in length
<mode> = 1-4 character mode designator

Example:

C19|waveform create testing test

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

Hex Response Message Debug Output / Meaning
00000000   OK
5000002C   Incorrect number of parameters

Responses

Response Example:

R19|0|

SET RX_FILTER

This same commmand can be used for tx_filter

C[D]<seq_number>|waveform set rx_filter low_cut=<nnnn>|high_cut=<nnnn>|depth=<dddd>

<nnnn> = frequency in Hz
<dddd> = filter depth (128|256|512|1024|2048)

Example:

C19|ping

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
50000081   Invalid Waveform

Responses

Response Example:

R19|0|

SET TX

C[D]<seq_number>|waveform set tx <0|1|T|F>

Example:

C19|waveform set tx 0

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

Hex Response Message Debug Output / Meaning
00000000   OK
5000002C   Incorrect number of parameters
50000081   Invalid Waveform

Responses

Response Example:

R19|0|

SET UDPPORT

C[D]<seq_number>|waveform set udpport <port>

<port> = port number you would like set as UDP

Example:

C19|waveform set udpport 23

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

Hex Response Message Debug Output / Meaning
00000000   OK
5000002C   Incorrect number of parameters
50000081   Invalid Waveform

Responses

Response Example:

R19|0|

SET TX

Transmits waveform

C[D]<seq_number>|waveform set tx

Example:

C19|waveform set tx 
Hex Response Message Debug Output / Meaning
00000000   OK
50000016   Malformed Command
5000002C   Incorrect number of parameters
50000081   Invalid Waveform

Responses

Response Example:

R19|1|

SET LOGGING

Performs data logging

C[D]<seq_number>|waveform set logging

Example:

C19|waveform set logging
Hex Response Message Debug Output / Meaning
00000000   OK
50000016   Malformed Command
5000002C   Incorrect number of parameters
50000081   Invalid Waveform

Responses

Response Example:

R19|1|

RESPONSE

C[D]<seq_number>|waveform response <sequence>|<response>

<sequence> = sequence of originating command
<response> = response command sender
note that the vertical bar is part of the response, not an 'or'

Example:

C19|waveform response C18|50000016

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
50000081   Invalid Waveform

Responses

Response Example:

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