Uttam Bhat / SX1280Lib

Fork of SX1280Lib by Semtech

Embed: (wiki syntax)

« Back to documentation index

PacketParams_t Struct Reference

PacketParams_t Struct Reference

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

#include <sx1280.h>

Data Fields

RadioPacketTypes_t PacketType
 Packet to which the packet parameters are referring to.
struct {
Params
 Holds the packet parameters structure.
RadioPreambleLengths_t PreambleLength
 The preamble length for GFSK packet type.
RadioSyncWordLengths_t SyncWordLength
 The synchronization word length for GFSK packet type.
RadioSyncWordRxMatchs_t SyncWordMatch
 The synchronization correlator to use to check synchronization word.
RadioPacketLengthModes_t HeaderType
 If the header is explicit, it will be transmitted in the GFSK packet. If the header is implicit, it will not be transmitted.
uint8_t PayloadLength
 Size of the payload in the GFSK packet.
RadioCrcTypes_t CrcLength
 Size of the CRC block in the GFSK packet.
RadioWhiteningModes_t Whitening
 Usage of whitening on payload and CRC blocks plus header block if header type is variable.
uint8_t PreambleLength
 The preamble length is the number of LORA symbols in the preamble. To set it, use the following formula.
RadioLoRaPacketLengthsModes_t HeaderType
 If the header is explicit, it will be transmitted in the LORA packet. If the header is implicit, it will not be transmitted.
RadioLoRaCrcModes_t CrcMode
 Size of CRC block in LORA packet.
RadioLoRaIQModes_t InvertIQ
 Allows to swap IQ for LORA packet.
RadioFlrcSyncWordLengths_t SyncWordLength
 The synchronization word length for FLRC packet type.
RadioBleConnectionStates_t ConnectionState
 The BLE state.
RadioBleCrcFields_t CrcField
 Size of the CRC block in the BLE packet.
RadioBlePacketTypes_t BlePacketType
 Special BLE packet types.

Detailed Description

The type describing the packet parameters for every packet types.

Definition at line 755 of file sx1280.h.


Field Documentation

RadioBlePacketTypes_t BlePacketType

Special BLE packet types.

Definition at line 804 of file sx1280.h.

RadioBleConnectionStates_t ConnectionState

The BLE state.

Definition at line 802 of file sx1280.h.

RadioBleCrcFields_t CrcField

Size of the CRC block in the BLE packet.

Definition at line 803 of file sx1280.h.

RadioCrcTypes_t CrcLength

Size of the CRC block in the GFSK packet.

Size of the CRC block in the FLRC packet.

Definition at line 770 of file sx1280.h.

RadioLoRaCrcModes_t CrcMode

Size of CRC block in LORA packet.

Definition at line 781 of file sx1280.h.

RadioLoRaPacketLengthsModes_t HeaderType

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 779 of file sx1280.h.

RadioPacketLengthModes_t HeaderType

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

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

Definition at line 768 of file sx1280.h.

RadioLoRaIQModes_t InvertIQ

Allows to swap IQ for LORA packet.

Definition at line 782 of file sx1280.h.

RadioPacketTypes_t PacketType

Packet to which the packet parameters are referring to.

Definition at line 757 of file sx1280.h.

struct { ... } Params

Holds the packet parameters structure.

uint8_t PayloadLength

Size of the payload in the GFSK packet.

Size of the payload in the FLRC packet.

Size of the payload in the LORA packet.

Definition at line 769 of file sx1280.h.

uint8_t PreambleLength

The preamble length is the number of LORA symbols in the preamble. To set it, use the following formula.

 Number of symbols = PreambleLength[3:0] * ( 2^PreambleLength[7:4] ) 

Definition at line 778 of file sx1280.h.

RadioPreambleLengths_t PreambleLength

The preamble length for GFSK packet type.

The preamble length for FLRC packet type.

Definition at line 765 of file sx1280.h.

RadioFlrcSyncWordLengths_t SyncWordLength

The synchronization word length for FLRC packet type.

Definition at line 790 of file sx1280.h.

RadioSyncWordLengths_t SyncWordLength

The synchronization word length for GFSK packet type.

Definition at line 766 of file sx1280.h.

RadioSyncWordRxMatchs_t SyncWordMatch

The synchronization correlator to use to check synchronization word.

Definition at line 767 of file sx1280.h.

RadioWhiteningModes_t Whitening

Usage of whitening on payload and CRC blocks plus header block if header type is variable.

Usage of whitening on PDU and CRC blocks of BLE packet.

Definition at line 771 of file sx1280.h.