Skip to content

fpagliughi/socketcan-rs

 
 

Repository files navigation

Rust SocketCAN

This library allows Controller Area Network (CAN) communications on Linux using the SocketCAN interfaces. This provides a network socket interface to the CAN bus.

Linux SocketCAN

Please see the documentation for details about the Rust API provided by this library.

Latest News

After a period of some stagnation, this library is currently being upated for a v2.0 release to add the following features:

  • CAN Flexible Data Rate (FD) support
  • Proper handling of Extended CAN ID's
  • Integration with the Rust Embedded HAL APIs for CAN
  • Control of the CAN network interfaces via netlink with the neli crate.
  • Tighter integration with libc and nix crates, including upstream
  • Updated documentation and dependencies

Note that the master branch will be in heavy flux over the next few weeks and should be assumed to be highly unstable.

About

Linux SocketCAN access in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.3%
  • Shell 0.7%