Masterctrl/Sources/Chalet/ChaletInterface.h

28 lines
688 B
C++

#ifndef CCHALETINTERFACE_H
#define CCHALETINTERFACE_H
#include "NetworkDevice.h"
#include "ChaletLoraDevice.h"
class CChaletInterface: public QObject, public CNetworkDevice
{
Q_OBJECT
public:
CChaletInterface(int Address, CAbstractNetworkCommIF *NetworkInterface, CChaletLoraDevice *DevicePtr);
virtual int NewDeviceFrameReceived(int DeviceID, int DeviceAddress, int MessageID, int DataSize, QByteArray Data);
void SendChaletCommActivityBeacon();
private:
CChaletLoraDevice *mChaletLoraDevice;
CChaletDataLogger *mChaletDataLogger;
public slots:
void DeviceWiFiDataReceived();
void DeviceFirmwareVersionReceived();
};
#endif // CCHALETINTERFACE_H