Cal Amp VIPER SC+ 100 series User Manual - page 104
Viper SC+™ IP Router for Licensed Spectrum PN 001-5008-000 Rev. C
| Page 94
Online Diagnostics
This is a TCP/IP based RF diagnostics mode. Displays the time interval (in seconds) when the Online Diagnostics
string will be transmitted.
Custom
Allows you to customize the IP settings by selecting this setting. Choose the socket connection mode from the
IP Gateway Transport list and configure the IP settings.
IP Gateway Transport
Select one of four modes of transport, TCP Server, TCP Client, UDP, or TCP Client/Server.
Parameters for each of these modes are defined in Table 15 TCP/UDP Parameter Usage,
which follows.
TCP Server Mode
In this mode of operation, the Viper acts as a TCP server. It can accept up to 256 TCP connections from remote
endpoints. Data received from any remote endpoint is sent over the serial port. Data received from the serial
port is sent to every endpoint connected to the TCP server.
Local Port Number – In TCP Server mode, you must set the local port number parameter. It identifies the
port used by the TCP server when accepting connections from the remote endpoints.
Remote IP Address and Remote Port Number – These parameters are not used In TCP Server mode.
TCP Client Mode
In this mode of operation, the Viper (local endpoint) tries to establish a TCP connection with a TCP server
(remote endpoint). Once the TCP connection is established, any data received from the remote endpoint is
sent over the serial interface. Any data received from the serial interface is sent to the remote endpoint.
Local Port Number – This parameter is used to identify the local endpoint. The IP stack automatically
decides the value assigned to the local port number. You can let the IP stack decide the value of the local IP
address (local IP address = 0.0.0.0) or select a specific local IP address (as long as it is the IP address of one
of the interfaces, Ethernet or RF.
Remote IP Address and Remote Port Number – These two parameters are used to identify the remote
endpoint (TCP Server).
UDP Mode
In this mode of operation, all UDP packets addressed to the Local IP Address and the Local Port Number are
sent over the serial interface. Any data received from the serial interface is sent over the serial interface
Local Port Number – The local port number parameters are used in reception to indicate which UDP packets
are to be sent to the serial port. The local port number parameters are used in transmission to set the
source IP address of the IP header and the source port number of the UDP packet.
Remote IP Address and Remote Port Number – The remote port number and remote IP address
parameters are used in transmission to set the destination IP address of the IP header and the destination
port number of the UDP packet.
TCP Client/Server Mode
In this mode of operation, the Viper acts as both a TCP server and a TCP client. Data received from any remote
endpoint is sent over the serial port. Data received from the serial port is sent to every remote endpoint
connected to the TCP client/server.
Local Port Number – This parameter is used to define the TCP server.
Remote IP Address and Remote Port Number – These parameters are used to define the TCP client. The
Viper will try to establish a TCP connection to the remote endpoint defined by these two parameters when
there is data received on the serial port AND there are no TCP connections already established.