Changement de l'identification des pucks CAN par device ID plutôt que par Handle

This commit is contained in:
2023-06-02 14:09:37 -04:00
parent 34cf515944
commit 163d050fe5
24 changed files with 1152 additions and 109 deletions
+2 -1
View File
@@ -15,9 +15,10 @@ class CPCANInterface : public QObject
Q_OBJECT
public:
explicit CPCANInterface(QObject *parent = 0);
int Init(TPCANHandle CANDeviceChannel, TPCANBaudrate CANBaudRate);
int Init(TPCANHandle CANDeviceHandle, TPCANBaudrate CANBaudRate);
int DeInit();
bool IsInterfaceOpened(){return CANInterfaceOpened;}
int GetDeviceHandle(quint8 DeviceID, TPCANHandle &Handle);
bool CANInterfaceOpened;
QList<CCANMessage*> ReadCANFullBuffer(unsigned short Channel);