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