Struct LoraChannelBlock
A run of evenly spaced channels.
public readonly record struct LoraChannelBlock : IEquatable<LoraChannelBlock>
- Implements
- Inherited Members
Constructors
LoraChannelBlock(uint, uint, ushort, byte, byte)
A run of evenly spaced channels.
public LoraChannelBlock(uint StartHz, uint StepHz, ushort Count, byte MinDataRate, byte MaxDataRate)
Parameters
StartHzuintThe first channel's centre frequency in hertz.
StepHzuintThe spacing between channels in hertz.
CountushortHow many channels the block holds.
MinDataRatebyteThe slowest data rate the block allows.
MaxDataRatebyteThe fastest data rate the block allows.
Properties
Count
How many channels the block holds.
public ushort Count { get; init; }
Property Value
MaxDataRate
The fastest data rate the block allows.
public byte MaxDataRate { get; init; }
Property Value
MinDataRate
The slowest data rate the block allows.
public byte MinDataRate { get; init; }
Property Value
StartHz
The first channel's centre frequency in hertz.
public uint StartHz { get; init; }
Property Value
StepHz
The spacing between channels in hertz.
public uint StepHz { get; init; }