Table of Contents

Struct PamojaGatewayStationFields

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

Every fixed field a message carries, mirroring PamojaGatewayStationFields in pamoja.h.

public struct PamojaGatewayStationFields
Inherited Members

Fields

BroadcastCount

How many frames a schedule carries.

public nuint BroadcastCount

Field Value

nuint

Class

Which class of downlink this is: 0 for A, 1 for B, 2 for C.

public byte Class

Field Value

byte

DataRate

The data rate it arrived at, or is to be sent at.

public byte DataRate

Field Value

byte

DataRateCount

How many numbers a configuration's data-rate table holds.

public nuint DataRateCount

Field Value

nuint

DevAddr

The address a data frame came from.

public int DevAddr

Field Value

int

DevEui

The device, for a join request, a downlink, or a transmission report.

public PamojaEui DevEui

Field Value

PamojaEui

DevNonce

The nonce a join request used.

public ushort DevNonce

Field Value

ushort

Diid

The identifier a downlink and its transmission report share.

public long Diid

Field Value

long

Fcnt

The frame counter, as the sixteen bits on the air.

public ushort Fcnt

Field Value

ushort

Fctrl

The frame control byte.

public byte Fctrl

Field Value

byte

FiltersNetworks

1 when a configuration names the networks whose frames are forwarded.

public byte FiltersNetworks

Field Value

byte

Fport

The port a data frame was sent on, when HasFport.

public byte Fport

Field Value

byte

FreqMaxHz

The highest frequency a configuration allows, in hertz.

public uint FreqMaxHz

Field Value

uint

FreqMinHz

The lowest frequency a configuration allows, in hertz.

public uint FreqMinHz

Field Value

uint

FrequencyHz

The frequency in hertz.

public uint FrequencyHz

Field Value

uint

Gpstime

The GPS time in microseconds since the GPS epoch, when HasGpstime.

public long Gpstime

Field Value

long

HasFport

1 when the frame carried a port at all.

public byte HasFport

Field Value

byte

HasGpstime

1 when the message carries a GPS time.

public byte HasGpstime

Field Value

byte

HasRctx

1 when the message names a radio.

public byte HasRctx

Field Value

byte

HasRxDelay

1 when a downlink named a receive delay.

public byte HasRxDelay

Field Value

byte

HasTxtime

1 when the message carries that time.

public byte HasTxtime

Field Value

byte

HasXtime

1 when the message carries a station clock.

public byte HasXtime

Field Value

byte

JoinEui

The application being joined, for a join request.

public PamojaEui JoinEui

Field Value

PamojaEui

JoinRangeCount

How many join identifier ranges a configuration names.

public nuint JoinRangeCount

Field Value

nuint

Kind

Which kind this is, one of the GatewayStation* constants.

public byte Kind

Field Value

byte

Levels

How it was heard, for the kinds a station sends up.

public PamojaGatewayStationLevels Levels

Field Value

PamojaGatewayStationLevels

MaxEirp

The highest radiated power a configuration allows, in dBm.

public double MaxEirp

Field Value

double

Mhdr

The MAC header byte, for a join request or a data frame.

public byte Mhdr

Field Value

byte

Mic

The message integrity code.

public int Mic

Field Value

int

NetIdCount

How many networks a configuration names.

public nuint NetIdCount

Field Value

nuint

PingSlot

The ping slot a class B downlink goes out in.

public PamojaGatewayStationWindow PingSlot

Field Value

PamojaGatewayStationWindow

Priority

How urgent a downlink is.

public byte Priority

Field Value

byte

Protocol

The protocol version a version message reports.

public uint Protocol

Field Value

uint

Rctx

The radio, when HasRctx.

public long Rctx

Field Value

long

Rx1

The first receive window a downlink names.

public PamojaGatewayStationWindow Rx1

Field Value

PamojaGatewayStationWindow

Rx2

The second receive window a downlink names.

public PamojaGatewayStationWindow Rx2

Field Value

PamojaGatewayStationWindow

RxDelay

The delay before the first receive window, in seconds, when HasRxDelay.

public byte RxDelay

Field Value

byte

Txtime

When a reported frame went out, in seconds, or the station time a time sync carries, in microseconds, when HasTxtime.

public double Txtime

Field Value

double

Xtime

The station clock in microseconds, when HasXtime.

public long Xtime

Field Value

long