Table of Contents

Class GatewayRxpk

Namespace
Pamoja.Gateway
Assembly
Pamoja.Gateway.dll

A packet the gateway heard, with the metadata the protocol carries beside it.

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

Constructors

GatewayRxpk(uint, byte[])

A packet the gateway heard, with the metadata the protocol carries beside it.

public GatewayRxpk(uint FrequencyHz, byte[] Payload)

Parameters

FrequencyHz uint

The carrier it arrived on, in hertz.

Payload byte[]

The packet itself.

Properties

BitrateBps

The bitrate in bits per second, for an FSK packet.

public uint? BitrateBps { get; init; }

Property Value

uint?

Channel

The concentrator channel it arrived on.

public byte Channel { get; init; }

Property Value

byte

Crc

What the CRC said.

public GatewayCrc Crc { get; init; }

Property Value

GatewayCrc

FrequencyHz

The carrier it arrived on, in hertz.

public uint FrequencyHz { get; init; }

Property Value

uint

GpsMillis

When it arrived on the GPS clock, in milliseconds since 6 January 1980.

public ulong? GpsMillis { get; init; }

Property Value

ulong?

The spreading factor, bandwidth, and coding rate, for a LoRa packet.

public LoraLink? Link { get; init; }

Property Value

LoraLink

Payload

The packet itself.

public byte[] Payload { get; init; }

Property Value

byte[]

ReceivedAtMicros

When it arrived, in microseconds since 1970-01-01 UTC.

public ulong? ReceivedAtMicros { get; init; }

Property Value

ulong?

RfChain

The radio chain it arrived on.

public byte RfChain { get; init; }

Property Value

byte

RssiDbm

The received signal strength in dBm.

public double RssiDbm { get; init; }

Property Value

double

SnrDb

The signal-to-noise ratio in dB, for a LoRa packet.

public double? SnrDb { get; init; }

Property Value

double?

TimestampMicros

The concentrator's own timestamp of the reception, in microseconds.

public uint? TimestampMicros { get; init; }

Property Value

uint?