CSW-H85K2 User Manual Ver. 1.2
- 41 -
5.2
TCP Client
In this mode, CSW-H85K2 sends request segments to a TCP server with information of
[Peer Address] and [Peer Port]. Once a host is listening, the connection will be established.
After then, CSW-H85K2 converts the raw data from the serial port to TCP/IP data and
sends them to the network and vice versa.
5.2.1
Key parameters
⚫
Peer Address
This item is an address of TCP server.
⚫
Peer Port
[Peer Port] is a port number of TCP server.
⚫
Event Byte
This item can decide the point of time to send the connection request parameter.
Value
The point of time to send request segment
0
right after CSW-H85K2 boots up
Otherwise
(512 or under)
right after the bytes set to [Event Byte] have been received from
the serial port
Setting to less than 512 bytes is strongly recommended.
Table 5-5 the operation of Event Byte 1
In addition, you can handle the serial data before a TCP connection is established
with this parameter.
Value
Description
0
CSW-H85K2 does not send the data
Otherwise
(512 or under)
CSW-H85K2 sends the data right after a connection is
established.
Setting to less than 512 bytes is strongly recommended.
Table 5-6 the operation of Event Byte 2
⚫
Timeout
If there is no data transmission for amount of the time the connection would be
terminated.
⚫
TCP Server
This check option enables you to get to the TCP Server / Client mode. In this mode,
CSW-H85K2 can be operated as a TCP server or client without changing its settings.