28 lines
707 B
C++
28 lines
707 B
C++
#ifndef LORAMODULEINTERFACE_H
|
|
#define LORAMODULEINTERFACE_H
|
|
|
|
#include <QByteArray>
|
|
#include <QObject>
|
|
#include <QSerialPort>
|
|
#include "NetworkProtocol.h"
|
|
#include "AbstractNetworkInterface.h"
|
|
#include "NetworkDevice.h"
|
|
|
|
class CLoraModuleInterface : public QObject, public CNetworkProtocol, public CAbstractNetworkCommIF
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
CLoraModuleInterface();
|
|
|
|
|
|
|
|
//NetworkProtocol implementation
|
|
virtual int NewFrameReceived(int DeviceID, int DeviceAddress, int MessageID, int DataSize, QByteArray Data);
|
|
|
|
//NetworkCommIF implementation
|
|
virtual int SendNetworkMessage(int DeviceID, int DeviceAddress, int MessageID, int DataSize, QByteArray *Data);
|
|
};
|
|
|
|
#endif // LORAMODULEINTERFACE_H
|