#include <mqtt_backend_libretiny.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_libretiny.h.
◆ add_server_fingerprint()
void esphome::mqtt::MQTTBackendLibreTiny::add_server_fingerprint |
( |
const uint8_t * |
fingerprint | ) |
|
|
inline |
◆ connect()
void esphome::mqtt::MQTTBackendLibreTiny::connect |
( |
| ) |
|
|
inlinefinalvirtual |
◆ connected()
bool esphome::mqtt::MQTTBackendLibreTiny::connected |
( |
| ) |
const |
|
inlinefinalvirtual |
◆ disconnect()
void esphome::mqtt::MQTTBackendLibreTiny::disconnect |
( |
| ) |
|
|
inlinefinalvirtual |
◆ publish()
bool esphome::mqtt::MQTTBackendLibreTiny::publish |
( |
const char * |
topic, |
|
|
const char * |
payload, |
|
|
size_t |
length, |
|
|
uint8_t |
qos, |
|
|
bool |
retain |
|
) |
| |
|
inlinefinalvirtual |
◆ set_clean_session()
void esphome::mqtt::MQTTBackendLibreTiny::set_clean_session |
( |
bool |
clean_session | ) |
|
|
inlinefinalvirtual |
◆ set_client_id()
void esphome::mqtt::MQTTBackendLibreTiny::set_client_id |
( |
const char * |
client_id | ) |
|
|
inlinefinalvirtual |
◆ set_credentials()
void esphome::mqtt::MQTTBackendLibreTiny::set_credentials |
( |
const char * |
username, |
|
|
const char * |
password |
|
) |
| |
|
inlinefinalvirtual |
◆ set_keep_alive()
void esphome::mqtt::MQTTBackendLibreTiny::set_keep_alive |
( |
uint16_t |
keep_alive | ) |
|
|
inlinefinalvirtual |
◆ set_on_connect()
void esphome::mqtt::MQTTBackendLibreTiny::set_on_connect |
( |
std::function< on_connect_callback_t > && |
callback | ) |
|
|
inlinefinalvirtual |
◆ set_on_disconnect()
◆ set_on_message()
void esphome::mqtt::MQTTBackendLibreTiny::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::MQTTBackendLibreTiny::set_secure |
( |
bool |
secure | ) |
|
|
inline |
◆ set_server() [1/2]
void esphome::mqtt::MQTTBackendLibreTiny::set_server |
( |
network::IPAddress |
ip, |
|
|
uint16_t |
port |
|
) |
| |
|
inlinefinalvirtual |
◆ set_server() [2/2]
void esphome::mqtt::MQTTBackendLibreTiny::set_server |
( |
const char * |
host, |
|
|
uint16_t |
port |
|
) |
| |
|
inlinefinalvirtual |
◆ set_will()
void esphome::mqtt::MQTTBackendLibreTiny::set_will |
( |
const char * |
topic, |
|
|
uint8_t |
qos, |
|
|
bool |
retain, |
|
|
const char * |
payload |
|
) |
| |
|
inlinefinalvirtual |
◆ subscribe()
bool esphome::mqtt::MQTTBackendLibreTiny::subscribe |
( |
const char * |
topic, |
|
|
uint8_t |
qos |
|
) |
| |
|
inlinefinalvirtual |
◆ unsubscribe()
bool esphome::mqtt::MQTTBackendLibreTiny::unsubscribe |
( |
const char * |
topic | ) |
|
|
inlinefinalvirtual |
◆ mqtt_client_
AsyncMqttClient esphome::mqtt::MQTTBackendLibreTiny::mqtt_client_ |
|
protected |
The documentation for this class was generated from the following file: