mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Fix issue where nvs was not getting reset with rollingCodes from backup file.
This commit is contained in:
parent
7f4cc19914
commit
d471745489
13 changed files with 280 additions and 109 deletions
18
MQTT.h
18
MQTT.h
|
|
@ -14,15 +14,15 @@ class MQTTClass {
|
|||
bool disconnect();
|
||||
bool connected();
|
||||
void reset();
|
||||
bool publish(const char *topic, const char *payload);
|
||||
bool publish(const char *topic, JsonDocument &doc);
|
||||
bool publish(const char *topic, JsonArray &arr);
|
||||
bool publish(const char *topic, JsonObject &obj);
|
||||
bool publish(const char *topic, uint8_t val);
|
||||
bool publish(const char *topic, int8_t val);
|
||||
bool publish(const char *topic, uint32_t val);
|
||||
bool publish(const char *topic, uint16_t val);
|
||||
bool publish(const char *topic, bool val);
|
||||
bool publish(const char *topic, const char *payload, bool retain = false);
|
||||
bool publish(const char *topic, JsonDocument &doc, bool retain = false);
|
||||
bool publish(const char *topic, JsonArray &arr, bool retain = false);
|
||||
bool publish(const char *topic, JsonObject &obj, bool retain = false);
|
||||
bool publish(const char *topic, uint8_t val, bool retain = false);
|
||||
bool publish(const char *topic, int8_t val, bool retain = false);
|
||||
bool publish(const char *topic, uint32_t val, bool retain = false);
|
||||
bool publish(const char *topic, uint16_t val, bool retain = false);
|
||||
bool publish(const char *topic, bool val, bool retain = false);
|
||||
bool subscribe(const char *topic);
|
||||
bool unsubscribe(const char *topic);
|
||||
static void receive(const char *topic, byte *payload, uint32_t length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue