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
Содержание N11 V2
Страница 1: ...N11 V2 AT Command Manual Issue 1 0 Date 2018 10 19 Neoway Product Document...
Страница 15: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 7 OK Remarks The default status setting is 7...
Страница 129: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 121 not support proactive time issuing...
Страница 134: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 126...