Microchip® Advanced Software Framework

MQTTCallbackParams Struct Reference

MQTT Callback Function Parameters.

Defines a type for parameters returned to the user upon receipt of a publish message on a subscribed topic.

#include <aws_iot_mqtt_interface.h>

Data Fields

MQTTMessageParams MessageParams
 Message parameters structure. More...
 
char * pTopicName
 Pointer to the topic string on which the message was delivered. In the case of a wildcard subscription this is the actual topic, not the wildcard filter. More...
 
uint16_t TopicNameLen
 Length of the topic string. More...
 

MQTTMessageParams MQTTCallbackParams::MessageParams

Message parameters structure.

Referenced by AckStatusCallback(), MQTTcallbackHandler(), pahoMessageCallback(), and shadow_delta_callback().

char* MQTTCallbackParams::pTopicName

Pointer to the topic string on which the message was delivered. In the case of a wildcard subscription this is the actual topic, not the wildcard filter.

Referenced by AckStatusCallback(), MQTTcallbackHandler(), and pahoMessageCallback().

uint16_t MQTTCallbackParams::TopicNameLen

Length of the topic string.

Referenced by MQTTcallbackHandler(), and pahoMessageCallback().