#[repr(C)]pub struct PamojaLorawanWake {Show 18 fields
pub ack_start_us: u64,
pub ack_airtime_us: u64,
pub listen_start_us: u64,
pub kind: u8,
pub dev_addr: u32,
pub wfcnt: u32,
pub forward: u8,
pub has_ack: u8,
pub ack_frame: [u8; 7],
pub ack_frequency_hz: u32,
pub ack_data_rate: u8,
pub ack_link: PamojaLoraLink,
pub ack_output_dbm: i8,
pub has_listen: u8,
pub listen_frequency_hz: u32,
pub listen_data_rate: u8,
pub listen_link: PamojaLoraLink,
pub listen_max_len: usize,
}Expand description
What a wake-on-radio frame led a relay to do.
Fields§
§ack_start_us: u64When to start sending the acknowledgment, in microseconds.
ack_airtime_us: u64How long it holds the air, in microseconds.
listen_start_us: u64When the uplink starts arriving, in microseconds.
kind: u8§dev_addr: u32The device the frame came from, for an uplink or a notification.
wfcnt: u32The wake-on-radio frame counter it carried, for an uplink.
forward: u8Whether the relay forwards the uplink, as TS011-1.0.1 table 16 codes it.
has_ack: u81 when there is an acknowledgment to send.
ack_frame: [u8; 7]The acknowledgment, seven bytes.
ack_frequency_hz: u32Where it goes, in hertz.
ack_data_rate: u8The data rate it goes out at.
ack_link: PamojaLoraLinkIts LoRa settings, sent with inverted IQ.
ack_output_dbm: i8The power to ask of the radio for it, conducted, in dBm.
has_listen: u81 when the relay listens for the uplink behind the frame.
listen_frequency_hz: u32Where the uplink arrives, in hertz.
listen_data_rate: u8The data rate it arrives at.
listen_link: PamojaLoraLinkIts LoRa settings, heard with standard IQ.
listen_max_len: usizeThe longest frame to receive; stop at anything longer.
Trait Implementations§
Source§impl Clone for PamojaLorawanWake
impl Clone for PamojaLorawanWake
Source§fn clone(&self) -> PamojaLorawanWake
fn clone(&self) -> PamojaLorawanWake
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more