Trait rubble::phy::Radio[][src]

pub trait Radio {
    fn transmit(&mut self, buf: &mut [u8], freq: u16);
}
Expand description

Trait for raw 2.4 GHz non-BLE-specific radios.

You probably won’t need to implement this trait, unless you’re working with hardware that has absolutely no special support for BLE. Usually, the Link-Layer Transmitter should be implemented.

Required methods

Transmit every Byte in buf over the air, LSb first, at freq MHz.

TODO: Document all radio requirements

Implementors