Table of Contents

Struct PamojaLoraLink

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

The radio settings of a LoRa link, mirroring PamojaLoraLink in pamoja.h.

public struct PamojaLoraLink
Inherited Members

Values outside the ranges LoRa defines are clamped when the link is used: the spreading factor to 5-12 and the coding-rate denominator to 5-8.

Fields

The channel bandwidth in hertz, such as 125000.

public uint BandwidthHz

Field Value

uint

The coding-rate denominator, 5 to 8, for 4/5 to 4/8.

public byte CodingRateDenominator

Field Value

byte

1 to append the frame CRC, 0 to leave it off.

public byte Crc

Field Value

byte

1 for an explicit header, 0 to omit the header symbols.

public byte ExplicitHeader

Field Value

byte

The preamble length in symbols; the LoRa default is 8.

public ushort PreambleSymbols

Field Value

ushort

The spreading factor, 5 (fastest) to 12 (longest range).

public byte SpreadingFactor

Field Value

byte