mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-06 09:58:41 +02:00
Add dlcOnWire to CAN
This commit is contained in:
@@ -8,6 +8,7 @@ namespace icsneo {
|
||||
class CANMessage : public Message {
|
||||
public:
|
||||
uint32_t arbid;
|
||||
uint8_t dlcOnWire;
|
||||
bool isRemote = false;
|
||||
bool isExtended = false;
|
||||
bool isCANFD = false;
|
||||
|
||||
@@ -112,7 +112,8 @@ typedef struct {
|
||||
uint32_t arbid;
|
||||
uint16_t netid;
|
||||
uint8_t type;
|
||||
char reserved[9];
|
||||
uint8_t dlcOnWire;
|
||||
char reserved[8];
|
||||
} neomessage_can_t;
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
Reference in New Issue
Block a user