[][src]Trait radio_sx128x::Transmit

pub trait Transmit {
    type Error;
    fn start_transmit(&mut self, data: &[u8]) -> Result<(), Self::Error>;
fn check_transmit(&mut self) -> Result<bool, Self::Error>; }

Send trait for radios that can transmit packets

Associated Types

type Error

Radio error

Loading content...

Required methods

fn start_transmit(&mut self, data: &[u8]) -> Result<(), Self::Error>

Start sending a packet on the provided channel

Returns an error if send was not started

fn check_transmit(&mut self) -> Result<bool, Self::Error>

Check for send completion

Returns true for send complete, false otherwise

Loading content...

Implementors

impl<Hal, CommsError, PinError> Transmit for Sx128x<Hal, CommsError, PinError> where
    Hal: Hal<CommsError, PinError>, 
[src]

radio::Transmit implementation for the SX128x

type Error = Error<CommsError, PinError>

fn start_transmit(&mut self, data: &[u8]) -> Result<(), Self::Error>[src]

Start transmitting a packet

fn check_transmit(&mut self) -> Result<bool, Self::Error>[src]

Check for transmit completion

Loading content...