Updated CAN message structure.

Pavel Pisa ppisa4lists at pikron.com
Tue Jun 21 18:57:08 UTC 2022


Hello Prashanth S,

On Tuesday 21 of June 2022 19:00:42 Prashanth S wrote:
> This is to present the updated CAN message structure.
>
> *Updating the CAN message structure:*
>
> struct can_message {
>   uint32_t id;                 // 32 bits to support extended id (29 bits)
>   uint32_t timestamp;
>   uint16_t flags;            // RTR | BRS | EXT ...
>   uint16_t len;
>   uint8_t data[64];         // For supporting data transfer up to 64 bytes.
>   };

from my side optimal, no other suggestions.

Best wishes,

Pavel


More information about the devel mailing list