TCP/IP waveform

From SmartSDR Wiki
Jump to: navigation, search

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

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

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

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

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

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

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

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

Response Example:

R19|0|

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

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

Response Example:

R19|0|