Viper User
Manual (001-5008-000 Rev6)
Page
53
CLI Service
Command Line Interface
Access to the Command Line Interface command shell is password protected and is
reserved for authorized Dataradio maintenance personnel.
Serial/RF Bridge - DOX mode
3 wire connection required. Data is sent whenever it is present at the port. Flow control is
not required. The IP Gateway service will use UDP transport protocol to send and receive
messages.
Serial/RF Bridge - RTS/CTS mode
5 wire connection required. Data is sent after the device raises the RTS and the Viper
returns a CTS signal to the device.
Online Diagnostics
TCP/IP based RF diagnostics for the entire Viper network will be collected and sent to the
serial port.
Custom
Choosing Custom enables the user to specify the IP Gateway Transport configuration. The
defaults are CLI Service for SETUP port and Serial/RF Bridge for COM port.
1.1.35
IP Gateway Transport
The Viper allows the user to select between two commonly used protocols for sending data
to/from the serial port. The first method, TCP, provides a reliable method of transmission,
with acknowledgements and retries built into the protocol. The TCP protocol requires
several handshaking messages to open a connection, close a connection, and to
acknowledge that a packet has been received correctly. These handshaking messages will
add some extra traffic to the network.
The second method, UDP, is a simpler method of sending data. Connections do not need to
be opened or closed before sending data, as in TCP. Therefore, no extra handshaking is
needed. However, there is no acknowledgements or retries built into the UDP protocol.
Note: The Viper can be configured to use RF acknowledgements and will retransmit a failed
message over the air that does not successfully reach the next Viper. This
acknowledgement/retry scheme is built into the Viper and is independent of any TCP or UDP
retries and will operate no matter which protocol is being used (TCP, UDP, or others).
TCP Overview
The TCP protocol uses a client/server model. A connection must be established between the
client and the server before any data is sent. The TCP client is responsible for initiating the
connection between the client and server. The TCP server will listen for any TCP clients that
want to connect. Neither the client nor the server can send data before the connection is
opened. Once the connection is open, data can flow freely in either direction.