SENA PS400 User Manual

Page 30

Advertising
background image

30

A factory default host mode is TCP Server, and users can select the mode by using the menu,

Serial Port Configuration–host mode Configuration–Host mode

.

---------------------------------------------------------------------------

serial configuration -->port#1 --> TCP/IP

---------------------------------------------------------------------------

Select menu
1. Host mode : TCP Server
2. Local port : 6000

<ESC> Back, <ENTER> Refresh

-----> 1

Select host mode

1 = TCP Server, 2 = TCP Client, 3 = TCP Server / Client

4 = UDP Server / Client, 5 = modem emulation

----->

Figure 4-3. Set up Host Mode

For easier understanding of TCP modes, a simplified State Transition Diagram is often used. And

too help users understand the diagram, the TCP state of the HelloDevice Pro Series is briefly

described as follows.

- Listen

It represents “a waiting for a connection request from any remote host”. It is a default start-up

mode when it is set as TCP server mode. This state is valid only in TCP server mode operation.

- Closed

It means “No connection state at all”. If the data transfer is completed, the state is changed to this

state if one of the host requests disconnection request. If it is in TCP server mode, the state is

automatically changed to [Listen] mode. It is a default start-up mode when it is set as TCP client

mode or TCP server/client mode.

- Sync-Received

In TCP server mode, the state will be changed from [Listen] to [Sync-Received], if any remote

host sends connection request. If the HelloDevice Pro Series accepts the request, the state will be

changed into [Established]. This state is not valid in TCP client mode.

- Sync-Sent

If the HelloDevice Pro Series sends a connection request to a remote host, the state is changed

from [Closed] to [Sync -Sent]. This state is maintained until the remote host accepts the

connection request. This state is valid only in TCP client mode.

- Established

It represents “an open connection”. If one of the hosts accepts a connection request from the

other host, the connection is opened and state is changed into [Established].

Advertising