- move source file according with platformio standard directory structure

- remove lib_deps from platformio.ini since they are already in libs folder
This commit is contained in:
Luca Oliano
2024-04-27 11:06:13 +02:00
parent afd4d68580
commit ade24e86a8
54 changed files with 132 additions and 45 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#include "espMqttClient.h"
#include "ClientSyncW5500.h"
class espMqttClientW5500 : public espMqttClient {
public:
#if defined(ARDUINO_ARCH_ESP32)
explicit espMqttClientW5500();
#else
espMqttClient();
#endif
void update();
protected:
#if defined(ARDUINO_ARCH_ESP8266) || defined(ARDUINO_ARCH_ESP32)
espMqttClientInternals::ClientSyncW5500 _client;
#elif defined(__linux__)
espMqttClientInternals::ClientPosix _client;
#endif
};