Skip to main content

Module lora

Module lora 

Source
Expand description

The C ABI for LoRa link math.

These functions wrap [pamoja_lora] for callers that reach the SDK through the flat C boundary: the time a transmission spends on air, and the silence a duty-cycle limit then forces. Both are what a long-range node needs to stay inside its regional budget, and both are pure arithmetic.

A link is only scalars, so it crosses by value as PamojaLoraLink rather than as a handle, which keeps the whole capability free of allocation.

Structs§

PamojaLoraLink
The radio settings of a LoRa link.

Functions§

pamoja_lora_airtime_us
Returns the time on air of a payload, in microseconds.
pamoja_lora_link_default
Returns the settings for a spreading factor and bandwidth, with LoRa defaults.
pamoja_lora_min_off_time_us
Returns the minimum silence after a transmission to honor a duty-cycle limit.
pamoja_lora_symbol_time_us
Returns the duration of one symbol on a link, in microseconds.