Difference between revisions of "TCP/IP amplifier"

From SmartSDR Wiki
Jump to: navigation, search
(remove quotes)
Line 2: Line 2:
 
Creates/registers a new amplifier associated with the client handle that created the connection
 
Creates/registers a new amplifier associated with the client handle that created the connection
 
<pre>
 
<pre>
C[D]<seq_number>|amplifier create ip="<ip_string>" port=<port> model=<model_string> serial_num=<serial> ant=<radio_ant:amp_ant,...>
+
C[D]<seq_number>|amplifier create ip=<ip_string> port=<port> model=<model_string> serial_num=<serial> ant=<radio_ant:amp_ant,...>
  
 
<ip_string>            = optional IPv4 quartet (used to control amp from radio)
 
<ip_string>            = optional IPv4 quartet (used to control amp from radio)

Revision as of 17:27, 12 December 2016

CREATE

Creates/registers a new amplifier associated with the client handle that created the connection

C[D]<seq_number>|amplifier create ip=<ip_string> port=<port> model=<model_string> serial_num=<serial> ant=<radio_ant:amp_ant,...>

<ip_string>             = optional IPv4 quartet (used to control amp from radio)
<port>                  = port number that the amplifier is listening for commands
<model_string>          = model of amplifier (max length of 64 chars) (no spaces allowed)
<serial_num>            = serial number of amplifier (max length of 64 chars) (no spaces allowed)
<radio_ant:amp_ant,...> = a list of radio_antenna to amplifier_antenna pairs that specifies which radio antennas are connected to which amplifier antennas, must be separated by commas (no spaces allowed)

Example:

C44|amplifier create ip=192.168.20.209 port=9000 model=PowerGeniusXL serial_num=1284-2394-2345 ant=ANT1:PORTB,ANT2:PORTA

If an amplifier has already been created by a specific client connection and this command is re-issued - it will overwrite the previous amplifier settings.

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

Responses
Hex Response Message Debug Output / Meaning
00000000 OK

Response Example:

R44|0