no-std socketcand

Socketcand parser for small systems

1 unstable release

0.1.0 Jul 5, 2024

#686 in Embedded development

33 downloads per month

MPL-2.0 license

22KB
608 lines

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.

Dependencies

~1.5MB
~32K SLoC