crsf 2.0.1

This crate provides a #[no_std] parser for the crossfire protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub use link_statistics::*;
pub use rc_channels::*;

use crate::PacketType;

mod link_statistics;
mod rc_channels;

pub(crate) trait Payload {
    fn len(&self) -> u8;

    fn packet_type(&self) -> PacketType;

    fn dump(&self, buf: &mut [u8]);
}