pamoja.radios

Idiomatic LoRa radio facade.

pamoja.lora works out what a link costs and how far it reaches; this puts a radio chip on the air to match. For the Semtech SX1261, SX1262, and LLCC68, pamoja.radios.sx126x builds the bytes of every command and decodes every answer, and chooses the amplifier setting a regional EIRP ceiling allows behind an antenna. For the SX1276 family, pamoja.radios.sx127x gives the register values and decodes the readings. DutyCycle holds the radio silent for the off time a duty-cycle limit owes after each frame.

 1"""Idiomatic LoRa radio facade.
 2
 3``pamoja.lora`` works out what a link costs and how far it reaches; this puts a radio chip
 4on the air to match. For the Semtech SX1261, SX1262, and LLCC68, :mod:`pamoja.radios.sx126x`
 5builds the bytes of every command and decodes every answer, and chooses the amplifier
 6setting a regional EIRP ceiling allows behind an antenna. For the SX1276 family,
 7:mod:`pamoja.radios.sx127x` gives the register values and decodes the readings.
 8:class:`DutyCycle` holds the radio
 9silent for the off time a duty-cycle limit owes after each frame.
10"""
11
12from __future__ import annotations
13
14from pamoja._native import RadioDutyCycle as DutyCycle
15
16from . import sx126x, sx127x
17
18__all__ = ["DutyCycle", "sx126x", "sx127x"]
DutyCycle = <class 'builtins.RadioDutyCycle'>