Updates to the legacy API

* Added transmit

* Added support for the new style icsneoFindDevices() call

* Added support for blocking wait for message

* CAN FD and XTD 29-bit CAN Support
This commit is contained in:
Paul Hollinsky
2019-01-03 16:57:29 -05:00
parent 814dc7d174
commit 61c16f4dfc
5 changed files with 149 additions and 31 deletions
+11 -1
View File
@@ -1049,7 +1049,7 @@ typedef struct ALIGNED_(2) {
#pragma pack(pop)
typedef struct{
typedef struct {
int DeviceType;
int Handle;
int NumberOfClients;
@@ -1057,6 +1057,16 @@ typedef struct{
int MaxAllowedClients;
} NeoDevice;
typedef struct {
NeoDevice neoDevice;
unsigned long FirmwareMajor;
unsigned long FirmwareMinor;
unsigned long Status; // 1=CM Running 2=Bootloader
unsigned long Reserved[16]; // may be expanded in future revisions
} NeoDeviceEx;
typedef void POptionsFindNeoEx;
typedef struct { // Matching C structure
unsigned long StatusValue; // 4
unsigned long StatusMask; // 4