Table of Contents

Struct LoraPlanInfo

Namespace
Pamoja.Lora
Assembly
Pamoja.Lora.dll

The scalar facts of a plan, read in one call.

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

Constructors

LoraPlanInfo(string, ushort, ushort, ushort, ushort, ushort, ushort, LoraBeacon, LoraRx2, sbyte, byte, byte, byte, bool, bool, bool)

The scalar facts of a plan, read in one call.

public LoraPlanInfo(string Name, ushort UplinkDataRateCount, ushort DownlinkDataRateCount, ushort DefaultChannelCount, ushort JoinChannelBlockCount, ushort DefaultChannelBlockCount, ushort SubBandCount, LoraBeacon Beacon, LoraRx2 Rx2, sbyte DefaultMaxEirpDbm, byte TxPowerStepDb, byte MaxTxPowerIndex, byte MaxRx1DataRateOffset, bool HasDwellTimeLimit, bool HasDwellLimitedPayloads, bool HasDwellLimitedRx1)

Parameters

Name string

The specification's name for the band, such as EU863-870.

UplinkDataRateCount ushort

How many uplink data-rate numbers the plan defines.

DownlinkDataRateCount ushort

How many downlink data-rate numbers the plan defines.

DefaultChannelCount ushort

How many channels the plan starts a device with.

JoinChannelBlockCount ushort

How many join channel blocks the plan defines.

DefaultChannelBlockCount ushort

How many default channel blocks the plan defines.

SubBandCount ushort

How many sub-bands the plan defines.

Beacon LoraBeacon

The Class B beacon settings.

Rx2 LoraRx2

Where the second receive window listens.

DefaultMaxEirpDbm sbyte

The ceiling assumed when no sub-band says otherwise.

TxPowerStepDb byte

The step between transmit-power settings, in dB.

MaxTxPowerIndex byte

The highest transmit-power index the plan defines.

MaxRx1DataRateOffset byte

The highest RX1 data-rate offset the plan allows.

HasDwellTimeLimit bool

Whether the plan limits how long a transmission may hold a channel.

HasDwellLimitedPayloads bool

Whether the plan publishes a dwell-limited payload table.

HasDwellLimitedRx1 bool

Whether the plan publishes a dwell-limited RX1 mapping.

Properties

Beacon

The Class B beacon settings.

public LoraBeacon Beacon { get; init; }

Property Value

LoraBeacon

DefaultChannelBlockCount

How many default channel blocks the plan defines.

public ushort DefaultChannelBlockCount { get; init; }

Property Value

ushort

DefaultChannelCount

How many channels the plan starts a device with.

public ushort DefaultChannelCount { get; init; }

Property Value

ushort

DefaultMaxEirpDbm

The ceiling assumed when no sub-band says otherwise.

public sbyte DefaultMaxEirpDbm { get; init; }

Property Value

sbyte

DownlinkDataRateCount

How many downlink data-rate numbers the plan defines.

public ushort DownlinkDataRateCount { get; init; }

Property Value

ushort

HasDwellLimitedPayloads

Whether the plan publishes a dwell-limited payload table.

public bool HasDwellLimitedPayloads { get; init; }

Property Value

bool

HasDwellLimitedRx1

Whether the plan publishes a dwell-limited RX1 mapping.

public bool HasDwellLimitedRx1 { get; init; }

Property Value

bool

HasDwellTimeLimit

Whether the plan limits how long a transmission may hold a channel.

public bool HasDwellTimeLimit { get; init; }

Property Value

bool

JoinChannelBlockCount

How many join channel blocks the plan defines.

public ushort JoinChannelBlockCount { get; init; }

Property Value

ushort

MaxRx1DataRateOffset

The highest RX1 data-rate offset the plan allows.

public byte MaxRx1DataRateOffset { get; init; }

Property Value

byte

MaxTxPowerIndex

The highest transmit-power index the plan defines.

public byte MaxTxPowerIndex { get; init; }

Property Value

byte

Name

The specification's name for the band, such as EU863-870.

public string Name { get; init; }

Property Value

string

Rx2

Where the second receive window listens.

public LoraRx2 Rx2 { get; init; }

Property Value

LoraRx2

SubBandCount

How many sub-bands the plan defines.

public ushort SubBandCount { get; init; }

Property Value

ushort

TxPowerStepDb

The step between transmit-power settings, in dB.

public byte TxPowerStepDb { get; init; }

Property Value

byte

UplinkDataRateCount

How many uplink data-rate numbers the plan defines.

public ushort UplinkDataRateCount { get; init; }

Property Value

ushort