Chengdu Ebyte Electronic Technology Co., Ltd.
NE2-D11/NE2-D12 User Manual
Copyright © 2012-2024,
Chengdu Ebyte Electronic Technology Co., Ltd.
29
support hexadecimal and ASCII code transmission. The network heartbeat packet is not MQTT
heartbeat, which is the data actively sent by the single chip microcomputer according to the
configuration situation. Network heartbeat packets run independently in two links without affecting
each other. SN, MAC, and custom content can be selected, which can be set in 0 ~ 65535 seconds.
The network heartbeat packet adopts forced heartbeat packet, that is, when the link connection is
successful, the timing starts, and after the heartbeat packet cycle time arrives, the configured content
is sent to the server. See the following figure for configuration:
If the content of the network 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.7 Registration package function
In client mode, users can choose to send registration packets to distinguish data or link sources,
and registration packets run independently in two links without affecting each other. When using,
you need to select the registration package mode, which can be selected as follows:
1. Connect sending SN;
2. Connect and send MAC;
3. Connect to send custom content;
4. Send SN per packet;
5. Send MAC per packet;
6. Send custom content per packet;
Among them, sending per packet refers to adding registration packet content before each data
packet. When setting a custom registration package, you can check the hexadecimal option. When
customizing the contents of the registry package, the maximum length of the registry package can be
configured by 128 bytes.