Struct Message
Defined in File can_message.hpp
Struct Documentation
-
struct Message
CAN message with message counter, CRC byte and signals.
Public Functions
-
template<typename FrameData>
void encode(FrameData &frame) Encode signals into frame bits.
- Parameters:
frame – Frame byte array
-
template<typename FrameData>
void validate(FrameData &frame) Validate frame by setting CRC and increasing message counter.
- Parameters:
frame – Frame byte array
-
template<typename FrameData>