Files
giesCANne/bus_protocols/isotp_message.h
T
Collin Kidder 0baffa300f A partial commit that changes CANFrame over to be based on
QCanBusFrame so that things are more compatible with other Qt based
CAN bus code. Not complete yet but getting there.
2019-12-11 21:17:33 -05:00

24 lines
484 B
C++

#ifndef ISOTP_MESSAGE_H
#define ISOTP_MESSAGE_H
#include <Qt>
#include <QVector>
//the same as the CANFrame struct but with arbitrary data size.
class 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
int lastSequence;
bool isMultiframe;
QVector<unsigned char> data;
uint64_t timestamp;
};
#endif // ISOTP_MESSAGE_H