
Type
Syntax
Returned Result
•
<
topic
>
is the subscribe topic title
with a maximum length of 246
characters. Topic titles cannot
contain special characters.
•
<status>
is:
•
0
– successfully installed the
subscribe topic
•
-1
– AWS rejected the
subscribe request
•
-2
– socket already in use
or
ERROR
– the command failed. Check you
have sent the
AT+ETMSTATE=startmqtt
command to enable MQTT.
Example:
AT+EMQSUBOPEN=1,SubscribeFromCloud1
OK
+EMQSUBOPEN: 1,0
AT+EMQSUBOPEN?
OK
+EMQSUBOPEN topics:
0 SubscribeFromCloud0
1 SubscribeFromCloud1
53
Eseye-enabled Quectel BG96 module Developer Guide v1.8
MQTT telemetry AT commands