Table of Contents

Class LorawanDeviceSettings

Namespace
Pamoja.Lorawan
Assembly
Pamoja.Lorawan.dll

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

MinOutputDbm sbyte

The lowest power the radio puts out, conducted, in dBm.

MaxOutputDbm sbyte

The 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

bool

AntennaGainDb

The antenna gain less the cable and connector losses, in dB.

public sbyte AntennaGainDb { get; init; }

Property Value

sbyte

BehindRepeater

Whether to size payloads for a path through a relay.

public bool BehindRepeater { get; init; }

Property Value

bool

HighestHz

The highest, in hertz.

public uint HighestHz { get; init; }

Property Value

uint

LowestHz

The lowest frequency the radio and its front end can use, in hertz.

public uint LowestHz { get; init; }

Property Value

uint

MaxOutputDbm

The highest, conducted, in dBm.

public sbyte MaxOutputDbm { get; init; }

Property Value

sbyte

MinOutputDbm

The lowest power the radio puts out, conducted, in dBm.

public sbyte MinOutputDbm { get; init; }

Property Value

sbyte

RegionalDutyCycle

Whether to hold the device to the region's sub-band duty cycles.

public bool RegionalDutyCycle { get; init; }

Property Value

bool

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

uint

Version

The link layer revision the network was told the device follows.

public LorawanVersion Version { get; init; }

Property Value

LorawanVersion