Chengdu Ebyte Electronic Technology Co.,Ltd.
NA111 User Manual
Copyright ©2012–2021
,
Chengdu Eyrth Electronic Technology Co., Ltd
18
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 resource 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 no data sent and
received at the gate, 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.
Turn off the short connection feature when the short link hold time is set to 0. When the setting
range is (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, which does not take effect.
4.4.4 Time-out restart function
Supports time-out restart function (default: 300 seconds), which is mainly used to ensure long-
term stable operation of the device, in the set time-out restart time did not send and receive data, the
device will restart operation, so as to avoid abnormal circumstances on the communication.
Time-out restart time parameter range (60-65535) seconds, configured as 0 to indicate shutdown
time-out restart. The default is 300 seconds.
4.4.5 Cache cleanup
When the TCP connection is not established, the data received by the serial port will be placed
in the cache, the serial receiving cache is 512 bytes, after the network connection is successful, you
can choose to empty the serial cache through the configuration 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.