Crate socketcand

Source
Expand description

§socketcand

A socketcand parser implementation built with nom. Designed for no_std environments and implements embedded-can traits.

use socketcand::wire::command;

let input = "< send 123 0 >";
let (_, result) = command(input).unwrap();

println!("{:?}", result);

§Optional features

  • defmt-03: Derive defmt::Format from defmt 0.3 for enums and structs.

Modules§

beacon
Service discovery beacon.
wire
Wire protocol parsing.

Structs§

Bus
CAN network bus.

Enums§

Mode
Connection mode.