138 static_cast<uint8_t
>(
145 if (lhs.id != rhs.id || lhs.length != rhs.length)
148 for (
int i = 0; i < lhs.length; i++)
149 if (lhs.payload[i] != rhs.payload[i])
157 return !(lhs == rhs);
bool operator==(const CanMessage &lhs, const CanMessage &rhs)
bool operator!=(const CanMessage &lhs, const CanMessage &rhs)
CanProtocolShiftInformation
CanProtocolIdMask
Masks of the elements composing can packets ids.
This file includes all the types the logdecoder script will decode.
Generic struct that contains a can protocol message.
uint8_t getPriority() const
uint8_t getSource() const
uint8_t getPrimaryType() const
uint8_t getSecondaryType() const
uint8_t length
Length of the message content.
uint8_t getDestination() const