fixes for OTA

This commit is contained in:
technyon
2023-03-04 13:51:26 +01:00
parent befb0f8851
commit 82f8e91036
16 changed files with 99 additions and 14 deletions

View File

@@ -59,6 +59,8 @@ public:
uint16_t mqttSubscribe(const char *topic, uint8_t qos) override;
void disableMqtt() override;
private:
void resetDevice();
void initializeMacAddress(byte* mac);
@@ -72,6 +74,7 @@ private:
char* _path;
W5500Variant _variant;
bool _lastConnected = false;
bool _mqttEnabled = true;
byte _mac[6];
};