#[repr(C)]pub struct PamojaLoraRadioReception {
pub outcome: u8,
pub len: usize,
pub rssi_centi_dbm: i32,
pub snr_centi_db: i32,
pub signal_rssi_centi_dbm: i32,
}Expand description
How a reception ended, with the frame’s signal levels when one arrived.
Fields§
§outcome: u8PAMOJA_LORA_RADIO_FRAME, PAMOJA_LORA_RADIO_TIMEOUT,
PAMOJA_LORA_RADIO_CORRUPT, or PAMOJA_LORA_RADIO_NOTHING.
len: usizeThe payload length, at the start of the buffer, for a frame; 0 otherwise.
rssi_centi_dbm: i32The received signal strength averaged over the frame, in hundredths of a dBm.
snr_centi_db: i32The estimated signal-to-noise ratio, in hundredths of a dB.
signal_rssi_centi_dbm: i32The estimated strength of the LoRa signal itself, in hundredths of a dBm.
Trait Implementations§
Source§impl Clone for PamojaLoraRadioReception
impl Clone for PamojaLoraRadioReception
Source§fn clone(&self) -> PamojaLoraRadioReception
fn clone(&self) -> PamojaLoraRadioReception
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaLoraRadioReception
Source§impl Debug for PamojaLoraRadioReception
impl Debug for PamojaLoraRadioReception
Source§impl Default for PamojaLoraRadioReception
impl Default for PamojaLoraRadioReception
Source§fn default() -> PamojaLoraRadioReception
fn default() -> PamojaLoraRadioReception
Returns the “default value” for a type. Read more
impl Eq for PamojaLoraRadioReception
Source§impl PartialEq for PamojaLoraRadioReception
impl PartialEq for PamojaLoraRadioReception
impl StructuralPartialEq for PamojaLoraRadioReception
Auto Trait Implementations§
impl Freeze for PamojaLoraRadioReception
impl RefUnwindSafe for PamojaLoraRadioReception
impl Send for PamojaLoraRadioReception
impl Sync for PamojaLoraRadioReception
impl Unpin for PamojaLoraRadioReception
impl UnsafeUnpin for PamojaLoraRadioReception
impl UnwindSafe for PamojaLoraRadioReception
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more