implement fallback to wifi if W5500 hardware not present

This commit is contained in:
technyon
2023-01-01 17:09:26 +01:00
parent e202db236e
commit 6f58ebd382
9 changed files with 54 additions and 14 deletions

View File

@@ -49,7 +49,7 @@ public:
private:
static void onMqttDataReceivedCallback(char* topic, byte* payload, unsigned int length);
void onMqttDataReceived(char*& topic, byte*& payload, unsigned int& length);
void setupDevice(const NetworkDeviceType hardware);
void setupDevice(NetworkDeviceType hardware);
bool reconnect();
void buildMqttPath(const char* prefix, const char* path, char* outPath);