EasyManua.ls Logo

Neoway N11 V2 - Unsubscribing a Message (+IMQTTUNSUB)

Neoway N11 V2
134 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...
N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
109
<CR><LF>OK<CR><LF>
<Topic>: Topic to be published
<Qos>: QoS value, ranging from 0 to 2
<Message>: message to be published
[format]: message format
0: normal character strings
1: character string in hexadecimal format
Optional, the default value is 0
[fragment_id]: fragment ID of long message.
Optional, the default value is 0
Example
+IMQTTRCVPUB=24761,/test_topic_001,5,hello
OK
The module reports
message received in an
unsolicited manner.
Remarks
The module reports message received in an unsolicited manner after it receives
the message.
16.9 Querying MQTT Connection Status: +IMQTTSTATE
Description
To query the status of the MQTT connection.
Format
AT+IMQTTSTATE?<CR>
Parameter
N/A
Return Value
<CR><LF>+IMQTTSTATE:<state>
<CR><LF>OK<CR><LF>
<state>: MQTT connection state
0: MQTT disconnected
1: Reserve
2: MQTT connected
Example
AT+IMQTTSTATE?
+IMQTTSTATE:2
OK
The device was connected to the
MQTT server.
Remarks
N/A

Table of Contents

Related product manuals