Table of Contents

Class GatewayTxpk

Namespace
Pamoja.Gateway
Assembly
Pamoja.Gateway.dll

A packet the server asks the gateway to transmit.

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

Constructors

GatewayTxpk(uint, byte[])

A packet the server asks the gateway to transmit.

public GatewayTxpk(uint FrequencyHz, byte[] Payload)

Parameters

FrequencyHz uint

The carrier to transmit 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?

FrequencyDeviationHz

The FSK frequency deviation in hertz.

public uint? FrequencyDeviationHz { get; init; }

Property Value

uint?

FrequencyHz

The carrier to transmit on, in hertz.

public uint FrequencyHz { get; init; }

Property Value

uint

GpsMillis

The GPS time to transmit at, in milliseconds since 6 January 1980.

public ulong? GpsMillis { get; init; }

Property Value

ulong?

Immediate

Whether to transmit at once, which ignores the timestamps.

public bool Immediate { get; init; }

Property Value

bool

InvertPolarity

Whether to invert the LoRa polarity, as a LoRaWAN downlink is sent.

public bool InvertPolarity { get; init; }

Property Value

bool

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[]

PowerDbm

The power to transmit at, in dBm.

public sbyte PowerDbm { get; init; }

Property Value

sbyte

PreambleSymbols

How long a preamble to send, in symbols.

public ushort? PreambleSymbols { get; init; }

Property Value

ushort?

RfChain

The radio chain to transmit from.

public byte RfChain { get; init; }

Property Value

byte

TimestampMicros

The concentrator timestamp to transmit at, in microseconds.

public uint? TimestampMicros { get; init; }

Property Value

uint?

WithoutCrc

Whether to leave the physical CRC off, as LoRaWAN downlinks are.

public bool WithoutCrc { get; init; }

Property Value

bool