Download NEMO10 / NEMO10

Transcript
[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 NEMO10 is always connected to the specified remote host.
2) Operations
The only difference from TCP server mode is that the NEMO10 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.
TCP connection request rejected
Or internal TCP time-out
Sync-Sent
In-coming TCP Close request
TCP connection request accepted
Inactivity time-out
Incoming data via serial port
Data
Established
Incoming data
from remote host
Closed
Accept
Reject
Listen
Sync-Recvd
Incoming TCP connection request
Incoming data via serial port
Figure 4-5 State Transition Diagram of TCP server/client mode
39