6 releases

0.2.2 Mar 29, 2025
0.2.1 Mar 29, 2025
0.1.3 Feb 9, 2025

#509 in Embedded development

Download history 265/week @ 2025-02-05 70/week @ 2025-02-12 2/week @ 2025-02-19 4/week @ 2025-02-26 317/week @ 2025-03-26 60/week @ 2025-04-02

377 downloads per month

MIT license

11KB
228 lines

NMEA 2000

A minimal implementation of fast packets as well as some NMEA 2000 fields.


lib.rs:

This crate provides basic decoding of NMEA 2000 (N2K) messages. It uses no heap allocation whatsoever and is designed to be used in embedded systems. As the author wrote this just a few hours after first learning about N2K, it is very much a work in progress. Nevertheless, the Canboat project's reverse engineering documentation proved to be very helpful in understanding the protocol.

It has only been tested on the ESP32 microcontroller with the ESP-IDF SDK, but there is no reason it should not work on other platforms.

Dependencies

~760KB
~17K SLoC