Class LorawanDeviceSettings
What a device's radio can do, and how it takes part.
public sealed record LorawanDeviceSettings : IEquatable<LorawanDeviceSettings>
- Inheritance
-
LorawanDeviceSettings
- Implements
- Inherited Members
Remarks
Only the output power range is required. The rest start as a typical node: TS001-1.0.4, adaptive data rate on, an antenna with no gain over its cable, a radio that tunes 137 to 1020 MHz as an SX1276 does, the region's duty cycle kept, and no repeater in the path.
Constructors
LorawanDeviceSettings(sbyte, sbyte)
What a device's radio can do, and how it takes part.
public LorawanDeviceSettings(sbyte MinOutputDbm, sbyte MaxOutputDbm)
Parameters
MinOutputDbmsbyteThe lowest power the radio puts out, conducted, in dBm.
MaxOutputDbmsbyteThe highest, conducted, in dBm.
Remarks
Only the output power range is required. The rest start as a typical node: TS001-1.0.4, adaptive data rate on, an antenna with no gain over its cable, a radio that tunes 137 to 1020 MHz as an SX1276 does, the region's duty cycle kept, and no repeater in the path.
Properties
Adr
Whether the network manages the data rate and power.
public bool Adr { get; init; }
Property Value
AntennaGainDb
The antenna gain less the cable and connector losses, in dB.
public sbyte AntennaGainDb { get; init; }
Property Value
BehindRepeater
Whether to size payloads for a path through a relay.
public bool BehindRepeater { get; init; }
Property Value
HighestHz
The highest, in hertz.
public uint HighestHz { get; init; }
Property Value
LowestHz
The lowest frequency the radio and its front end can use, in hertz.
public uint LowestHz { get; init; }
Property Value
MaxOutputDbm
The highest, conducted, in dBm.
public sbyte MaxOutputDbm { get; init; }
Property Value
MinOutputDbm
The lowest power the radio puts out, conducted, in dBm.
public sbyte MinOutputDbm { get; init; }
Property Value
RegionalDutyCycle
Whether to hold the device to the region's sub-band duty cycles.
public bool RegionalDutyCycle { get; init; }
Property Value
Seed
A seed for the random choices of channel and retry delay, ideally from a hardware random source. The device identifier is mixed in.
public uint Seed { get; init; }
Property Value
Version
The link layer revision the network was told the device follows.
public LorawanVersion Version { get; init; }