Table of Contents

Struct Sx127xModemStatus

Namespace
Pamoja.Radios
Assembly
Pamoja.Radios.dll

The live state of an SX127x LoRa modem, from RegModemStat.

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

Constructors

Sx127xModemStatus(byte?, bool, bool, bool, bool, bool)

The live state of an SX127x LoRa modem, from RegModemStat.

public Sx127xModemStatus(byte? CodingRateDenominator, bool Clear, bool HeaderValid, bool RxOngoing, bool SignalSynchronized, bool SignalDetected)

Parameters

CodingRateDenominator byte?

The coding rate denominator the last header announced, or null for a reserved value.

Clear bool

Whether the modem is clear.

HeaderValid bool

Whether the header of the packet under way is valid.

RxOngoing bool

Whether a reception is under way.

SignalSynchronized bool

Whether the modem has synchronized on the end of the preamble.

SignalDetected bool

Whether a LoRa preamble has been detected.

Properties

Clear

Whether the modem is clear.

public bool Clear { get; init; }

Property Value

bool

CodingRateDenominator

The coding rate denominator the last header announced, or null for a reserved value.

public byte? CodingRateDenominator { get; init; }

Property Value

byte?

HeaderValid

Whether the header of the packet under way is valid.

public bool HeaderValid { get; init; }

Property Value

bool

RxOngoing

Whether a reception is under way.

public bool RxOngoing { get; init; }

Property Value

bool

SignalDetected

Whether a LoRa preamble has been detected.

public bool SignalDetected { get; init; }

Property Value

bool

SignalSynchronized

Whether the modem has synchronized on the end of the preamble.

public bool SignalSynchronized { get; init; }

Property Value

bool