2 tcp client mode configuration – Senatek HELLODEVICE LITE SERIES LS100 User Manual

Page 33

Advertising
background image

33

after the connection is established. Eventually, users can monitor the serial device periodically by

making the remote host send the serial command to the LS100 whenever it is connected to the

remote host. This option is useful when users need to gather the device information periodically

even if the serial device does not send its data periodically. Figure 4-3 shows the State Transition

Diagram of the session operations in TCP client mode.

Established

Closed

Data

Incoming data via

serial port

Inactivity time-out

TCP connection request rejected

Or

internal TCP timer is expired

TCP connection request accepted

Sync-Sent

Incoming data via

serial port

Incoming data

from remote host

Incoming TCP

disconnection request

Cyclic connection

interval time-out

Figure 4-3. State Transition Diagram of TCP client mode

4.2.2 TCP Client Mode Configuration

To configure the LS100 to work as a TCP client, use set command as follows:

set host tcpc dest_ip dest_port cyclic_connection_interval inactivity_timeout + <CR>

where,

Advertising