[][src]Trait radio::Rssi

pub trait Rssi {
    type Error;
    fn poll_rssi(&mut self) -> Result<i16, Self::Error>;
}

Rssi trait allows polling for RSSI on the current channel

Associated Types

type Error

Radio error

Loading content...

Required methods

fn poll_rssi(&mut self) -> Result<i16, Self::Error>

Fetch the current RSSI value from the radio Note that the radio MUST be in RX mode (or capable of measuring RSSI) when this is called or an error should be returned

Loading content...

Implementors

Loading content...