书
Copyright©2012–2022,成都亿佰特电子科技有限公司
14
data packet. The data of the registration package can be MAC address or user-defined registration data, wherein the
setting content of the user-defined registration package can be up to 128 bytes. Support custom registration
package;
Establishing a connection and sending a registration package is mainly used to connect to a server that needs to be
registered.
Data carrying registration package: Send data to access the registration package at the front end of the data, which
is mainly used for protocol transmission.
The registration packet mechanism is only applicable to TCP Client and UDP Client, and is invalid under TCP
Server and UDP Server.
4.2.3. Short connection
The use of TCP short connections is mainly to save server resources, and is generally used in multi-point-to-point
scenarios. Using short connections ensures that all existing connections are useful connections, and no additional
control means are required for screening.
The TCP short connection function is used in the TCP Client mode. After the short connection function is enabled,
the information is sent. If there is no data received from the serial port or network port within the set time, the
connection will be automatically disconnected. The short connection function is turned off by default, and the
disconnection time can be set after the function is turned on. The setting range is 2~255S.
4.2.4. Timeout restart
The timeout restart (no data restart) function is mainly used to ensure the long-term stable operation of the
ECAN-E01S. When the network port cannot receive data for a long time, or the network has not received data for a
long time, the ECAN-E01S will restart after the set time is exceeded. , so as to avoid the abnormal situation
affecting the communication. The timeout restart time can be set by the host computer. The normal working time of
this function is set to 60~65535S, and the default value is 300S. 0 is off, when the setting is out of range, it will
return to the default value.