Table of Contents

Class Sx127xRegister

Namespace
Pamoja.Radios
Assembly
Pamoja.Radios.dll

The SX127x register addresses, from Table 41 of the datasheet with the LoRa page selected.

public static class Sx127xRegister
Inheritance
Sx127xRegister
Inherited Members

Fields

DetectOptimize

RegDetectOptimize: the automatic IF and the detection optimization.

public const byte DetectOptimize = 49

Field Value

byte

DetectionThreshold

RegDetectionThreshold, the LoRa detection threshold.

public const byte DetectionThreshold = 55

Field Value

byte

DioMapping1

RegDioMapping1, the events DIO0 to DIO3 signal.

public const byte DioMapping1 = 64

Field Value

byte

DioMapping2

RegDioMapping2, the events DIO4 and DIO5 signal.

public const byte DioMapping2 = 65

Field Value

byte

Fifo

RegFifo, the LoRa data buffer, read or written at RegFifoAddrPtr.

public const byte Fifo = 0

Field Value

byte

FifoAddrPtr

RegFifoAddrPtr, where the next RegFifo access lands.

public const byte FifoAddrPtr = 13

Field Value

byte

FifoRxBaseAddr

RegFifoRxBaseAddr, where received payloads start.

public const byte FifoRxBaseAddr = 15

Field Value

byte

FifoRxCurrentAddr

RegFifoRxCurrentAddr, where the last received packet starts.

public const byte FifoRxCurrentAddr = 16

Field Value

byte

FifoTxBaseAddr

RegFifoTxBaseAddr, where a transmitted payload starts.

public const byte FifoTxBaseAddr = 14

Field Value

byte

FrfLsb

RegFrfLsb, the low byte of the carrier word.

public const byte FrfLsb = 8

Field Value

byte

FrfMid

RegFrfMid, the middle byte of the carrier word.

public const byte FrfMid = 7

Field Value

byte

FrfMsb

RegFrfMsb, the top byte of the carrier word.

public const byte FrfMsb = 6

Field Value

byte

HighBwOptimize1

RegHighBwOptimize1, which the 500 kHz erratum sets.

public const byte HighBwOptimize1 = 54

Field Value

byte

HighBwOptimize2

RegHighBwOptimize2, which the 500 kHz erratum sets.

public const byte HighBwOptimize2 = 58

Field Value

byte

HopChannel

RegHopChannel, the PLL lock and the CRC the last header announced.

public const byte HopChannel = 28

Field Value

byte

IfFreq1

RegIfFreq1, which the spurious reception erratum clears.

public const byte IfFreq1 = 48

Field Value

byte

IfFreq2

RegIfFreq2, which the spurious reception erratum sets.

public const byte IfFreq2 = 47

Field Value

byte

ImageCal

RegImageCal, at the address of RegInvertIQ2 on the FSK page.

public const byte ImageCal = 59

Field Value

byte

InvertIq

RegInvertIQ, the IQ polarity of each path.

public const byte InvertIq = 51

Field Value

byte

InvertIq2

RegInvertIQ2, which completes an IQ inversion.

public const byte InvertIq2 = 59

Field Value

byte

IrqFlags

RegIrqFlags, the interrupts raised, each cleared by writing it back as a 1.

public const byte IrqFlags = 18

Field Value

byte

IrqFlagsMask

RegIrqFlagsMask, the interrupts masked off.

public const byte IrqFlagsMask = 17

Field Value

byte

Lna

RegLna, the LNA gain and current.

public const byte Lna = 12

Field Value

byte

MaxPayloadLength

RegMaxPayloadLength, the longest payload a received header may announce.

public const byte MaxPayloadLength = 35

Field Value

byte

ModemConfig1

RegModemConfig1: bandwidth, coding rate, and header mode.

public const byte ModemConfig1 = 29

Field Value

byte

ModemConfig2

RegModemConfig2: spreading factor, CRC, and the top bits of the symbol timeout.

public const byte ModemConfig2 = 30

Field Value

byte

ModemConfig3

RegModemConfig3: low data rate optimization and the automatic gain control.

public const byte ModemConfig3 = 38

Field Value

byte

ModemStat

RegModemStat, the live state of the modem.

public const byte ModemStat = 24

Field Value

byte

Ocp

RegOcp, the amplifier current limit.

public const byte Ocp = 11

Field Value

byte

OpMode

RegOpMode: LoRa or FSK, the register page, and the operating mode.

public const byte OpMode = 1

Field Value

byte

PaConfig

RegPaConfig: the amplifier output, its maximum, and the power.

public const byte PaConfig = 9

Field Value

byte

PaDac

RegPaDac, the +20 dBm setting of PA_BOOST.

public const byte PaDac = 77

Field Value

byte

PaRamp

RegPaRamp, the amplifier ramp time.

public const byte PaRamp = 10

Field Value

byte

PayloadLength

RegPayloadLength, the payload length to send.

public const byte PayloadLength = 34

Field Value

byte

PktRssiValue

RegPktRssiValue, the RSSI of the last packet.

public const byte PktRssiValue = 26

Field Value

byte

PktSnrValue

RegPktSnrValue, the SNR of the last packet in quarters of a decibel.

public const byte PktSnrValue = 25

Field Value

byte

PreambleLsb

RegPreambleLsb, the low byte of the preamble length.

public const byte PreambleLsb = 33

Field Value

byte

PreambleMsb

RegPreambleMsb, the high byte of the preamble length.

public const byte PreambleMsb = 32

Field Value

byte

RssiValue

RegRssiValue, the RSSI the receiver hears right now.

public const byte RssiValue = 27

Field Value

byte

RssiWideband

RegRssiWideband, a wideband RSSI sample.

public const byte RssiWideband = 44

Field Value

byte

RxNbBytes

RegRxNbBytes, the payload length of the last packet received.

public const byte RxNbBytes = 19

Field Value

byte

SymbTimeoutLsb

RegSymbTimeoutLsb, the low byte of the symbol timeout.

public const byte SymbTimeoutLsb = 31

Field Value

byte

SyncWord

RegSyncWord, the LoRa sync word.

public const byte SyncWord = 57

Field Value

byte

Tcxo

RegTcxo, a crystal or a TCXO on XTA.

public const byte Tcxo = 75

Field Value

byte

Version

RegVersion, the silicon revision.

public const byte Version = 66

Field Value

byte