Microchip® Advanced Software Framework

MQTTSubscribeParams Struct Reference

MQTT Subscription Parameters.

Defines the parameters needed when subscribing to an MQTT topic.

#include <aws_iot_mqtt_interface.h>

Data Fields

iot_message_handler mHandler
 Callback to be invoked upon receipt of a message on the subscribed topic. More...
 
char * pTopic
 Pointer to the string defining the desired subscription topic. More...
 
QoSLevel qos
 Quality of service of the subscription. More...
 

iot_message_handler MQTTSubscribeParams::mHandler

Callback to be invoked upon receipt of a message on the subscribed topic.

Referenced by aws_iot_mqtt_subscribe(), main(), registerJsonTokenOnDelta(), and subscribeToShadowActionAcks().

char* MQTTSubscribeParams::pTopic

Pointer to the string defining the desired subscription topic.

Referenced by aws_iot_mqtt_subscribe(), main(), registerJsonTokenOnDelta(), and subscribeToShadowActionAcks().

QoSLevel MQTTSubscribeParams::qos

Quality of service of the subscription.

Referenced by aws_iot_mqtt_subscribe(), main(), registerJsonTokenOnDelta(), and subscribeToShadowActionAcks().