fix LWT, add discovery for LWT

This commit is contained in:
technyon
2023-04-04 20:05:51 +02:00
parent 5c6eef5b9c
commit 710aa1775e
3 changed files with 31 additions and 4 deletions

View File

@@ -101,8 +101,8 @@ private:
static Network* _inst;
const char* _mqttConnectionStateTopic = mqtt_topic_mqtt_connection_state;
const char* _lastWillPayload = "offline";
char _mqttConnectionStateTopic[211] = {0};
Preferences* _preferences;
IPConfiguration* _ipConfiguration = nullptr;