9.10.1.5 +MQTTSUBRD

This is used to receive data from subscriptions.

Security – Default Security for the command is: GGGG

Table 9-76. Command Syntax

Command

Description

Security

AT+MQTTSUBRD=<TOPIC_NAME>,<MSG_ID>,<LENGTH>

Receive data from a topic

GGGG

Table 9-77. Response Syntax
ResponseDescription
+MQTTSUBLST:<TOPIC_NAME>,<QOS>Subscription report
Table 9-78. Response Element Syntax

Element Name

Type

Description

<TOPIC_NAME>

String

Topic name

<QOS>

Integer

QoS
  • 0 – QoS 0
  • 1 – QoS 1
  • 2 – QoS 2