9.10.1.4 +MQTTSUBLST

This is used to list MQTT topic subscriptions.

Security – Default Security for the command is: GGGG

Table 9-72. Command Syntax

Command

Description

Security

AT+MQTTSUBLST

List subscriptions

GGGG

Table 9-73. Command Parameter Syntax

Parameter Name

Type

Description

<TOPIC_NAME>

String

Topic name

<MSG_ID>

Integer

Message identifier

Unsigned 16-bit value

<LENGTH>

Integer

The number of bytes to receive

Unsigned 16-bit value

Table 9-74. Response Syntax
ResponseDescription
+MQTTSUBRD:<MSG_ID>,<MSG_LENGTH>,<TOPIC_PAYLOAD>Read subscribed data
Table 9-75. Response Element Syntax

Element Name

Type

Description

<MSG_ID>

Integer

Message ID

<MSG_LENGTH>

Integer

Length of message
<TOPIC_PAYLOAD>StringTopic payload