Chengdu Ebyte Electronic Technology Co., Ltd.
NB114 User Manual
Copyright ©2012–2023
,
Chengdu Ebyte Electronic Technology Co., Ltd.
the network connection is successful, you can choose to clear the serial port cache or send
the cache through the network through configuration.
Enable: The device does not save the data received by the serial port before the
connection is established.
Disable: After the connection is established, the network will receive the data cached by
the serial port.
4.4.5.Heartbeat packet function
In the client mode, users can choose to send heartbeat packets and customize the
heartbeat packet time. The heartbeat packet can be selected from two modes: network
heartbeat packet and serial heartbeat packet. It supports sending in hexadecimal and ASCII
code. This heartbeat packet is not MQTT heartbeat. It needs to be turned off in MQTT client
mode. MQTT heartbeat only needs to be configured in "MQTT mode". It is recommended
not to configure the heartbeat packet cycle time less than 60s. For example, 120s is
recommended in Alibaba Cloud manual.
Heartbeat packet sending mode:
(
1
)
The default is to turn off heartbeat packet mode.
(
2
)
Serial heartbeat packet ->The device sends heartbeat content to the serial bus
according to the set heartbeat interval.
(
3
)
Network interface heartbeat packet ->The device sends heartbeat content to the
network interface bus according to the set heartbeat time interval.
Custom heartbeat packet content (up to 40 bytes (ASCII) data, 20 bytes (HEX) data).
Customize the heartbeat packet sending interval. If the setting value is greater than zero,
the heartbeat packet function will be turned on. When it is turned on, the range can be set:
(1-65536) seconds, and when it is turned off, it is 0.
4.4.6.Registration package function
In the client mode, users can choose to send the registration package, customize the
time of the registration package, and customize the content of the registration package (up
to 40 bytes (ASCII) data, 20 bytes (HEX) data).
The registration package supports the following modes:
(
1
)
Send MAC address when the network establishes a connection with the device
(
2
)
Send the data of the custom registration package when the network establishes