ESPHome  1.10.1
Data Structures | Namespaces | Typedefs | Enumerations | Variables
mqtt_client_component.h File Reference

Go to the source code of this file.

Data Structures

struct  mqtt::MQTTMessage
 internal struct for MQTT messages. More...
 
struct  mqtt::MQTTSubscription
 internal struct for MQTT subscriptions. More...
 
struct  mqtt::MQTTCredentials
 internal struct for MQTT credentials. More...
 
struct  mqtt::Availability
 Simple data struct for Home Assistant component availability. More...
 
class  mqtt::MQTTPublishAction< T >
 
class  mqtt::MQTTPublishJsonAction< T >
 
struct  mqtt::MQTTDiscoveryInfo
 Internal struct for MQTT Home Assistant discovery. More...
 
class  mqtt::MQTTClientComponent
 
class  mqtt::MQTTMessageTrigger
 
class  mqtt::MQTTJsonMessageTrigger
 
class  mqtt::MQTTPublishAction< T >
 
class  mqtt::MQTTPublishJsonAction< T >
 

Namespaces

 mqtt
 

Typedefs

using mqtt::mqtt_callback_t = std::function< void(const std::string &, const std::string &)>
 Callback for MQTT subscriptions. More...
 
using mqtt::mqtt_json_callback_t = std::function< void(const std::string &, JsonObject &)>
 

Enumerations

enum  mqtt::MQTTClientState { mqtt::MQTT_CLIENT_DISCONNECTED = 0, mqtt::MQTT_CLIENT_RESOLVING_ADDRESS, mqtt::MQTT_CLIENT_CONNECTING, mqtt::MQTT_CLIENT_CONNECTED }
 

Variables

MQTTClientComponent * mqtt::global_mqtt_client