SENA LS100 User Manual

Page 35

Advertising
background image

35

[Listen] --> [Sync-Sent] --> [Established] --> [Data] --> [Closed] --> [Listen]

The initial state is [Listen]. If there are data coming from the serial port, it will connect to the remote

host as a TCP client. If there is incoming connection request from the remote host, it will accept the

connection as a TCP server, and then transfer data through the serial port. Thus, users can assume

that the LS100 is always connected to the specified remote host.

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

Advertising