26 #ifndef PANDA_CAN_DATA_H 27 #define PANDA_CAN_DATA_H 29 #define CAN_DATA_MAX_LENGTH (8) 50 unsigned char bus = 0;
53 unsigned char data[CAN_DATA_MAX_LENGTH];
Handles USB communication and parsing with a comma.ai Panda.
Definition: can.h:38
struct timeval sysTime
The system time upon rec.
Definition: candata.h:56
unsigned int messageID
CAN message ID.
Definition: candata.h:41
unsigned char data[CAN_DATA_MAX_LENGTH]
The data for the CAN message.
Definition: candata.h:53
unsigned int busTime
CAN message bus time.
Definition: candata.h:47
unsigned char bus
CAN message bus ID.
Definition: candata.h:50
unsigned char dataLength
Length of the data, should not exceed CAN_MAX_LENGTH (8)
Definition: candata.h:44