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.
- Pamoja
Lora Link Budget - The gains and losses of a LoRa link, from the transmitting radio to the receiving one.
Functions§
- pamoja_
lora_ airtime_ us - Returns the time on air of a payload, in microseconds.
- pamoja_
lora_ demodulator_ snr_ centi_ db - Returns the signal-to-noise ratio the LoRa demodulator needs at a spreading factor.
- pamoja_
lora_ fcc_ digital_ max_ conducted_ centi_ dbm - Returns the most conducted power 47 CFR 15.247 allows a digitally modulated 902-928 MHz transmitter through an antenna.
- pamoja_
lora_ fcc_ hopping_ max_ conducted_ centi_ dbm - Returns the most conducted power 47 CFR 15.247 allows a 902-928 MHz frequency hopping transmitter through an antenna.
- pamoja_
lora_ free_ space_ loss_ centi_ db - Returns the free-space basic transmission loss between isotropic antennas.
- pamoja_
lora_ fresnel_ radius_ mm - Returns the radius of the first Fresnel ellipsoid at a point on a path.
- pamoja_
lora_ link_ budget_ default - Returns a link budget of 0 dBm between isotropic antennas with no cable loss.
- pamoja_
lora_ link_ budget_ eirp_ centi_ dbm - Returns the equivalent isotropically radiated power of a budget.
- pamoja_
lora_ link_ budget_ margin_ centi_ db - Returns how far above the sensitivity a signal arrives across a path.
- pamoja_
lora_ link_ budget_ max_ path_ loss_ centi_ db - Returns the most path loss a link survives.
- pamoja_
lora_ link_ budget_ max_ transmit_ power_ centi_ dbm - Returns the most transmit power that keeps the EIRP of a budget at or under a ceiling.
- pamoja_
lora_ link_ budget_ received_ centi_ dbm - Returns the power that reaches the receiving radio across a path.
- pamoja_
lora_ link_ budget_ sensitivity_ centi_ dbm - Returns the weakest signal the receiver of a budget can demodulate on a link.
- pamoja_
lora_ link_ default - Returns the settings for a spreading factor and bandwidth, with LoRa defaults.
- pamoja_
lora_ low_ data_ rate_ optimization - Reports whether a link uses low data rate optimization.
- pamoja_
lora_ messages_ per_ hour - Returns how many transmissions of a payload fit in an hour under a duty-cycle limit.
- pamoja_
lora_ min_ off_ time_ us - Returns the minimum silence after a transmission to honor a duty-cycle limit.
- pamoja_
lora_ noise_ floor_ centi_ dbm - Returns the thermal noise power in a channel.
- pamoja_
lora_ symbol_ time_ us - Returns the duration of one symbol on a link, in microseconds.