#9 Viper_SC_Manual_
001-5008-000_Rev12e.docx |
Page 39
4.3.4.1
IP GATEWAY SERVICE
Serial port(s) can be configured to provide several different services.
―
CLI Service.
Command Line Interface; Access to the Command Line Interface command shell is password protected and
is reserved for authorized personnel only.
―
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
SC returns a CTS signal to the device. This setting is unique to the COM Port.
―
Online Diagnostics.
TCP/IP based RF diagnostics for the entire Viper SC network will be collected and sent to the serial
port.
―
Custom.
Select to enable
IP Gateway Transport
configuration.
Setup Port Default = CLI Service. COM Port Default =
Serial/RF Bridge
.
4.3.4.2
IP GATEWAY TRANSPORT
Viper allows the user to select between two commonly used protocols for sending data to/from the serial port: UDP/TCP
―
UDP
is a simple method of sending data. Connections do not need to be opened or closed before sending data. No
handshaking is required; therefore, there is no acknowledgement or retries built into the UDP protocol. In UDP mode,
Viper will always be listening on the Local IP address and Port Number. Received data that is addressed to this IP
address and Port will be immediately output on the serial port. Any data received from the serial port will be sent to
the Remote IP address and Port Number.
―
TCP
is a
reliable method of data transmission, with acknowledgements and retries built into the protocol. TCP 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.
TCP
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.
―
TCP CLIENT/SERVER MODE.
In this mode of operation, the unit acts as 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. The unit will try to establish a TCP connection to the remote endpoint
defined by the Remote IP Address and the Remote Port Number when there is data received on the serial port AND
there is no TCP connections already established.
In
TCP Client
mode, Viper will try to establish a connection with a remote TCP Server. Once the connection is
established, data can flow freely in either direction. If the connection is closed for any reason, the Viper will try to
reestablish the TCP connection.
In
TCP Server
mode the Viper SC will listen on the Local IP Address and Port Number for any requests to open a TCP
connection. The TCP Server can have up to 255 clients connected at one time. Data received from any client will be
forwarded to the serial port. Data received from the serial port will be forwarded to every client with an open
Содержание Viper 100
Страница 42: ...9 Viper_SC_Manual_001 5008 000_Rev12e docx Page 35 Figure 23 Setup Basic Channel Table...
Страница 44: ...9 Viper_SC_Manual_001 5008 000_Rev12e docx Page 37...
Страница 103: ......