Ebyte EA01-S User Manual page 16

Nb-iot module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd
change. If the domain name does change, it can be modified through comamnd.
(2) Configuration parameter description:
<addr>: It is the IP address or domain name of the server, the maximum length is 50 bytes.
<port>: It is the port of the server.
3.14.4 Three elements configuration of MQTT connection
AT command
AT+MQTTCONN=<value0>,<value1>,<value2>\r\n
AT+MQTTCONN \r\n
The length of each of the three elements is no more than 40 bytes.
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.14.5 MQTT subscription topic configuration
AT command
AT+MQTTSUBTOP=< topicName>,<qos>\r\n
AT+MQTTSUBTOP \r\n
<topicName>: A string within 200 bytes of the content of the subscription topic.
<qos>: The quality of service supports qos=0, qos=1, qos=2.
3.14.6 MQTT publish topic configuration
AT command
AT+MQTTPUBTOP=< topicName>,<qos>\r\n
AT+MQTTPUBTOP \r\n
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co., Ltd
Response
OK
OK
<value0>
<value1>
<value2>
Response
OK
OK
qos:< qos >
< topicName>
Response
OK
OK
qos:< qos >
< topicName>
EA01-S User Manual
15

Advertisement

Table of Contents
loading

Table of Contents