Table of Contents

Struct Sx127xModem

Namespace
Pamoja.Radios
Assembly
Pamoja.Radios.dll

The LoRa modem registers of an SX127x for a link.

public readonly record struct Sx127xModem : IEquatable<Sx127xModem>
Implements
Inherited Members

Constructors

Sx127xModem(byte, byte, byte, byte, byte)

The LoRa modem registers of an SX127x for a link.

public Sx127xModem(byte ModemConfig1, byte ModemConfig2, byte ModemConfig3, byte DetectionOptimize, byte DetectionThreshold)

Parameters

ModemConfig1 byte

RegModemConfig1: bandwidth, coding rate, and header mode.

ModemConfig2 byte

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

ModemConfig3 byte

RegModemConfig3: low data rate optimization and the AGC.

DetectionOptimize byte

The DetectionOptimize bits for the low three bits of RegDetectOptimize.

DetectionThreshold byte

RegDetectionThreshold.

Properties

DetectionOptimize

The DetectionOptimize bits for the low three bits of RegDetectOptimize.

public byte DetectionOptimize { get; init; }

Property Value

byte

DetectionThreshold

RegDetectionThreshold.

public byte DetectionThreshold { get; init; }

Property Value

byte

ModemConfig1

RegModemConfig1: bandwidth, coding rate, and header mode.

public byte ModemConfig1 { get; init; }

Property Value

byte

ModemConfig2

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

public byte ModemConfig2 { get; init; }

Property Value

byte

ModemConfig3

RegModemConfig3: low data rate optimization and the AGC.

public byte ModemConfig3 { get; init; }

Property Value

byte