move common network code to seperate class
This commit is contained in:
9
MqttReceiver.h
Normal file
9
MqttReceiver.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
class MqttReceiver
|
||||
{
|
||||
public:
|
||||
virtual void onMqttDataReceived(char*& topic, byte*& payload, unsigned int& length) = 0;
|
||||
};
|
||||
Reference in New Issue
Block a user