rfm69 0.6.0

A generic rust driver to support RFM69 family wireless chips
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub(crate) type Result<T, Espi> = core::result::Result<T, Error<Espi>>;

#[derive(Debug)]
pub enum Error<Espi> {
    /// SPI bus error
    Spi(Espi),
    /// Timeout exceeded
    Timeout,
    /// Aes key size is too big
    AesKeySize,
    /// Sync sequence is too long
    SyncSize,
    /// Packet size is longer than receive buffer
    BufferTooSmall,
    /// Packet exceeds maximum size (255 for send_large)
    PacketTooLarge,
}