fixed auto reconnect and resubscribe inside mqtt wrapper loop
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include <config.h>
|
||||
|
||||
#include <mutex>
|
||||
#include <functional>
|
||||
|
||||
typedef std::string topic_t;
|
||||
typedef std::function<void(const ArduinoJson::JsonDocument &)> action_t; // the actions receive a JsonObject containing the received message
|
||||
|
||||
Reference in New Issue
Block a user