Driver for the SX1280 RF Transceiver

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

Embed: (wiki syntax)

« Back to documentation index

PacketStatus_t Struct Reference

PacketStatus_t Struct Reference

Represents the packet status for every packet type. More...

#include <sx1280.h>

Data Fields

RadioPacketTypes_t packetType
 Packet to which the packet status are referring to.
int8_t RssiSync
 The RSSI measured on last packet.
bool SyncError:1
 SyncWord error on last packet.
bool LengthError:1
 Length error on last packet.
bool CrcError:1
 CRC error on last packet.
bool AbortError:1
 Abort error on last packet.
bool HeaderReceived:1
 Header received on last packet.
bool PacketReceived:1
 Packet received.
bool PacketControlerBusy:1
 Packet controller busy.
struct {
   bool   SyncError:1
 SyncWord error on last packet.
   bool   LengthError:1
 Length error on last packet.
   bool   CrcError:1
 CRC error on last packet.
   bool   AbortError:1
 Abort error on last packet.
   bool   HeaderReceived:1
 Header received on last packet.
   bool   PacketReceived:1
 Packet received.
   bool   PacketControlerBusy:1
 Packet controller busy.
ErrorStatus
 The error status Byte.
bool RxNoAck:1
 No acknowledgment received for Rx with variable length packets.
bool PacketSent:1
 Packet sent, only relevant in Tx mode.
struct {
   bool   RxNoAck:1
 No acknowledgment received for Rx with variable length packets.
   bool   PacketSent:1
 Packet sent, only relevant in Tx mode.
TxRxStatus
 The Tx/Rx status Byte.
uint8_t SyncAddrStatus:3
 The id of the correlator who found the packet.
int8_t RssiPkt
 The RSSI of the last packet.
int8_t SnrPkt
 The SNR of the last packet.
struct {
   bool   SyncError:1
 SyncWord error on last packet.
   bool   LengthError:1
 Length error on last packet.
   bool   CrcError:1
 CRC error on last packet.
   bool   AbortError:1
 Abort error on last packet.
   bool   HeaderReceived:1
 Header received on last packet.
   bool   PacketReceived:1
 Packet received.
   bool   PacketControlerBusy:1
 Packet controller busy.
ErrorStatus
 The error status Byte.
uint8_t RxPid:2
 PID of the Rx.
bool RxPidErr:1
 Received PID error.
struct {
   uint8_t   RxPid:2
 PID of the Rx.
   bool   RxNoAck:1
 No acknowledgment received for Rx with variable length packets.
   bool   RxPidErr:1
 Received PID error.
   bool   PacketSent:1
 Packet sent, only relevant in Tx mode.
TxRxStatus
 The Tx/Rx status Byte.
struct {
   bool   SyncError:1
 SyncWord error on last packet.
   bool   LengthError:1
 Length error on last packet.
   bool   CrcError:1
 CRC error on last packet.
   bool   AbortError:1
 Abort error on last packet.
   bool   HeaderReceived:1
 Header received on last packet.
   bool   PacketReceived:1
 Packet received.
   bool   PacketControlerBusy:1
 Packet controller busy.
ErrorStatus
 The error status Byte.
struct {
   bool   PacketSent:1
 Packet sent, only relevant in Tx mode.
TxRxStatus
 The Tx/Rx status Byte.

Detailed Description

Represents the packet status for every packet type.

Definition at line 822 of file sx1280.h.


Field Documentation

bool AbortError

Abort error on last packet.

Definition at line 835 of file sx1280.h.

bool CrcError

CRC error on last packet.

Definition at line 834 of file sx1280.h.

struct { ... } ::@17 ErrorStatus

The error status Byte.

struct { ... } ::@19 ErrorStatus

The error status Byte.

struct { ... } ::@21 ErrorStatus

The error status Byte.

Header received on last packet.

Definition at line 836 of file sx1280.h.

Length error on last packet.

Definition at line 833 of file sx1280.h.

Packet controller busy.

Definition at line 838 of file sx1280.h.

Packet received.

Definition at line 837 of file sx1280.h.

bool PacketSent

Packet sent, only relevant in Tx mode.

Definition at line 843 of file sx1280.h.

RadioPacketTypes_t packetType

Packet to which the packet status are referring to.

Definition at line 824 of file sx1280.h.

int8_t RssiPkt

The RSSI of the last packet.

Definition at line 849 of file sx1280.h.

int8_t RssiSync

The RSSI measured on last packet.

The RSSI of the last packet.

Definition at line 829 of file sx1280.h.

bool RxNoAck

No acknowledgment received for Rx with variable length packets.

Definition at line 842 of file sx1280.h.

uint8_t RxPid

PID of the Rx.

Definition at line 867 of file sx1280.h.

bool RxPidErr

Received PID error.

Definition at line 869 of file sx1280.h.

int8_t SnrPkt

The SNR of the last packet.

Definition at line 850 of file sx1280.h.

uint8_t SyncAddrStatus

The id of the correlator who found the packet.

Definition at line 845 of file sx1280.h.

bool SyncError

SyncWord error on last packet.

Definition at line 832 of file sx1280.h.

struct { ... } ::@22 TxRxStatus

The Tx/Rx status Byte.

struct { ... } ::@20 TxRxStatus

The Tx/Rx status Byte.

struct { ... } ::@18 TxRxStatus

The Tx/Rx status Byte.