LibreTiny: enable MQTT, bump to v1.4.1 (#5419)

This commit is contained in:
Kuba Szczodrzyński
2023-09-26 23:23:21 +02:00
committed by GitHub
parent 607d0b4264
commit 2f7a378c7b
5 changed files with 87 additions and 6 deletions
+4
View File
@@ -13,6 +13,8 @@
#include "mqtt_backend_esp32.h"
#elif defined(USE_ESP8266)
#include "mqtt_backend_esp8266.h"
#elif defined(USE_LIBRETINY)
#include "mqtt_backend_libretiny.h"
#endif
#include "lwip/ip_addr.h"
@@ -300,6 +302,8 @@ class MQTTClientComponent : public Component {
MQTTBackendESP32 mqtt_backend_;
#elif defined(USE_ESP8266)
MQTTBackendESP8266 mqtt_backend_;
#elif defined(USE_LIBRETINY)
MQTTBackendLibreTiny mqtt_backend_;
#endif
MQTTClientState state_{MQTT_CLIENT_DISCONNECTED};