Struct Sx127xModemStatus
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
CodingRateDenominatorbyte?The coding rate denominator the last header announced, or
nullfor a reserved value.ClearboolWhether the modem is clear.
HeaderValidboolWhether the header of the packet under way is valid.
RxOngoingboolWhether a reception is under way.
SignalSynchronizedboolWhether the modem has synchronized on the end of the preamble.
SignalDetectedboolWhether a LoRa preamble has been detected.
Properties
Clear
Whether the modem is clear.
public bool Clear { get; init; }
Property Value
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
RxOngoing
Whether a reception is under way.
public bool RxOngoing { get; init; }
Property Value
SignalDetected
Whether a LoRa preamble has been detected.
public bool SignalDetected { get; init; }
Property Value
SignalSynchronized
Whether the modem has synchronized on the end of the preamble.
public bool SignalSynchronized { get; init; }