Tcp Client Mode Configuration - Sena HelloDevice LS100 User Manual

Hellodevice lite series
Table of Contents

Advertisement

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.
Cyclic connection
interval time-out
Sync-Sent
TCP connection request accepted
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,
Incoming data via
serial port
TCP connection request rejected
Or
internal TCP timer is expired
Incoming data via
Established
from remote host
Closed
Incoming TCP
disconnection request
serial port
Data
Incoming data
33
Inactivity time-out

Advertisement

Table of Contents
loading

Table of Contents