2 tcp server/client mode configuration – Senatek HELLODEVICE LITE SERIES LS100 User Manual
Page 35
35
2) Operations
The only difference from TCP server mode is that the LS100 will try to connect and send serial data to
the remote host even if the TCP session is not established. The difference from TCP client mode is
that it will accept incoming connection request from remote host if the session is not established. The
detailed operation principles are the same as that of TCP server and TCP client mode.
Established
Inactivity time-out
TCP connection request rejected
Or internal TCP time-out
TCP connection request accepted
Sync-Sent
Incoming data via serial port
Incoming data
from remote host
In-coming TCP Close request
Listen
Incoming TCP connection request
Incoming data via serial port
Sync-Recvd
Reject
Accept
Closed
Data
Figure 4-5. State Transition Diagram of TCP server/client mode
4.3.2 TCP Server/Client Mode Configuration
To configure the LS100 to work as a TCP server/client mode, use ‘set’ command as follows:
set host tcpsc listening_port dest_ip dest_port cyclic_connection_interval inactivity_timeout
where,