9.10.1.11 +MQTTPROPRX

This command is used to read the MQTT receive properties. This command is a configuration command which supports setting and getting parameter values. The behaviour of configuration commands is described in general in the Configuration Commands section.

Any defined properties are added to transmitted MQTT packets. Only properties applicable to the MQTT packet type are added.

Any properties received are added to the list of available receive properties which can be queried by this command. Updates to the received properties are announced using the +MQTTPROPRX AEC and can be read via this command.
Note: Not all properties listed below may be available in any implementation of this command set.

User property (38) supports multiple entries in the form of key/value pairs.

Security – Default Security for the command is: GGGG

Table 9-92. Command Syntax

Command

Description

Security

AT+MQTTPROPRX

Query all configuration elements

GGGG

AT+MQTTPROPRX=<ID>

Query a single element

GGGG

Table 9-93. Command Parameter Syntax

Parameter Name

Type

Description

<ID>

Integer

Parameter ID number

Table 9-94. Response Syntax

Response

Description

+MQTTPROPRX:<ID>,<VAL>

Read response

+MQTTPROPRX:<ID>,<KEY>,<VALS>

Read response (key/value)

Table 9-95. Response Element Syntax

Element Name

Type

Description

<ID>

Integer

Parameter ID number

<VAL>

Any

Parameter value

<KEY>

String

Parameter key

<VALS>

String

Parameter value

Table 9-96. Configuration Parameters

ID

Name

Type

Description

Security

17

<SESSION_EXPIRY_INTERVAL>

Integer (Read Only)

Session Expiry Interval

GGGG

34

<TOPIC_ALIAS_MAX>

Integer (Read Only)

Topic Alias Max

GGGG

38

<USER_PROP>

Byte Array (Read Only)

User Property

This is a multiple value parameter with the range 38.0-38.9

GGGG