Changement de l'identification des pucks CAN par device ID plutôt que par Handle
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user