MQTT client fonctionnel
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
#include "PCANBasic.h"
|
||||
#include "CANDeviceConfig.h"
|
||||
#include "CANDataLogger.h"
|
||||
//#include "MQTTClientWrapper.h"
|
||||
|
||||
class CMQTTClientWrapper;
|
||||
class COtarcikCan;
|
||||
|
||||
class CCANDevice : public QObject
|
||||
@@ -19,7 +21,7 @@ class CCANDevice : public QObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit CCANDevice(QObject *parent = 0);
|
||||
CCANDevice(CCANDeviceConfig &SysConfig);
|
||||
CCANDevice(CCANDeviceConfig &SysConfig, CMQTTClientWrapper* MQTTClient = 0);
|
||||
~CCANDevice();
|
||||
|
||||
int Init(QString DatabaseFileName, TPCANHandle CANDeviceID, TPCANBaudrate CANDeviceBaudRate, QString DevDescription, QString DeviceName, unsigned int DevicePollPeriod);
|
||||
@@ -33,6 +35,7 @@ public:
|
||||
CCANAnalyzer mCANAnalyzer; //The module that handles the USB puck and decodes the data
|
||||
CCANDatabase mCANDatabase; //The device's database loaded from dbc file
|
||||
CCANDataLogger mCANDataLogger;
|
||||
CMQTTClientWrapper *mCANMQTTClient;
|
||||
|
||||
QList<CCANMessage*> mMessageList;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user