Chapter 5 Advanced Features; Heartbeat Package And Registration Package; Heartbeat Package; Registration Package - Ebyte NB124E User Manual

Dual serial port server
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd

Chapter 5 Advanced Features

5.1 Heartbeat package and registration package

5.1.1 Heartbeat package

In client mode, users can choose to send heartbeat packets and customize the heartbeat packet
time. The heartbeat packet can choose network heartbeat packet and serial port heartbeat packet. It
supports hexadecimal and ASCII code sending. This heartbeat packet is not MQTT heartbeat. It
needs to be closed when using MQTT client mode. MQTT heartbeat can only set the "heartbeat
period" in the "MQTT parameter configuration" column. The content of the MQTT heartbeat packet
is restricted by the protocol and cannot be configured. It is recommended not to configure it for less
than 60s. For example, the Ali cloud manual recommends using 120s.
Heartbeat packet sending mode:
1. The default is to turn off the heartbeat packet mode.
2. Serial mode -> The device sends heartbeat content to the serial bus according to the set
heartbeat time interval.
3. Network port mode -> The device sends heartbeat content to the network port bus
according to the set heartbeat time interval.
Customize the content of the heartbeat packet (support up to 40 bytes (ASCII) data, 20 bytes
(HEX) data)
Customize the heartbeat packet sending time interval. When it is set to 0, the heartbeat packet
function is turned off. When the value is greater than 0, the heartbeat packet function is turned on.
When it is turned on, the range can be set: (1-65536) seconds, and the default value is 0.

5.1.2 Registration package

In the client mode, the user can choose to send the registration package and customize the
registration package time.
The registration package supports the following modes:
1. The MAC address (OLMAC) is sent when the network establishes a connection with the
device.
2. When the network establishes a connection with the device, the data of the custom
Copyright ©2012–2023,
Chengdu Ebyte Electronic Technology Co.,Ltd
NB124E_User Manual

Advertisement

Table of Contents
loading

Table of Contents