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§
- Pamoja
Lora Link - 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.