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

@@ -62,6 +62,8 @@ public:
uint16_t mqttSubscribe(const char *topic, uint8_t qos) override;
void disableMqtt() override;
private:
void onDisconnected();
@@ -83,6 +85,7 @@ private:
eth_phy_type_t _type;
eth_clock_mode_t _clock_mode;
bool _use_mac_from_efuse;
bool _mqttEnabled = true;
char _ca[TLS_CA_MAX_SIZE] = {0};
char _cert[TLS_CERT_MAX_SIZE] = {0};