[][src]Trait radio_sx128x::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

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

radio::Rssi implementation for the SX128x

type Error = Error<CommsError, PinError>

fn poll_rssi(&mut self) -> Result<i16, Error<CommsError, PinError>>[src]

Poll for the current channel RSSI This should only be called when in receive mode

Loading content...