Initial check-in

This commit is contained in:
Collin Kidder
2015-04-27 17:14:53 -04:00
commit 6fc8cf73c7
7 changed files with 857 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef CAN_STRUCTS_H
#define CAN_STRUCTS_H
struct CANFrame
{
public:
int ID;
int bus;
bool extended;
int len;
unsigned char data[8];
long long timestamp;
};
struct J1939ID
{
public:
int src;
int dest;
int pgn;
int pf;
int ps;
int priority;
bool isBroadcast;
};
#endif // CAN_STRUCTS_H