Device: RADMoon2ZL: Add TC10 commands

This commit is contained in:
Kyle Schwarz
2024-06-03 08:31:17 -04:00
parent 77928dc93d
commit cf1b4778a1
11 changed files with 173 additions and 2 deletions
+9
View File
@@ -37,6 +37,7 @@
#include "icsneo/communication/message/hardwareinfo.h"
#include "icsneo/communication/message/extendeddatamessage.h"
#include "icsneo/communication/message/livedatamessage.h"
#include "icsneo/communication/message/tc10statusmessage.h"
#include "icsneo/communication/packet/genericbinarystatuspacket.h"
#include "icsneo/communication/packet/livedatapacket.h"
#include "icsneo/device/extensions/flexray/controller.h"
@@ -722,6 +723,14 @@ public:
virtual bool supportsComponentVersions() const { return false; }
virtual bool supportsTC10() const { return false; }
bool requestTC10Wake(Network::NetID network);
bool requestTC10Sleep(Network::NetID network);
std::optional<TC10StatusMessage> getTC10Status(Network::NetID network);
protected:
bool online = false;
int messagePollingCallbackID = 0;