Chengdu Ebyte Electronic Technology Co., Ltd.
NE2-D11/NE2-D12 User Manual
Copyright © 2012-2024,
Chengdu Ebyte Electronic Technology Co., Ltd.
28
When the short connection function is turned on, the short connection time setting parameter
ranges from (1-65535) seconds.
4.4.5 Connect to empty 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 buffer area. The serial port receiving buffer is 1024 packets or
10k, which will cover the earliest received data after being larger than the buffer space. After the
network connection is successful, the serial port buffer can be emptied or sent through the network
through configuration.
Enabled: The device does not save the data received by the serial port before the connection is
established.
Disabled: After the connection is established, the network will receive the data cached by serial
port.
4.4.6 Heartbeat pack function
The device supports serial heartbeat packet and network heartbeat packet. Serial heartbeat packet
data points to serial port and network heartbeat packet points to network, which can be set separately.
4.4.6.1 Serial heartbeat packet
Serial heartbeat packet data points to serial port, which can be set in serial port parameters. SN,
MAC, and custom content can be selected, which can be set in 0 ~ 65535 seconds. Serial heartbeat
packet adopts idle heartbeat packet, that is, when the idle time of serial port starts timing, after the
time of serial heartbeat packet arrives, the configured content is sent to serial port. See the following
figure for configuration:
If the content of the serial heartbeat packet is configured as custom data, the heartbeat packet can
be configured with a maximum length of 128 bytes. After checking hexadecimal beneficiation, the
sent data is hexadecimal data.
4.4.6.2 Network heartbeat packet
Network Heartbeat packets are suitable for Ethernet links, only effective in client mode, and