#parser #command #wire #format #systems #built #defmt-03

no-std socketcand

Socketcand parser for small systems

1 unstable release

0.1.0 Jul 5, 2024

#602 in Embedded development

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