ESPHome
2024.10.2
|
internal struct for MQTT credentials. More...
#include <mqtt_client.h>
Data Fields | |
std::string | address |
The address of the server without port number. More... | |
uint16_t | port |
The port number of the server. More... | |
std::string | username |
std::string | password |
std::string | client_id |
The client ID. Will automatically be truncated to 23 characters. More... | |
bool | clean_session |
Whether the session will be cleaned or remembered between connects. More... | |
internal struct for MQTT credentials.
Definition at line 48 of file mqtt_client.h.
std::string esphome::mqtt::MQTTCredentials::address |
The address of the server without port number.
Definition at line 49 of file mqtt_client.h.
bool esphome::mqtt::MQTTCredentials::clean_session |
Whether the session will be cleaned or remembered between connects.
Definition at line 54 of file mqtt_client.h.
std::string esphome::mqtt::MQTTCredentials::client_id |
The client ID. Will automatically be truncated to 23 characters.
Definition at line 53 of file mqtt_client.h.
std::string esphome::mqtt::MQTTCredentials::password |
Definition at line 52 of file mqtt_client.h.
uint16_t esphome::mqtt::MQTTCredentials::port |
The port number of the server.
Definition at line 50 of file mqtt_client.h.
std::string esphome::mqtt::MQTTCredentials::username |
Definition at line 51 of file mqtt_client.h.