j1939-core 0.1.2

Core crate for j1939-rs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![no_std]

pub mod bitfield;
pub mod fixed_point;
pub mod message;

pub use bitfield::*;
pub use fixed_point::*;
pub use message::*;

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Error {
    InvalidPgn,
    InvalidLength,
    BufferTooSmall,
}

pub type Result<T> = core::result::Result<T, Error>;