Ajout polling du statut du board

This commit is contained in:
2024-02-22 16:11:48 -05:00
parent 098863edb9
commit da2dd28f1c
25 changed files with 1100 additions and 140 deletions
@@ -10,8 +10,10 @@
#include <QList>
class COtarcikCan;
class CCANDevice;
class CComputerBoardInterface;
class CMQTTClientWrapper : public QObject
{
@@ -27,6 +29,7 @@ public:
CMQTTClientWrapper();
~CMQTTClientWrapper();
int SetMQTTParams(CCloudParams *Params);
int SetCPUInterface(CComputerBoardInterface *CPUIF);
int ConnectToBroker();
int NewMQTTMessages(QList<CMQTTMessage> MessagesList);
int DisconnectFromBroker();
@@ -50,6 +53,7 @@ private:
QList<CMQTTMessage*> mMQTTMessagesQueue;
bool mIsClientConnecting;
QString mCircularBufferStatusText, mBufferingModeText, mUploadTimeText;
CComputerBoardInterface *mCPUInterface;
int SendNextQueueMessage();