mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
This change breaks existing code, hence the version bump, but it's going to be much less error prone going forward.
25 lines
472 B
C++
25 lines
472 B
C++
#ifndef __CANMESSAGE_H_
|
|
#define __CANMESSAGE_H_
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#include "icsneo/communication/message/message.h"
|
|
|
|
namespace icsneo {
|
|
|
|
class CANMessage : public Frame {
|
|
public:
|
|
uint32_t arbid;
|
|
uint8_t dlcOnWire;
|
|
bool isRemote = false; // Not allowed if CAN FD
|
|
bool isExtended = false;
|
|
bool isCANFD = false;
|
|
bool baudrateSwitch = false; // CAN FD only
|
|
bool errorStateIndicator = false; // CAN FD only
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __cplusplus
|
|
|
|
#endif |