Skip to main content

Module status

Module status 

Source
Expand description

What an SX126x reports back: its status byte, its errors, and a received packet.

Each decoder follows section 13.5 and 13.6 of the SX1261/2 datasheet. Signal levels come out as [Decibels], held to a hundredth of a decibel, since the chip reports power in half decibels and SNR in quarters, so nothing is rounded away.

Structs§

DeviceErrors
The errors an SX126x has recorded, from GetDeviceErrors and Table 13-86.
PacketStatus
The signal levels of the last LoRa packet received, from GetPacketStatus.
RxBufferStatus
Where a received payload sits in the data buffer, from GetRxBufferStatus.
Status
The status byte an SX126x returns.

Enums§

ChipMode
The operating mode in bits 6 to 4 of the status byte, from Table 13-76.
CommandStatus
The outcome of the last command, in bits 3 to 1 of the status byte, from Table 13-76.

Functions§

rssi_inst_dbm
Decodes the instantaneous RSSI of a GetRssiInst answer, -RssiInst/2 in dBm.