Trait radio::Transmit

source ·
pub trait Transmit {
    type Error;

    fn start_transmit(
        &mut self,
        channel: u16,
        data: &[u8]
    ) -> Result<(), Self::Error>; fn check_transmit(&mut self) -> Result<bool, Self::Error>; }
Expand description

Send trait for radios that can transmit packets

Required Associated Types§

Radio error

Required Methods§

Start sending a packet on the provided channel Returns an error if send was not started

Check for send completion Returns true for send complete, false otherwise

Implementors§