Table of Contents

Class LorawanTransmission

Namespace
Pamoja.Lorawan
Assembly
Pamoja.Lorawan.dll

A frame to put on the air, and where to listen afterward.

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

Constructors

A frame to put on the air, and where to listen afterward.

public LorawanTransmission(byte[] Frame, uint FrequencyHz, byte DataRate, LoraLink Link, sbyte OutputDbm, ulong AirtimeMicros, LorawanWindow Rx1, LorawanWindow Rx2, bool CarriesPayload, LorawanRelayExchange? Relay = null)

Parameters

Frame byte[]

The frame.

FrequencyHz uint

The carrier, in hertz.

DataRate byte

The data rate, as the region numbers them.

Link LoraLink

The LoRa settings: an eight-symbol preamble, an explicit header and a payload CRC, sent with standard IQ.

OutputDbm sbyte

The power to ask of the radio, conducted, in dBm.

AirtimeMicros ulong

How long the frame holds the air.

Rx1 LorawanWindow

The first receive window.

Rx2 LorawanWindow

The second, which opens only if nothing for this device arrived in the first.

CarriesPayload bool

Whether the application payload went out in this frame. When the answers the device owed left no room, it did not, and has to be sent again.

Relay LorawanRelayExchange

The wake-on-radio exchange this frame goes out behind, for a device under a relay, and null for a frame that goes straight to a gateway.

Properties

AirtimeMicros

How long the frame holds the air.

public ulong AirtimeMicros { get; init; }

Property Value

ulong

CarriesPayload

Whether the application payload went out in this frame. When the answers the device owed left no room, it did not, and has to be sent again.

public bool CarriesPayload { get; init; }

Property Value

bool

DataRate

The data rate, as the region numbers them.

public byte DataRate { get; init; }

Property Value

byte

Frame

The frame.

public byte[] Frame { get; init; }

Property Value

byte[]

FrequencyHz

The carrier, in hertz.

public uint FrequencyHz { get; init; }

Property Value

uint

The LoRa settings: an eight-symbol preamble, an explicit header and a payload CRC, sent with standard IQ.

public LoraLink Link { get; init; }

Property Value

LoraLink

OutputDbm

The power to ask of the radio, conducted, in dBm.

public sbyte OutputDbm { get; init; }

Property Value

sbyte

Relay

The wake-on-radio exchange this frame goes out behind, for a device under a relay, and null for a frame that goes straight to a gateway.

public LorawanRelayExchange? Relay { get; init; }

Property Value

LorawanRelayExchange

Rx1

The first receive window.

public LorawanWindow Rx1 { get; init; }

Property Value

LorawanWindow

Rx2

The second, which opens only if nothing for this device arrived in the first.

public LorawanWindow Rx2 { get; init; }

Property Value

LorawanWindow