9.10.2.8 +MQTTSUBRX

Receive subscribed data.

Table 9-112. AEC Syntax

AEC

Description

+MQTTSUBRX:<DUP>,<QOS>,<RETAIN>,<TOPIC_NAME>,<TOPIC_PAYLOAD>

Received subscribed data

+MQTTSUBRX:<DUP>,<QOS>,<RETAIN>,<TOPIC_NAME>,<MSG_ID>,<MSG_LENGTH>Received subscribed data notification
Table 9-113. AEC Element Syntax

Element Name

Type

Description

<DUP>

Integer

Duplicate Message
  • 0 – New message
  • 1 – Duplicate message

<QOS>

Integer

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

<RETAIN>

Integer

Retain Message
  • 0 – Not retained on the server
  • 1 – Retained on the server

<TOPIC_NAME>

String

Topic Name

<TOPIC_PAYLOAD>

String

Topic Payload

<MSG_ID>IntegerMessage ID
<MSG_LENGTH>IntegerLength of message