
Ethernet and IP socket mode commands
XLR PRO Radio Frequency (RF) Modem User Guide
45
Ethernet and IP socket mode commands
Command
Name and description
Range
Default
ES
IP Socket Mode Enable
. Enable or disable IP socket mode.
Enabling socket mode will allow serial traffic to be sent to a TCP
or UDP port based on the IP parameter. The XLR PRO will be in
a listen-only state unless DX is set to a valid IP address.
0
- IP socket mode disabled
1
- IP socket mode enabled
0 - 1
1 (Enabled)
IB
IP Socket Baud Rate
. The IP Socket baud rate of the XLR PRO.
This value will only affect the interface data rate for serial TCP/
UDP data through the Ethernet port. Values from 1-9 select
preset standard rates. The values from 1 to 9 are interpreted as
follows:
0
- n/a
4
- 19,200bp
8
- 230,400b/s
1
- 2,400b/s
5
- 38,400b/s
9
- 480,600b/s
2
- 4,800b/s
6
- 57,600b/s
3
- 9,600b/s
7
- 115,200b/s
If a non-standard baud rate is needed, a value above 0x5B9 can
be entered to select a specific baud rate. The IB parameter will
adjust to the closest supported baud rate if a non-standard
value is entered. After entering the specific baud rate, IB can be
queried to read the actual baud rate.
0 - 9, and
0x5B9 - 0x70800
0x70800
(480600 b/s)
IP
IP Protocol
. The IP protocol used for client and server socket
connections in IP socket mode.
0
- TCP
1
- UDP
0 - 1
1 (TCP)
DX
Destination IP Address
. The destination IPv4 address for
outgoing IP socket mode data. 255.255.255.255 is a broadcast
address.
0.0.0.0 -
255.255.255.255
0
C0
Source Port
. The listening IP port number for TCP and UDP
traffic. An incoming socket will only be established if the
protocol (TCP or UDP) matches what is set by the IP parameter.
0 - 0xFFFF
0x2616 (port
9750)
DY
Destination Port
. The outgoing IP port number for TCP and
UDP socket connections. A socket to this IP port will be made to
the destination IPv4 address defined by the DX parameter using
the protocol defined by the IP parameter.
0 - 0xFFFF
0x2616 (port
9750)
TM
TCP Client Connection Timeout
. The timeout for outgoing TCP
socket connections, this timer is used when the XLR PRO is
acting as a TCP client. The connection will be closed if no
activity is seen during this timeout period. When set to 0, the
connection is closed immediately after data is sent. The
maximum timeout is 1 day.
0 - 0x15180
[x 1 sec]
0x3C (60
seconds)