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, serial2};
let transport = serial2::SerialPort::open("/dev/fdcanusb", serial2::KeepSettings)?;
let mut fdcanusb = FdCanUSB::new(transport);

§Features

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.