Table of Contents

Class LorawanJoinAccept

Namespace
Pamoja.Lorawan
Assembly
Pamoja.Lorawan.dll

An accepted join: the network settings, and the session it grants.

public sealed class LorawanJoinAccept : IDisposable
Inheritance
LorawanJoinAccept
Implements
Inherited Members

Properties

DevAddr

The device address the network assigned.

public uint DevAddr { get; }

Property Value

uint

DlSettings

The downlink settings byte, carrying the second receive window data rate and the first window offset.

public byte DlSettings { get; }

Property Value

byte

NetId

The identifier of the network that accepted the join.

public uint NetId { get; }

Property Value

uint

ReceiveDelayMicros

The delay from the end of an uplink to the first receive window, in microseconds, where a delay byte of zero means one second.

public uint ReceiveDelayMicros { get; }

Property Value

uint

Rx1DrOffset

How far below the uplink's data rate the first receive window listens.

public byte Rx1DrOffset { get; }

Property Value

byte

Rx2DataRate

The data rate the second receive window listens at.

public byte Rx2DataRate { get; }

Property Value

byte

RxDelay

The delay byte before the first receive window, as it arrived.

public byte RxDelay { get; }

Property Value

byte

Methods

CfList()

Reads the channel list the accept carried.

public LorawanCfList? CfList()

Returns

LorawanCfList

The list, or null when the accept carried none.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Session()

Takes the activated session this join grants.

public LorawanSession Session()

Returns

LorawanSession

The session, with its keys already derived.

Exceptions

PamojaException

The native call failed.