#include <mqtt_backend_esp8266.h>
|
void | set_keep_alive (uint16_t keep_alive) final |
|
void | set_client_id (const char *client_id) final |
|
void | set_clean_session (bool clean_session) final |
|
void | set_credentials (const char *username, const char *password) final |
|
void | set_will (const char *topic, uint8_t qos, bool retain, const char *payload) final |
|
void | set_server (network::IPAddress ip, uint16_t port) final |
|
void | set_server (const char *host, uint16_t port) final |
|
void | set_secure (bool secure) |
|
void | add_server_fingerprint (const uint8_t *fingerprint) |
|
void | set_on_connect (std::function< on_connect_callback_t > &&callback) final |
|
void | set_on_disconnect (std::function< on_disconnect_callback_t > &&callback) final |
|
void | set_on_subscribe (std::function< on_subscribe_callback_t > &&callback) final |
|
void | set_on_unsubscribe (std::function< on_unsubscribe_callback_t > &&callback) final |
|
void | set_on_message (std::function< on_message_callback_t > &&callback) final |
|
void | set_on_publish (std::function< on_publish_user_callback_t > &&callback) final |
|
bool | connected () const final |
|
void | connect () final |
|
void | disconnect () final |
|
bool | subscribe (const char *topic, uint8_t qos) final |
|
bool | unsubscribe (const char *topic) final |
|
bool | publish (const char *topic, const char *payload, size_t length, uint8_t qos, bool retain) final |
|
virtual bool | publish (const MQTTMessage &message) |
|
virtual void | loop () |
|
Definition at line 12 of file mqtt_backend_esp8266.h.
◆ add_server_fingerprint()
void esphome::mqtt::MQTTBackendESP8266::add_server_fingerprint |
( |
const uint8_t * |
fingerprint | ) |
|
|
inline |
◆ connect()
void esphome::mqtt::MQTTBackendESP8266::connect |
( |
| ) |
|
|
inlinefinalvirtual |
◆ connected()
bool esphome::mqtt::MQTTBackendESP8266::connected |
( |
| ) |
const |
|
inlinefinalvirtual |
◆ disconnect()
void esphome::mqtt::MQTTBackendESP8266::disconnect |
( |
| ) |
|
|
inlinefinalvirtual |
◆ publish()
bool esphome::mqtt::MQTTBackendESP8266::publish |
( |
const char * |
topic, |
|
|
const char * |
payload, |
|
|
size_t |
length, |
|
|
uint8_t |
qos, |
|
|
bool |
retain |
|
) |
| |
|
inlinefinalvirtual |
◆ set_clean_session()
void esphome::mqtt::MQTTBackendESP8266::set_clean_session |
( |
bool |
clean_session | ) |
|
|
inlinefinalvirtual |
◆ set_client_id()
void esphome::mqtt::MQTTBackendESP8266::set_client_id |
( |
const char * |
client_id | ) |
|
|
inlinefinalvirtual |
◆ set_credentials()
void esphome::mqtt::MQTTBackendESP8266::set_credentials |
( |
const char * |
username, |
|
|
const char * |
password |
|
) |
| |
|
inlinefinalvirtual |
◆ set_keep_alive()
void esphome::mqtt::MQTTBackendESP8266::set_keep_alive |
( |
uint16_t |
keep_alive | ) |
|
|
inlinefinalvirtual |
◆ set_on_connect()
void esphome::mqtt::MQTTBackendESP8266::set_on_connect |
( |
std::function< on_connect_callback_t > && |
callback | ) |
|
|
inlinefinalvirtual |
◆ set_on_disconnect()
◆ set_on_message()
void esphome::mqtt::MQTTBackendESP8266::set_on_message |
( |
std::function< on_message_callback_t > && |
callback | ) |
|
|
inlinefinalvirtual |
◆ set_on_publish()
◆ set_on_subscribe()
◆ set_on_unsubscribe()
◆ set_secure()
void esphome::mqtt::MQTTBackendESP8266::set_secure |
( |
bool |
secure | ) |
|
|
inline |
◆ set_server() [1/2]
void esphome::mqtt::MQTTBackendESP8266::set_server |
( |
network::IPAddress |
ip, |
|
|
uint16_t |
port |
|
) |
| |
|
inlinefinalvirtual |
◆ set_server() [2/2]
void esphome::mqtt::MQTTBackendESP8266::set_server |
( |
const char * |
host, |
|
|
uint16_t |
port |
|
) |
| |
|
inlinefinalvirtual |
◆ set_will()
void esphome::mqtt::MQTTBackendESP8266::set_will |
( |
const char * |
topic, |
|
|
uint8_t |
qos, |
|
|
bool |
retain, |
|
|
const char * |
payload |
|
) |
| |
|
inlinefinalvirtual |
◆ subscribe()
bool esphome::mqtt::MQTTBackendESP8266::subscribe |
( |
const char * |
topic, |
|
|
uint8_t |
qos |
|
) |
| |
|
inlinefinalvirtual |
◆ unsubscribe()
bool esphome::mqtt::MQTTBackendESP8266::unsubscribe |
( |
const char * |
topic | ) |
|
|
inlinefinalvirtual |
◆ mqtt_client_
AsyncMqttClient esphome::mqtt::MQTTBackendESP8266::mqtt_client_ |
|
protected |
The documentation for this class was generated from the following file: