Major refactoring of ISOTP and UDS code to be more generic and have

better functionality.
This commit is contained in:
Collin Kidder
2017-05-15 22:38:59 -04:00
parent d766d442b9
commit 1ccb9bac2e
15 changed files with 494 additions and 206 deletions
-26
View File
@@ -32,31 +32,5 @@ public:
}
};
struct J1939ID
{
public:
int src;
int dest;
int pgn;
int pf;
int ps;
int priority;
bool isBroadcast;
};
//the same as the CANFrame struct but with arbitrary data size.
struct ISOTP_MESSAGE
{
public:
uint32_t ID;
int bus;
bool extended;
bool isReceived;
int len; //# of bytes this message should have (as reported)
int actualSize; //# we actually got
QVector<unsigned char> data;
uint64_t timestamp;
};
#endif // CAN_STRUCTS_H