Struct lora_phy::mod_params::PacketParams
source · pub struct PacketParams { /* private fields */ }Expand description
Packet parameters for a send or receive communication channel
Implementations§
source§impl PacketParams
impl PacketParams
sourcepub fn new_for_sx1261_2(
preamble_length: u16,
implicit_header: bool,
payload_length: u8,
crc_on: bool,
iq_inverted: bool,
modulation_params: &ModulationParams
) -> Result<Self, RadioError>
pub fn new_for_sx1261_2( preamble_length: u16, implicit_header: bool, payload_length: u8, crc_on: bool, iq_inverted: bool, modulation_params: &ModulationParams ) -> Result<Self, RadioError>
Create packet parameters specific to the LoRa chip kind and type
source§impl PacketParams
impl PacketParams
sourcepub fn new_for_sx1276_7_8_9(
preamble_length: u16,
implicit_header: bool,
payload_length: u8,
crc_on: bool,
iq_inverted: bool,
modulation_params: &ModulationParams
) -> Result<Self, RadioError>
pub fn new_for_sx1276_7_8_9( preamble_length: u16, implicit_header: bool, payload_length: u8, crc_on: bool, iq_inverted: bool, modulation_params: &ModulationParams ) -> Result<Self, RadioError>
Create packet parameters specific to the LoRa chip kind and type
Auto Trait Implementations§
impl RefUnwindSafe for PacketParams
impl Send for PacketParams
impl Sync for PacketParams
impl Unpin for PacketParams
impl UnwindSafe for PacketParams
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