Table of Contents

Class GatewayNetworkEvent

Namespace
Pamoja.Gateway
Assembly
Pamoja.Gateway.dll

What a forwarded packet turned out to be, and where its answer goes.

public sealed record GatewayNetworkEvent : IEquatable<GatewayNetworkEvent>
Inheritance
GatewayNetworkEvent
Implements
Inherited Members

Constructors

GatewayNetworkEvent(GatewayNetworkOutcome, uint)

What a forwarded packet turned out to be, and where its answer goes.

public GatewayNetworkEvent(GatewayNetworkOutcome Outcome, uint DevAddr)

Parameters

Outcome GatewayNetworkOutcome

Which of the three this was.

DevAddr uint

The address granted, or the address a frame claimed.

Properties

Accept

The packet carrying the accept, for a join.

public GatewayTxpk? Accept { get; init; }

Property Value

GatewayTxpk

Confirmed

Whether the device asked to be acknowledged.

public bool Confirmed { get; init; }

Property Value

bool

DevAddr

The address granted, or the address a frame claimed.

public uint DevAddr { get; init; }

Property Value

uint

DevEui

The device that joined, for a join.

public byte[]? DevEui { get; init; }

Property Value

byte[]

Fcnt

The counter the frame carried, reconstructed to its full width, for data.

public uint? Fcnt { get; init; }

Property Value

uint?

Fport

The port the frame was sent on, absent for a frame carrying only options.

public byte? Fport { get; init; }

Property Value

byte?

Outcome

Which of the three this was.

public GatewayNetworkOutcome Outcome { get; init; }

Property Value

GatewayNetworkOutcome

Payload

What the device sent, decrypted.

public byte[]? Payload { get; init; }

Property Value

byte[]

Slot

Where an answer goes, for a join or for data.

public GatewaySlot? Slot { get; init; }

Property Value

GatewaySlot