korri-n2k 0.7.1

no_std-first NMEA 2000 protocol stack for embedded and Linux systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! NMEA 2000 Fast Packet support: encapsulates payloads larger than eight bytes
//! across successive CAN frames.
//!
//! The generated PGN tables are re-exported here: an assembler that does not know
//! which PGNs are multi-frame cannot do its job, so this dependency on `messages`
//! already exists conceptually.
pub use crate::protocol::messages::{FAST_PACKET_PGNS, FAST_PACKET_PGNS_ALL};

/// Maximum payload a Fast Packet can transport once reassembled.
pub const MAX_FAST_PACKET_PAYLOAD: usize = 223;

pub mod assembler;
pub mod builder;

#[cfg(test)]
pub mod tests;