Skip to content
Was this article helpful?

MQTT_UNSUBACK_RCODE_FILTER_T


This class provides operations for describing the reason code in the MQTT UNSUBACK message

This topic lists the expressions that are provided by this class.

COUNT

Return the number of topics for which reason codes were received in the MQTT UNSUBACK message. Valid for MQTT version 5 onwards.

Returns: num_at


REASON_CODE

Return the reason code for the first topic in the MQTT UNSUBACK message. Valid for MQTT version 5 onwards.

Returns: num_at


REASON_CODE (uint index)

Return the reason code for the topic indexed at index in the MQTT UNSUBACK message. Valid for MQTT version 5 onwards.

Parameters:

index- REASON_CODE index

Returns: num_at


Was this article helpful?