Also added UDS decoding to the ISOTP window. An attempt is made to see if a frame looks like UDS and then it is decoded. Also, some code clean up to remove some compiler warnings. There's a LONG way to go still.
19 lines
415 B
C++
19 lines
415 B
C++
#ifndef ISOTP_MESSAGE_H
|
|
#define ISOTP_MESSAGE_H
|
|
|
|
//the same as the CANFrame struct but with arbitrary data size.
|
|
class ISOTP_MESSAGE
|
|
{
|
|
public:
|
|
uint32_t ID;
|
|
int bus;
|
|
bool extended;
|
|
bool isReceived;
|
|
uint32_t len; //# of bytes this message should have (as reported)
|
|
uint32_t actualSize; //# we actually got
|
|
QVector<unsigned char> data;
|
|
uint64_t timestamp;
|
|
};
|
|
|
|
#endif // ISOTP_MESSAGE_H
|