Table of Contents

Struct PamojaGatewayStat

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

A gateway's own status report, mirroring PamojaGatewayStat in pamoja.h.

public struct PamojaGatewayStat
Inherited Members

Fields

AcknowledgedPercent

What share of its datagrams were acknowledged, as a percentage.

public double AcknowledgedPercent

Field Value

double

AltitudeM

Its altitude in meters, when HasAltitude.

public int AltitudeM

Field Value

int

How many downlink datagrams it received.

public uint Downlinks

Field Value

uint

Forwarded

How many it forwarded.

public uint Forwarded

Field Value

uint

HasAltitude

1 when it carried an altitude.

public byte HasAltitude

Field Value

byte

HasPosition

1 when it carried a position.

public byte HasPosition

Field Value

byte

HasTime

1 when the report carried a clock reading.

public byte HasTime

Field Value

byte

LatitudeDeg

Its latitude in degrees, north positive, when HasPosition.

public double LatitudeDeg

Field Value

double

LongitudeDeg

Its longitude in degrees, east positive, when HasPosition.

public double LongitudeDeg

Field Value

double

Received

How many packets its radio received.

public uint Received

Field Value

uint

ReceivedOk

How many of those had a good CRC.

public uint ReceivedOk

Field Value

uint

TimeS

The gateway's clock, in seconds since 1970-01-01 UTC, when HasTime.

public ulong TimeS

Field Value

ulong

Transmitted

How many packets it transmitted.

public uint Transmitted

Field Value

uint