2 inactivity timeout – SENA LS110 User Manual
Page 44
44
-------------------------------------------------------------------------------
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 : TCP Client
8. Destination IP : 192.168.23.30
9. Destination port : 7001
10. Inactivity timeout : 0
11. Cyclic connection : 0
12. DTR behavior : Always HIGH
13. DSR behavior : None
14. Allowed IP : 0.0.0.0
15. Allowed subnet : 0.0.0.0
<ESC> Back, <ENTER> Refresh
---> 13
Select behavior on DSR input
1 = None
2 = Allow TCP connection only by HIGH
(TCP server or corresponding mode only)
3 = Open/Close TCP connection
(Open = HIGH, Close = LOW, TCP client or corresponding mode only)
--->
Figure 4-14 Set up the DSR output behavior
4.3.2 Inactivity Timeout
The purpose of this parameter is to maintain the TCP connection state as Closed or Listen in TCP host
modes or to close UDP virtual connection in UDP server mode unless there is any data transfer
between the serial device and the LS110. If there is no incoming or outgoing data through the serial
port during the specified inactivity timeout interval, the existing TCP connection or virtual UDP
connection will be closed automatically.
If the value of inactivity timeout is set to 0 and the host mode is set to one of the TCP modes, the
current TCP connection is maintained unless there’s a connection close request. Although inactivity
timeout is disabled, the LS110 will check the connection status between the LS110 and the remote
host by sending “keep alive” packets periodically. If the remote host does not answer the packets, it is
regarded as a unintentional closed connection. Then, the LS110 will be forced to close the existing
TCP connection.
If the value of inactivity timeout is set to 0 and the host mode is set to UDP server mode, virtual UDP
connection with the first remote host that sends UDP packet to the LS110 will be maintained forever till
device is rebooted.