ESPMegaPRO-v3-SDK/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/ESPMegaRTU.hpp

15 lines
384 B
C++
Raw Permalink Normal View History

2024-01-16 06:12:02 +00:00
#pragma once
#include <ESPMegaIoT.hpp>
class ESPMegaRTU {
public:
ESPMegaRTU();
~ESPMegaRTU();
virtual void subscribe();
virtual void begin(char* remote_base_topic, uint8_t remote_card_slot, ESPMegaIoT* iot);
protected:
char* remoteBaseTopic;
uint8_t remoteBaseTopicLength;
uint8_t cardSlot;
ESPMegaIoT* iot;
};