move common network code to seperate class

This commit is contained in:
technyon
2022-07-02 12:04:03 +02:00
parent cb35eae2f7
commit beb87a959f
12 changed files with 549 additions and 411 deletions

9
MqttReceiver.h Normal file
View File

@@ -0,0 +1,9 @@
#pragma once
#include <Arduino.h>
class MqttReceiver
{
public:
virtual void onMqttDataReceived(char*& topic, byte*& payload, unsigned int& length) = 0;
};