#[repr(C)]pub struct PamojaLoraPlanRules {
pub kind: u8,
pub channel_list: u8,
pub tx_param_setup: u8,
pub join_sequence: u8,
pub power_reference: u8,
pub gain_allowance_db: u8,
pub downlink_channel_block_count: u16,
pub join_plan_count: u16,
}Expand description
How a plan’s channels are defined and used, read in one call.
Fields§
§kind: u8§channel_list: u8For a dynamic plan, one of the PAMOJA_LORA_CHANNEL_LIST_* constants.
tx_param_setup: u81 if devices on the plan answer TXParamSetupReq.
join_sequence: u8One of the PAMOJA_LORA_JOIN_* constants.
power_reference: u8One of the PAMOJA_LORA_POWER_* constants.
gain_allowance_db: u8For a conducted ceiling, the antenna gain it already allows for, in dB.
downlink_channel_block_count: u16How many downlink channel blocks the plan defines.
join_plan_count: u16How many runs of join channels select a plan, which only the published CN470-510 plans carry.
Trait Implementations§
Source§impl Clone for PamojaLoraPlanRules
impl Clone for PamojaLoraPlanRules
Source§fn clone(&self) -> PamojaLoraPlanRules
fn clone(&self) -> PamojaLoraPlanRules
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 PamojaLoraPlanRules
Source§impl Debug for PamojaLoraPlanRules
impl Debug for PamojaLoraPlanRules
impl Eq for PamojaLoraPlanRules
Source§impl PartialEq for PamojaLoraPlanRules
impl PartialEq for PamojaLoraPlanRules
impl StructuralPartialEq for PamojaLoraPlanRules
Auto Trait Implementations§
impl Freeze for PamojaLoraPlanRules
impl RefUnwindSafe for PamojaLoraPlanRules
impl Send for PamojaLoraPlanRules
impl Sync for PamojaLoraPlanRules
impl Unpin for PamojaLoraPlanRules
impl UnsafeUnpin for PamojaLoraPlanRules
impl UnwindSafe for PamojaLoraPlanRules
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