Shanghai ZLAN Information Technology Co., Ltd
Tel: +86-17321037177
http://www.zlmcu.com
52
ZLAN 5143 series supports the "transcoding" function, which can write a
transcoding configuration table for the serial server, so as to realize the
user's fully customized registration package, and can use MAC address
wildcard, can solve the trouble of writing a custom registration package for
each device, and there is no limit on the length of the registration package.
Specific use method can consult ZLAN about "transcoding" function
configuration, or refer to “10 Transcoding Function”.
8.2 The Heartbeat Packets
Heartbeat packet is mainly used to detect whether the communication link is
disconnected. The implementation method is that the device sends a heartbeat
packet data to the server software every once in a while, which will be discarded
by the server after receiving and will not be regarded as valid data for
communication.
Heartbeat packet has two main functions: first, it can let the upper computer
software know that the device is in the active state; Secondly, if the device fails to
send a heartbeat, the device on the TCP client will automatically re-establish a
TCP connection, so it is a means to restore network communication.
FIG. 42 Keep-alive time
As shown in figure 42, the sending time of the heartbeat packet is set by the "Keep
alive time".
8.2.1 Implied Heartbeat