Skip to main content

pamoja_sx126x_set_lora_packet_params

Function pamoja_sx126x_set_lora_packet_params 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx126x_set_lora_packet_params( link: PamojaLoraLink, payload_len: u8, invert_iq: bool, ) -> PamojaSx126xCommand
Expand description

SetPacketParams for a LoRa link and a payload.

§Arguments

  • link - the link settings, whose preamble, header, and CRC the frame uses.
  • payload_len - the payload length to send, or the most a receiver accepts.
  • invert_iq - true for inverted IQ, as a LoRaWAN gateway sends downlinks.

§Returns

The command.