Mbed OS Reference
Loading...
Searching...
No Matches
packet_params Struct Reference

The type describing the packet parameters for every packet types. More...

#include <sx126x_ds.h>

Data Fields

radio_modems_t modem_type
 Packet to which the packet parameters are referring to. More...
 
struct {
   struct {
      uint16_t   preamble_length
 The preamble Tx length for GFSK packet type in bit. More...
 
      radio_preamble_detection_t   preamble_min_detect
 The preamble Rx length minimal for GFSK packet type. More...
 
      uint8_t   syncword_length
 The synchronization word length for GFSK packet type. More...
 
      radio_address_filter_t   addr_comp
 Activated SyncWord correlators. More...
 
      radio_pkt_length_t   header_type
 If the header is explicit, it will be transmitted in the GFSK packet. If the header is implicit, it will not be transmitted. More...
 
      uint8_t   payload_length
 Size of the payload in the GFSK packet. More...
 
      radio_crc_types_t   crc_length
 Size of the CRC block in the GFSK packet. More...
 
   }   gfsk
 Holds the GFSK packet parameters. More...
 
   struct {
      uint16_t   preamble_length
 The preamble length is the number of LoRa symbols in the preamble. More...
 
      lora_pkt_length_t   header_type
 If the header is explicit, it will be transmitted in the LoRa packet. If the header is implicit, it will not be transmitted. More...
 
      uint8_t   payload_length
 Size of the payload in the LoRa packet. More...
 
      lora_crc_mode_t   crc_mode
 Size of CRC block in LoRa packet. More...
 
      lora_IQ_mode_t   invert_IQ
 Allows to swap IQ for LoRa packet. More...
 
   }   lora
 Holds the LoRa packet parameters. More...
 
params
 Holds the packet parameters structure. More...
 
struct {
   struct {
      uint16_t   preamble_length
 The preamble Tx length for GFSK packet type in bit. More...
 
      radio_preamble_detection_t   preamble_min_detect
 The preamble Rx length minimal for GFSK packet type. More...
 
      uint8_t   syncword_length
 The synchronization word length for GFSK packet type. More...
 
      radio_address_filter_t   addr_comp
 Activated SyncWord correlators. More...
 
      radio_pkt_length_t   header_type
 If the header is explicit, it will be transmitted in the GFSK packet. If the header is implicit, it will not be transmitted. More...
 
      uint8_t   payload_length
 Size of the payload in the GFSK packet. More...
 
      radio_crc_types_t   crc_length
 Size of the CRC block in the GFSK packet. More...
 
   }   gfsk
 Holds the GFSK packet parameters. More...
 
   struct {
      uint16_t   preamble_length
 The preamble length is the number of LoRa symbols in the preamble. More...
 
      lora_pkt_length_t   header_type
 If the header is explicit, it will be transmitted in the LoRa packet. If the header is implicit, it will not be transmitted. More...
 
      uint8_t   payload_length
 Size of the payload in the LoRa packet. More...
 
      lora_crc_mode_t   crc_mode
 Size of CRC block in LoRa packet. More...
 
      lora_IQ_mode_t   invert_IQ
 Allows to swap IQ for LoRa packet. More...
 
   }   lora
 Holds the LoRa packet parameters. More...
 
params
 Holds the packet parameters structure. More...
 

Detailed Description

The type describing the packet parameters for every packet types.

Definition at line 581 of file sx126x_ds.h.

Field Documentation

◆ modem_type

Packet to which the packet parameters are referring to.

Definition at line 582 of file sx126x_ds.h.

◆ preamble_length

uint16_t preamble_length

The preamble Tx length for GFSK packet type in bit.

The preamble length is the number of LoRa symbols in the preamble.

Definition at line 588 of file sx126x_ds.h.

◆ preamble_min_detect

radio_preamble_detection_t preamble_min_detect

The preamble Rx length minimal for GFSK packet type.

Definition at line 589 of file sx126x_ds.h.

◆ syncword_length

uint8_t syncword_length

The synchronization word length for GFSK packet type.

Definition at line 590 of file sx126x_ds.h.

◆ addr_comp

Activated SyncWord correlators.

Definition at line 591 of file sx126x_ds.h.

◆ header_type [1/2]

radio_pkt_length_t header_type

If the header is explicit, it will be transmitted in the GFSK packet. If the header is implicit, it will not be transmitted.

Definition at line 592 of file sx126x_ds.h.

◆ payload_length

uint8_t payload_length

Size of the payload in the GFSK packet.

Size of the payload in the LoRa packet.

Definition at line 593 of file sx126x_ds.h.

◆ crc_length

radio_crc_types_t crc_length

Size of the CRC block in the GFSK packet.

Definition at line 594 of file sx126x_ds.h.

◆  [1/2]

struct { ... } gfsk

Holds the GFSK packet parameters.

◆ header_type [2/2]

lora_pkt_length_t header_type

If the header is explicit, it will be transmitted in the LoRa packet. If the header is implicit, it will not be transmitted.

Definition at line 602 of file sx126x_ds.h.

◆ crc_mode

lora_crc_mode_t crc_mode

Size of CRC block in LoRa packet.

Definition at line 604 of file sx126x_ds.h.

◆ invert_IQ

lora_IQ_mode_t invert_IQ

Allows to swap IQ for LoRa packet.

Definition at line 605 of file sx126x_ds.h.

◆  [1/2]

struct { ... } lora

Holds the LoRa packet parameters.

◆  [1/2]

struct { ... } params

Holds the packet parameters structure.

◆  [2/2]

struct { ... } gfsk

Holds the GFSK packet parameters.

◆  [2/2]

struct { ... } lora

Holds the LoRa packet parameters.

◆  [2/2]

struct { ... } params

Holds the packet parameters structure.