Zephyr API 3.6.99
Loading...
Searching...
No Matches
socketcan_frame Struct Reference

CAN frame for Linux SocketCAN compatibility. More...

#include <socketcan.h>

Data Fields

socketcan_id_t can_id
 32-bit CAN ID + EFF/RTR/ERR flags.
 
uint8_t len
 Frame payload length in bytes.
 
uint8_t flags
 Additional flags for CAN FD.
 
uint8_t data [8U]
 The payload data.
 

Detailed Description

CAN frame for Linux SocketCAN compatibility.

Field Documentation

◆ can_id

socketcan_id_t socketcan_frame::can_id

32-bit CAN ID + EFF/RTR/ERR flags.

◆ data

uint8_t socketcan_frame::data[8U]

The payload data.

◆ flags

uint8_t socketcan_frame::flags

Additional flags for CAN FD.

◆ len

uint8_t socketcan_frame::len

Frame payload length in bytes.


The documentation for this struct was generated from the following file: