CSW-M85 User’s Manual Ver. 1.6
Sollae Systems Co., Ltd.
- 36 -
http://www.sollae.co.kr
5.2
TCP Client
In this mode, CSW-M85 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-M85 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 the port number of TCP server.
Event Byte
This item can decide the point of time to send the connection request parameter.
Table 5-5 the operation of Event Byte 1
Value
The point of time to send request segment
0
right after M85 boots up
Otherwise
(512 or under)
Right after the bytes set to [Event Byte] have been received from
the serial port
512 or under bytes are strongly recommended.
In addition, you can handle the serial data before a TCP connection is established
with this parameter.
Table 5-6 the operation of Event Byte 2
Value
Description
0
CSW-M85 doesn’t send the data
Otherwise
(512 or under)
CSW-M85 sends the data right after a connection is established.
512 or under bytes are strongly recommended.
Timeout
If there is no transmission of data 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-M85 can be operated as a TCP server or client without changing its setting.
DNS IP Address
[DNS IP Address] is needed when you use host name instead of the IP address.