EasyManua.ls Logo

Quectel BG96 - BG96 Electrical and Radio Characteristics; Absolute Maximum Ratings and Power Supply

Quectel BG96
90 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
EMQPUBCLOSE remove a publish message topic
Remove a publish message topic.
Type Syntax Returned Result
Test
AT+EMQPUBCLOSE=? OK
+EMQPUBCLOSE:(0-7)
Read
AT+EMQPUBCLOSE? OK
or
ERROR
Write
AT+EMQPUBCLOSE=(0-7)
where:
(0-7) is a publish index number in the
range from 0, up to and including 7. You
must have already published a topic to the
selected index number, or the command
will return an error.
OK
+EMQPUBCLOSE:(0-7),<status>
or
ERROR
+EMQPUBCLOSE:(0-7),<status>
where:
(0-7) is the publish index number
you selected from the range
status is either:
0 subscription cancelled
successfully
-1 broker returned an
unsubnack
-2 no topic was registered
for the given index
Check you have sent the
AT+ETMSTATE=startmqtt command
to enable MQTT.
Example:
AT+EMQPUBCLOSE=0
OK
+EMQPUBCLOSE: 0,0
Eseye-enabled Quectel BG96 module Developer Guide v1.8
50
MQTT telemetry ATcommands

Table of Contents

Other manuals for Quectel BG96

Related product manuals