ESPHome  2024.4.0
Public Member Functions | Data Fields
esphome::mqtt::Event Struct Reference

#include <mqtt_backend_esp32.h>

Public Member Functions

 Event (const esp_mqtt_event_t &event)
 

Data Fields

esp_mqtt_event_id_t event_id
 
std::vector< char > data
 
int total_data_len
 
int current_data_offset
 
std::string topic
 
int msg_id
 
bool retain
 
int qos
 
bool dup
 
bool session_present
 
esp_mqtt_error_codes_t error_handle
 

Detailed Description

Definition at line 15 of file mqtt_backend_esp32.h.

Constructor & Destructor Documentation

◆ Event()

esphome::mqtt::Event::Event ( const esp_mqtt_event_t &  event)
inline

Definition at line 30 of file mqtt_backend_esp32.h.

Field Documentation

◆ current_data_offset

int esphome::mqtt::Event::current_data_offset

Definition at line 19 of file mqtt_backend_esp32.h.

◆ data

std::vector<char> esphome::mqtt::Event::data

Definition at line 17 of file mqtt_backend_esp32.h.

◆ dup

bool esphome::mqtt::Event::dup

Definition at line 24 of file mqtt_backend_esp32.h.

◆ error_handle

esp_mqtt_error_codes_t esphome::mqtt::Event::error_handle

Definition at line 26 of file mqtt_backend_esp32.h.

◆ event_id

esp_mqtt_event_id_t esphome::mqtt::Event::event_id

Definition at line 16 of file mqtt_backend_esp32.h.

◆ msg_id

int esphome::mqtt::Event::msg_id

Definition at line 21 of file mqtt_backend_esp32.h.

◆ qos

int esphome::mqtt::Event::qos

Definition at line 23 of file mqtt_backend_esp32.h.

◆ retain

bool esphome::mqtt::Event::retain

Definition at line 22 of file mqtt_backend_esp32.h.

◆ session_present

bool esphome::mqtt::Event::session_present

Definition at line 25 of file mqtt_backend_esp32.h.

◆ topic

std::string esphome::mqtt::Event::topic

Definition at line 20 of file mqtt_backend_esp32.h.

◆ total_data_len

int esphome::mqtt::Event::total_data_len

Definition at line 18 of file mqtt_backend_esp32.h.


The documentation for this struct was generated from the following file: