Chengdu Ebyte Electronic Technology Co.,Ltd.
NA111-A User Manual
Copyright©2012–2021Chengdu Ebyte Electronic Technology Co.,Ltd.
19
4.4.3 Short connection
Supports short network connections (which are turned off by default),and TCP short
connections are primarily used to save server resources overhead and are typically used in multipoint
(multi-client)-to-one (server) scenarios.
TCP short connection function is applied to TCP Client mode, after turning on the short
connection function, only when sending information request to connect to the server, after the
connection is successful, in the set time serial port did not receive the guide data or the network port
no data send and receive, the device will automatically disconnect. It is important to note that in the
case of disconnection, the first packet of data sent activates the short connection mechanism and the
first frame of data is lost.
Short Link Hold Time turns off the short connection feature when set to 0.
When you set the
range to (2-255)seconds, the short connection function is turned on and the default hold time is 0
seconds.
Note: Short connections only work in client mode, and server mode does not take effect.
4.4.4 Time-out restart function
Supports time-out restart (default:300 seconds), which is primarily used to ensure long-term
stable operation of the device, no data transceiver within the set time-out restart time, and the device
will restart to avoid the impact of unusual conditions on communication.
Time-out re-start time The parameter range(60-65535)is configured to 0 to indicate a
shutdown time-out restart. The default is 300 seconds.
4.4.5 Cache cleanup
When a TCP connection is not established, the data received by the serial port is placed in the
cache, which is 512 bytes, and when the network connection is successful, you can choose to empty
the serial cache or send the cache over the network.
Enable: The device does not save the data received by the serial port before the connection is
established.
Disabled: The network will receive serial cached data after the connection is established.