Registration Packet Function Configuration - Ebyte EA01-S User Manual

Nb-iot module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd
periodic heartbeat packet must be sent in transmission mode.
(2) Configuration parameter description:
<mode>: 0 means to turn off the periodic sending of heartbeat packet function, used in standby sleep or deep sleep
application scenarios, only after serial port wakes up manually by setting AT+SENDHEART=1 to send heartbeat packets;
1 means to send heartbeat packets to the network side server , If <pdu_type> select TCP/UDP, send TCP/UDP heartbeat
packet, select MQTT, send MQTT heartbeat packet (the serial port will print "PINGRESP" after sending successfully),
select Ebyte Cloud, send Ebyte Cloud heartbeat packet; 2 means the local serial port prints heartbeat packets.
<period>: It indicates the heartbeat period of the heartbeat packet, the range is 1-65535, the unit is 500ms, the default
value is 120, which means 120*500ms=60s, this parameter AT+NRB restarts to take effect.
Note: When power-off saving is required, input AT+NRB command will save the parameters to the flash, and the
automatic restart will take effect.

3.12 Registration packet function configuration

3.12.1 Registration packet mode configuration
AT command
AT+REGMOD=<mode>\r\n
AT+REGMOD\r\n
<mode>: 0 means to close the registration packet, 1 means to add the IMEI registration packet before each packet of
data sent, 2 means to add a custom registration packet before each packet of data sent, 3 means only to send an IMEI
registration packet when connecting to the server at the first timef; 4 means only send a custom registration packet when
connecting to the server at the first time.
Note: When power-off saving is required, input AT+NRB command will save the parameters to the flash, and the
automatic restart will take effect.
3.12.2 Registration Packet content configuration
AT command
AT+REGINFO=<type>,<data>\r\n
AT+REGINFO \r\n
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co., Ltd
Response
OK
OK
mode: <mode>
Response
OK
OK
< data >
EA01-S User Manual
12

Advertisement

Table of Contents
loading

Table of Contents