Tcp Server/Client Mode Configuration - Sena HelloDevice LS100 User Manual

Hellodevice lite series
Table of Contents

Advertisement

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
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,
Sync-Sent
TCP connection request accepted
Incoming data via serial port
Incoming data
from remote host
Accept
Sync-Recvd
Incoming data via serial port
35
TCP connection request rejected
Or internal TCP time-out
In-coming TCP Close request
Inactivity time-out
Data
Reject
Incoming TCP connection request
Closed
Listen

Advertisement

Table of Contents
loading

Table of Contents