compile with esp mqtt lib

This commit is contained in:
technyon
2023-01-27 19:29:13 +01:00
parent 10650c1132
commit c9dbbb5dc1
113 changed files with 9740 additions and 2997 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include "NetworkDevice.h"
#include "espMqttClient.h"
#include <Ethernet.h>
#include <Preferences.h>
@@ -21,14 +22,14 @@ public:
int8_t signalStrength() override;
virtual MqttClient *mqttClient();
virtual MqttClientSetup* mqttClient();
private:
void resetDevice();
void initializeMacAddress(byte* mac);
EthernetClient* _ethClient = nullptr;
MqttClient* _mqttClient = nullptr;
MqttClientSetup* _mqttClient = nullptr;
Preferences* _preferences = nullptr;
int _maintainResult = 0;