Chengdu Ebyte Electronic Technology Co., Ltd.
NB114 User Manual
Copyright ©2012–2023
,
Chengdu Ebyte Electronic Technology Co., Ltd.
Disconnection and reconnection time: the time interval between each attempt of the
device to reestablish the network.
Reconnect times: the number of times the device attempts to reestablish the network.
The cumulative number of requests reaches the preset value. If the connection is not
successful, the device will automatically restart.
The actual time to restart is the period of disconnection and reconnection times. It is
recommended to use the factory default parameters if there is no special requirement.
4.4.2.Timeout restart function
The timeout restart function (default: 300 seconds) is supported. This function is mainly
used to ensure the long-term stable operation of the equipment. If data transmission and
reception are not performed within the set timeout restart time, the equipment will restart to
avoid the impact of abnormal conditions on communication.
When the timeout restart function is turned on, the timeout restart time setting
parameter range is (60-65535) seconds.
4.4.3.Short connection function
In the client mode, the network short connection is supported (the function is turned off
by default). TCP short connection is mainly used to save server resource costs, and is
generally used in multi-point (multi-client) to one-point (server) scenarios.
The TCP short connection function is applied in the TCP Client mode. After the short
connection function is enabled, the device will only request to connect with the server when
sending information. After the connection is successful, the serial port does not receive data
or the network port does not receive data within the set time, and the device will
automatically disconnect.
When the short connection function is turned on, the short connection time setting
parameter range is (2-255) seconds.
4.4.4.Connection emptying cache function
The device is in the client mode. When the TCP connection is not established, the data
received by the serial port will be placed in the cache area. The serial port receive cache is
1024 bytes, and the data received earlier will be overwritten by more than 1024 bytes. After