Crate fdcanusb

source ·
Expand description

§FdCanUSB

An implementation of the FdCanUSB (by MJBots) protocol.

This initial release is open for feedback and may change implementation details.

§Example

use fdcanusb::FdCanUSB;

let mut fdcanusb = FdCanUSB::open("/dev/fdcanusb", serial2::KeepSettings).expect("Failed to open serial port");

Re-exports§

Structs§

  • CanFdFrame represents a single frame of data on the CAN bus.
  • FdCanUSB communications struct
  • The FdCanUSB communicates over Serial using ascii encoded frames. FdCanUSBFrame is a wrapper around the ascii encoded frames.