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

CREATE

Create a stream

C[D]<seq_number>|stream create type=dax_rx dax_channel=<num>
C[D]<seq_number>|stream create type=dax_tx
C[D]<seq_number>|stream create type=dax_iq daxiq_channel=<num>
C[D]<seq_number>|stream create type=dax_mic
C[D]<seq_number>|stream create type=remote_audio_rx compression=none|opus
C[D]<seq_number>|stream create type=remote_audio_tx

Examples:

C19|stream create type=dax_rx dax_channel=3
C20|stream create type=dax_iq daxiq_channel=1
C21|stream create type=remote_radio_rx compression=opus

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

Hex Response Message Debug Output / Meaning
00000000   OK
50000025   Client Stream ID not found
5000002C   Incorrect number of parameters
50000059   Invalid Stream ID
50000064   No IP or PORT

Responses

Response Example:

R19|0|

REMOVE

Remove a stream

C[D]<seq_number>|stream remove <stream_id>

<stream_id> = client stream id of the IQ/Slice stream

Example:

C19|stream remove 0x84000000

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

Hex Response Message Debug Output / Meaning
00000000   OK
50000025   Client Stream ID not found
5000002C   Incorrect number of parameters
50000059   Invalid Stream ID

Responses

Response Example:

R19|0|

GET_ERROR

Get error of a stream

C[D]<seq_number>|stream get_error <stream_id>

Example:

C21|stream get_error 101
Hex Response Message Debug Output / Meaning
00000000   OK
50000016 Malformed Command
50000025   Client Stream ID not found
50000059   Invalid Stream ID
5000002C   Incorrect number of parameters

Responses

Response Example:

R21|0|

SET

Set a stream

C[D]<seq_number>|stream set <stream_id> tx=[1|0] daxiq_rate=[24|48|96|192]

Example:

C18|stream set 87 tx=1 daxiq_rate=48
Hex Response Message Debug Output / Meaning
00000000   OK
50000016 Malformed Command
5000002C   Incorrect number of parameters
⚠️ **GitHub.com Fallback** ⚠️