C
hengdu Ebyte Electronic Technology Co., Ltd
Copyright ©2012–2020
,
C
hengdu Ebyte Electronic Technology Co., Ltd
11
<on-off>: It means opening or closing socket 0, 1 means open, 0 means closed.
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.11 Heartbeat packet function configuration
3.11.1 Configure TCP/UDP heartbeat packet content
AT command
Response
AT+HEARTINFO=<type>,<data>\r\n
OK
AT+HEARTINFO \r\n
<data>
OK
<type>: 0 indicates that the heartbeat packet type is in HEX format, and 1 indicates that the heartbeat type is in ASCII
code (string) format.
<data>: The data content of the heartbeat packet, the maximum length is less than 40, and the default value is "Ebyte
nbiot heart rate data".
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.11.2 Send heartbeat packet command
AT command
Response
AT+SENDHEART=<send>\r\n
OK
(1) Input AT command AT+SENDHEART=1, then the heartbeat packet can be sent.
(2) If <pdu_type> is selected as TCP/UDP, the TCP/UDP heartbeat packet will be sent, if it is MQTT, the MQTT
heartbeat packet will be sent ("PINGRESP" will be printed on the serial port after successful transmission), and if it is
Ebyte Cloud, the Ebyte Cloud heartbeat packet will be sent.
3.11.3 Heartbeat packet mode and heartbeat cycle configuration
AT command
Response
AT+HEARTMOD=<mode>,<period>\r\n
OK
(1) This command is used to realize the function of sending heartbeat packets periodically. The function of sending
heartbeat periodically is mainly used in DTU function scenarios (no low power consumption requird). To set the
periodic heartbeat function, you first need to set AT+DTUUSER=1 and AT+NRB to save after power-off, that is, the
Содержание EA01-S
Страница 1: ...EA01 S User Manual NB IoT Module ...