Skip to main content

Module status

Module status 

Source
Expand description

What an SX127x reports back in LoRa mode: the signal levels of a packet and the modem’s state.

The levels follow the RSSI and SNR in LoRa Mode section of the SX1276/77/78/79 datasheet (Rev 7) and its descriptions of RegPktSnrValue, RegPktRssiValue, and RegRssiValue. The chip reports power in whole decibels above an offset that depends on which of its two RF ports is in use, and SNR in quarters of a decibel, so every level comes out as a [Decibels] with nothing rounded away.

Structs§

ModemStatus
The live state of the LoRa modem, from RegModemStat.
PacketStatus
The signal levels of the last LoRa packet received.

Enums§

Port
The RF port a frequency is received on, which sets the RSSI offset.

Constants§

MID_BAND_HZ
The frequency, in hertz, above which a radio uses its high frequency port. It is the threshold Semtech’s LoRaMac-node applies to the SX1276’s RSSI offsets and errata.

Functions§

rssi_dbm
Decodes RegRssiValue, the signal power the receiver hears right now.