Driver for the SX1280 RF Transceiver

Dependents:   SX1280PingPong RangignMaster RangingSlave MSNV2-Terminal_V1-6 ... more

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 Crc
 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.
RadioBleCrcTypes_t CrcLength
 Size of the CRC block in the BLE packet.
RadioBleTestPayloads_t BleTestPayload
 Special BLE payload for test purpose.

Detailed Description

The type describing the packet parameters for every packet types.

Definition at line 764 of file sx1280.h.


Field Documentation

RadioBleTestPayloads_t BleTestPayload

Special BLE payload for test purpose.

Definition at line 813 of file sx1280.h.

RadioBleConnectionStates_t ConnectionState

The BLE state.

Definition at line 811 of file sx1280.h.

RadioLoRaCrcModes_t Crc

Size of CRC block in LORA packet.

Definition at line 790 of file sx1280.h.

RadioBleCrcTypes_t CrcLength

Size of the CRC block in the BLE packet.

Definition at line 812 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 779 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 788 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 777 of file sx1280.h.

RadioLoRaIQModes_t InvertIQ

Allows to swap IQ for LORA packet.

Definition at line 791 of file sx1280.h.

RadioPacketTypes_t PacketType

Packet to which the packet parameters are referring to.

Definition at line 766 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 778 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 787 of file sx1280.h.

RadioPreambleLengths_t PreambleLength

The preamble length for GFSK packet type.

The preamble length for FLRC packet type.

Definition at line 774 of file sx1280.h.

RadioFlrcSyncWordLengths_t SyncWordLength

The synchronization word length for FLRC packet type.

Definition at line 799 of file sx1280.h.

RadioSyncWordLengths_t SyncWordLength

The synchronization word length for GFSK packet type.

Definition at line 775 of file sx1280.h.

RadioSyncWordRxMatchs_t SyncWordMatch

The synchronization correlator to use to check synchronization word.

Definition at line 776 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 780 of file sx1280.h.