46
C
HAPTER
3: C
ONFIGURING
THE
B
RIDGE
Configuring Network
Serial Port Settings
Applications utilizing a network serial port between an RS-232 interface
and a wireless device use a TCP/IP socket connection. Any program that
uses standard TCP/IP network sockets may be used to communicate with
the serial port of the Bridge. Once a socket is established to the Bridge,
any data written to the socket is sent out the serial port of the Bridge. At
the same time, any data received by the serial port of the Bridge is
returned via the socket connection.
The Bridge network serial port may be used in two modes:
■
Server Mode — TCP Listen Port
■
Client Mode — TCP Connect Port
In
Server Mode
, the Bridge waits for a TCP/IP socket connection to be
made by the network program with which it will communicate.
Server Mode should be used if you have a central server that expects to
open a TCP/IP socket connection to the Bridge.
In
Client Mode
, the Bridge establishes a socket connection to the
IP address and port number specified in the configuration. Client Mode
should be used if your system expects the Bridge to open a TCP/IP socket
connection to a central server.
For Server Mode, click
Server Mode
and enter the port number to which
the Bridge connects in the
List on port
field. The default port number is
4000.
Data Bits
The data bits setting determines the
number of bits used to transmit a
character.
8
Parity
The parity determines the parity
checking scheme.
None
Stop Bits
The stop bits setting determines the
number of bits used to represent an
end of a character.
1
Flow Control
Flow control is the process of adjusting
the flow of data from one device to
another to ensure the receiving device
can handle all of the incoming data.
None
Table 16
UART Settings
Setting
Description
Default