Chengdu Ebyte Electronic Technology Co.,Ltd.
EBT3001 User Manual
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
20
Customize the interval for sending heartbeat packets. When it is set to 0, the heartbeat packet function is turned off. If the
setting value is greater than zero, the heartbeat packet function is turned on. When it is turned on, the range can be set:
(1-65536) seconds.
4.3.3 Registration package function
In the client mode, the user can choose to send the registration package, and set the registration package time by
definition.
The registration package supports the following modes:
(1) The MAC address (OLMAC) is sent when the network establishes a connection with the device.
(2) The data of the custom registration package sent when the network establishes a connection with the device
(OLCSTM).
(3) After the network and the device are connected, each packet of data sent by the device to the network is preceded by a
MAC address (EMBMAC).
(4) After the network and the device are connected, each packet of data sent by the device to the network is prepended
with custom registration packet data (EMBCSTM).
Custom registration package content (maximum support 40 bytes (ASCII) data, 20 bytes (HEX) data).
4.3.4 Short connection function
In client mode, short network connection is supported (this function is disabled by default). TCP short connection is
mainly used to save server resource overhead, and is generally used in multi-point (multi-client)-to-point (server)
scenarios.
In client mode, short network connection is supported (this function is disabled by default). TCP short connection is
mainly used to save server resource overhead, and is generally used in multi-point (multi-client)-to-point (server)
scenarios.
When the short link hold time is set to 0, the short link function is turned off. When the setting range is (2-255) seconds,
the short connection function is enabled, and the default hold time is 0 seconds (disabled).
4.3.5 Timeout restart function
Supports the timeout restart function (default: 300 seconds), which is mainly used to ensure the long-term stable
operation of the device. If data is not sent and received within the set timeout restart time, the device will restart to avoid
the impact of abnormal conditions on communication.
The parameter range of timeout restart time is (60-65535) seconds. If it is set to 0, it means shutdown timeout restart. The
default is 300 seconds.
4.3.6 Cache cleaning 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 buffer area. The serial port receiving buffer is 1024 bytes, and the data larger than 1024 bytes will cover the