Structure of MQTT connection instance.
#include <mqtt.h>
Data Fields | |
mqtt_callback_t | callback |
Callback interface entry. More... | |
MQTTClient * | client |
Paho Client pointer associtated with instance. More... | |
struct mqtt_config | config |
Configuration instance of MQTT module. More... | |
bool | isConnected |
Connection Status of the module instance. More... | |
Network | network |
Network structure used to store the mqtt socket information for an instance of mqtt module. More... | |
mqtt_callback_t mqtt_module::callback |
Callback interface entry.
Referenced by mqtt_connect(), mqtt_connect_broker(), mqtt_disconnect(), mqtt_publish(), mqtt_register_callback(), mqtt_subscribe(), mqtt_unregister_callback(), and mqtt_unsubscribe().
MQTTClient* mqtt_module::client |
Paho Client pointer associtated with instance.
Referenced by allocateClient(), deAllocateClient(), mqtt_connect_broker(), mqtt_disconnect(), mqtt_init(), mqtt_publish(), mqtt_subscribe(), mqtt_unsubscribe(), and mqtt_yield().
struct mqtt_config mqtt_module::config |
Configuration instance of MQTT module.
That was registered from the mqtt_init
Referenced by mqtt_connect(), and mqtt_init().
bool mqtt_module::isConnected |
Connection Status of the module instance.
Referenced by main(), mqtt_connect_broker(), mqtt_deinit(), and mqtt_disconnect().
Network mqtt_module::network |
Network structure used to store the mqtt socket information for an instance of mqtt module.
Referenced by isMQTTSocket(), mqtt_connect(), and mqtt_init().