#[repr(C)]pub struct PamojaLoraPlanInfo {Show 16 fields
pub rx2_frequency_hz: u32,
pub uplink_data_rate_count: u16,
pub downlink_data_rate_count: u16,
pub default_channel_count: u16,
pub join_channel_block_count: u16,
pub default_channel_block_count: u16,
pub sub_band_count: u16,
pub beacon: PamojaLoraBeacon,
pub rx2_data_rate: u8,
pub default_max_eirp_dbm: i8,
pub tx_power_step_db: u8,
pub max_tx_power_index: u8,
pub max_rx1_data_rate_offset: u8,
pub has_dwell_time_limit: u8,
pub has_dwell_limited_payloads: u8,
pub has_dwell_limited_rx1: u8,
}Expand description
The scalar facts of a plan, gathered so a caller reads them in one call.
Fields§
§rx2_frequency_hz: u32The fixed frequency the second receive window listens on, in hertz.
uplink_data_rate_count: u16How many uplink data-rate numbers the plan defines, reserved included.
downlink_data_rate_count: u16How many downlink data-rate numbers the plan defines.
default_channel_count: u16How many channels the plan starts a device with.
join_channel_block_count: u16How many join channels the plan defines.
default_channel_block_count: u16How many default channel blocks the plan defines.
sub_band_count: u16How many sub-bands the plan defines.
beacon: PamojaLoraBeaconThe Class B beacon settings.
rx2_data_rate: u8The data rate the second receive window listens at.
default_max_eirp_dbm: i8The power ceiling assumed when no sub-band says otherwise, in dBm.
tx_power_step_db: u8The step between transmit-power settings, in dB.
max_tx_power_index: u8The highest transmit-power index the plan defines.
max_rx1_data_rate_offset: u8The highest RX1 data-rate offset the plan allows.
has_dwell_time_limit: u81 if the plan limits how long one transmission may hold a channel.
has_dwell_limited_payloads: u81 if the plan publishes a payload table for a dwell-limited device.
has_dwell_limited_rx1: u81 if the plan publishes a second RX1 mapping for a dwell-limited
downlink.
Trait Implementations§
Source§impl Clone for PamojaLoraPlanInfo
impl Clone for PamojaLoraPlanInfo
Source§fn clone(&self) -> PamojaLoraPlanInfo
fn clone(&self) -> PamojaLoraPlanInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for PamojaLoraPlanInfo
Source§impl Debug for PamojaLoraPlanInfo
impl Debug for PamojaLoraPlanInfo
impl Eq for PamojaLoraPlanInfo
Source§impl PartialEq for PamojaLoraPlanInfo
impl PartialEq for PamojaLoraPlanInfo
Source§fn eq(&self, other: &PamojaLoraPlanInfo) -> bool
fn eq(&self, other: &PamojaLoraPlanInfo) -> bool
self and other values to be equal, and is used by ==.