Table of Contents

Struct PamojaGatewayTxpk

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

A packet a server asks a gateway to transmit, without its payload, mirroring PamojaGatewayTxpk in pamoja.h.

public struct PamojaGatewayTxpk
Inherited Members

Fields

BitrateBps

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

public uint BitrateBps

Field Value

uint

FrequencyDeviationHz

The FSK frequency deviation in hertz, when HasDeviation.

public uint FrequencyDeviationHz

Field Value

uint

FrequencyHz

The carrier to transmit on, in hertz.

public uint FrequencyHz

Field Value

uint

GpsMillis

The GPS time to transmit at, in milliseconds, when HasGpsMillis.

public ulong GpsMillis

Field Value

ulong

HasDeviation

1 when an FSK deviation was given.

public byte HasDeviation

Field Value

byte

HasGpsMillis

1 when a GPS time was given.

public byte HasGpsMillis

Field Value

byte

HasPreamble

1 when a preamble length was given.

public byte HasPreamble

Field Value

byte

HasTimestamp

1 when a concentrator timestamp was given.

public byte HasTimestamp

Field Value

byte

Immediate

1 to transmit at once, which ignores the timestamps.

public byte Immediate

Field Value

byte

InvertPolarity

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

public byte InvertPolarity

Field Value

byte

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

public PamojaLoraLink Link

Field Value

PamojaLoraLink

Modulation

The modulation: 0 for LoRa, 1 for FSK.

public byte Modulation

Field Value

byte

PowerDbm

The power to transmit at, in dBm.

public sbyte PowerDbm

Field Value

sbyte

PreambleSymbols

How long a preamble to send, in symbols, when HasPreamble.

public ushort PreambleSymbols

Field Value

ushort

RfChain

The radio chain to transmit from.

public byte RfChain

Field Value

byte

TimestampUs

The concentrator timestamp to transmit at, when HasTimestamp.

public uint TimestampUs

Field Value

uint

WithoutCrc

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

public byte WithoutCrc

Field Value

byte