Table of Contents

Struct PamojaLoraDataRate

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

One data rate, mirroring PamojaLoraDataRate in pamoja.h.

public struct PamojaLoraDataRate
Inherited Members

Remarks

Kind selects which fields carry meaning. A LoRa rate uses SpreadingFactor and BandwidthHz; an LR-FHSS rate uses the coding-rate pair and BandwidthHz; an FSK rate uses BitrateBps alone. A reserved number leaves every field zero.

Fields

BandwidthHz

The channel bandwidth in hertz, or zero for FSK.

public uint BandwidthHz

Field Value

uint

BitrateBps

The payload bitrate in bits per second.

public uint BitrateBps

Field Value

uint

CodingRateDenominator

The coding-rate denominator, for an LR-FHSS rate.

public byte CodingRateDenominator

Field Value

byte

CodingRateNumerator

The coding-rate numerator, for an LR-FHSS rate.

public byte CodingRateNumerator

Field Value

byte

Kind

One of the PAMOJA_LORA_MODULATION_* constants.

public byte Kind

Field Value

byte

SpreadingFactor

The spreading factor, for a LoRa rate.

public byte SpreadingFactor

Field Value

byte