![Telit Wireless Solutions WE866E4-P At Commands Reference Manual Download Page 111](http://html1.mh-extra.com/html/telit-wireless-solutions/we866e4-p/we866e4-p_at-commands-reference-manual_1083755111.webp)
WE866E4-P AT Commands Reference Guide
80572ST10887A Rev. 0.0
111
2018-02-16
PRELIMINAR
Y
Response
, describes the responses and remarks for MQTT Publish command.
Table 233 MQTT Publish Parameters
Parameters Mandatory/Optional
Value
Description
CID
Mandatory
Value range:
0-15
Format:
Integer
Default value:
N/A
It specifies the connection ID after MQTT
connect command.
QOS
Mandatory
Value range:
0-15
Format:
Integer
Default value:
N/A
It specifies the level of assurance to
delivery the application message.
Retain Flag Mandatory
Value range:
0,1
Format:
Integer
Default value:
0
1- specifies the Server MUST store the
Application Message and its QoS, so that it
can be delivered to future subscribers
whose subscriptions match its topic name.
0- specifies, the Server MUST NOT store
the message and MUST NOT remove or
replace any existing retained message.
Message ID Mandatory
Value range:
0-65535
Format:
Integer
Default value:
N/A
It specifies the ID of the message to be sent
along with message being published.
Topic Name Mandatory
Value range:
0-65535
Format:
String
Default value:
N/A
It identifies the endpoint to which payload
data is published.
Data
Mandatory
Value range:
0-1460
Format:
Integer
Default value:
N/A
It specifies the length of the data.
Table 234 MQTT Publish Response
Responses
Remarks
OK
Success.
ERROR
If parameter is not valid.