3 tcp client mode operations – SENA LS110 User Manual

Page 29

Advertising
background image

29

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

Welcome to LS110 Configuration Page
Serial No. : LS

MAC Address

: 00:01:95:FF:DC:A9

F/W REV.

: v0.4.8

IP Mode

: Static IP

IP Address

: 192.168.23.12

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

Console#1 (Serial) : Available
Console#2 (Telnet) : Available
Console#3 (Telnet) : Connected

-------------------------------------------------------------------------------
1. IP configuration
2. Serial port configuration
3. System information
4. System administration
5. Save changes
6. Exit without reboot
7. Save and reboot

<ESC> Back, <ENTER> Refresh

---> 2

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

Serial port configuration

-------------------------------------------------------------------------------
1. Baud rate : 9600
2. Data bits : 8
3. Parity : None
4. Stop bit(s) : 1
5. Flow control : Hardware
6. Inter-character timeout : 0
7. Host mode : Telnet Server
8. Local port : 6001
9. Inactivity timeout : 0
10. DTR behavior : Always HIGH
11. DSR behavior : None
12. Allowed IP : 0.0.0.0
13. Allowed subnet : 0.0.0.0

<ESC> Back, <ENTER> Refresh

---> 8

Enter local port number
--->

Figure 4-2 Changing Local TCP Port number

4.1.3 TCP Client Mode Operations

The LS110 acts as a TCP client, and the default TCP state is [Closed] in this mode. The remote host

will be either Ethernet-Serial communication devices acting as a TCP server or a socket program

acting as a TCP server running on users’ PC.

1) Typical State Transition

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

At start-up, an initial TCP state is [Closed]. If there is any incoming data through the serial port, the

LS110 will try to connect to a user-defined remote host. Then, the state will be changed to [Sync-Sent],

Advertising