Struct Sx127xModem
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
ModemConfig1byteRegModemConfig1: bandwidth, coding rate, and header mode.
ModemConfig2byteRegModemConfig2: spreading factor, CRC, and the top bits of the symbol timeout.
ModemConfig3byteRegModemConfig3: low data rate optimization and the AGC.
DetectionOptimizebyteThe DetectionOptimize bits for the low three bits of RegDetectOptimize.
DetectionThresholdbyteRegDetectionThreshold.
Properties
DetectionOptimize
The DetectionOptimize bits for the low three bits of RegDetectOptimize.
public byte DetectionOptimize { get; init; }
Property Value
DetectionThreshold
RegDetectionThreshold.
public byte DetectionThreshold { get; init; }
Property Value
ModemConfig1
RegModemConfig1: bandwidth, coding rate, and header mode.
public byte ModemConfig1 { get; init; }
Property Value
ModemConfig2
RegModemConfig2: spreading factor, CRC, and the top bits of the symbol timeout.
public byte ModemConfig2 { get; init; }
Property Value
ModemConfig3
RegModemConfig3: low data rate optimization and the AGC.
public byte ModemConfig3 { get; init; }