Microchip® Advanced Software Framework

mqtt_data Union Reference

Structure of the MQTT callback.

#include <mqtt.h>

Data Fields

struct mqtt_data_connected connected
 
struct mqtt_data_disconnected disconnected
 
struct mqtt_data_ping ping
 
struct mqtt_data_published published
 
struct mqtt_data_sock_connected sock_connected
 
struct mqtt_data_subscribed subscribed
 
struct mqtt_data_unsubscribed unsubscribed
 

struct mqtt_data_connected mqtt_data::connected
struct mqtt_data_disconnected mqtt_data::disconnected

Referenced by mqtt_disconnect().

struct mqtt_data_ping mqtt_data::ping
struct mqtt_data_published mqtt_data::published
struct mqtt_data_sock_connected mqtt_data::sock_connected

Referenced by mqtt_callback(), and mqtt_connect().

struct mqtt_data_subscribed mqtt_data::subscribed
struct mqtt_data_unsubscribed mqtt_data::unsubscribed