Table of Contents

Struct PamojaLoraPlanInfo

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

The scalar facts of a plan, mirroring PamojaLoraPlanInfo in pamoja.h.

public struct PamojaLoraPlanInfo
Inherited Members

Remarks

The three flags cross as bytes rather than bool because runtime marshalling is disabled, which leaves a bool field non-blittable.

Fields

Beacon

The Class B beacon settings.

public PamojaLoraBeacon Beacon

Field Value

PamojaLoraBeacon

DefaultChannelBlockCount

How many default channel blocks the plan defines.

public ushort DefaultChannelBlockCount

Field Value

ushort

DefaultChannelCount

How many channels the plan starts a device with.

public ushort DefaultChannelCount

Field Value

ushort

DefaultMaxEirpDbm

The power ceiling assumed when no sub-band says otherwise, in dBm.

public sbyte DefaultMaxEirpDbm

Field Value

sbyte

DownlinkDataRateCount

How many downlink data-rate numbers the plan defines.

public ushort DownlinkDataRateCount

Field Value

ushort

HasDwellLimitedPayloads

1 if the plan publishes a payload table for a dwell-limited device.

public byte HasDwellLimitedPayloads

Field Value

byte

HasDwellLimitedRx1

1 if the plan publishes a second RX1 mapping for a dwell-limited downlink.

public byte HasDwellLimitedRx1

Field Value

byte

HasDwellTimeLimit

1 if the plan limits how long one transmission may hold a channel.

public byte HasDwellTimeLimit

Field Value

byte

JoinChannelBlockCount

How many join channel blocks the plan defines.

public ushort JoinChannelBlockCount

Field Value

ushort

MaxRx1DataRateOffset

The highest RX1 data-rate offset the plan allows.

public byte MaxRx1DataRateOffset

Field Value

byte

MaxTxPowerIndex

The highest transmit-power index the plan defines.

public byte MaxTxPowerIndex

Field Value

byte

Rx2DataRate

The data rate the second receive window listens at.

public byte Rx2DataRate

Field Value

byte

Rx2FrequencyHz

The fixed frequency the second receive window listens on, in hertz.

public uint Rx2FrequencyHz

Field Value

uint

SubBandCount

How many sub-bands the plan defines.

public ushort SubBandCount

Field Value

ushort

TxPowerStepDb

The step between transmit-power settings, in dB.

public byte TxPowerStepDb

Field Value

byte

UplinkDataRateCount

How many uplink data-rate numbers the plan defines, reserved included.

public ushort UplinkDataRateCount

Field Value

ushort