Skip to main content

Crate industrial_protocols_bridge_can

Crate industrial_protocols_bridge_can 

Source
Expand description

§CAN 总线传输

Linux SocketCAN (CAN_RAW) 实现。通过 libc 直接操作 CAN 套接字, 支持 CAN 2.0A(11-bit ID)和 CAN 2.0B(29-bit ID)帧格式。 非 Linux 平台使用存根实现。 CAN bus transport via Linux SocketCAN.

Uses raw CAN_RAW sockets to send/receive CAN frames. Requires the socketcan feature (Linux only).

Structs§

CanFrame
A single CAN frame.
CanTransport
CAN transport using Linux SocketCAN.