LiveData: Initial implementation

Add support for live data subscription via Device::subscribeLiveData() and
Device::unsubscribeLiveData(). The live data API can be used to subscribe to
individual "signals", a full list of which can be found in LiveDataValueType.
This commit is contained in:
Kyle Johannes
2023-08-22 16:20:48 -04:00
committed by Kyle Schwarz
parent 018f1fac8e
commit 8d704b1bbb
20 changed files with 894 additions and 1 deletions
+10
View File
@@ -94,6 +94,16 @@ public:
CoreminiUploadVersionMismatch = 0x2040,
DiskNotConnected = 0x2041,
UnexpectedResponse = 0x2042,
LiveDataInvalidHandle = 0x2043,
LiveDataInvalidCommand = 0x2044,
LiveDataInvalidArgument = 0x2045,
LiveDataVersionMismatch = 0x2046,
LiveDataNoDeviceResponse = 0x2047,
LiveDataMaxSignalsReached = 0x2048,
LiveDataCommandFailed = 0x2049,
LiveDataEncoderError = 0x2050,
LiveDataDecoderError = 0x2051,
LiveDataNotSupported = 0x2052,
// Transport Events
FailedToRead = 0x3000,