Skip to main content
ados-lora runs a low-duty LoRa lane next to the main radio link. It carries position beacons, short status reports and text, never video, corrections or a control loop. Each node beacons its position every lora.beacon_interval_s seconds (30 by default) and lists the beacons it hears from other nodes. The service runs on the drone and ground_station profiles, and only when lora.enabled is true. Every transmission passes a per-region governor first. The governor decides, frame by frame, whether a transmission is legal right now, on which channel and at what power, under the region’s duty cycle, dwell time, listen-before-talk and power limits. It charges each frame’s airtime to a ledger on disk (/var/ados/lora/airtime.jsonl) before sending, so a reboot cannot reset the duty budget.

Radios

lora.transport picks the radio:

Enable the lane

1

Set the region

Transmit needs a region. The lane uses lora.region when it is set, otherwise the node’s country setting network.regulatory.region. With neither, transmit is blocked and receive stays on.
2

Turn it on

Set lora.enabled: true in /etc/ados/config.yaml. The installer mirrors it into the /etc/ados/lora-enabled marker the unit starts on.
3

Check the lane

GET /api/v1/lora shows tx_allowed and, when transmit is blocked, blocked_reason.

Read the lane

Region table

GET /api/v1/lora/regions returns the compiled band-plan table. Each row has code, name, plan_id, band_mhz, the rules it enforces, citation (the regulator document its numbers come from), meshtastic_preset, elrs_domains, and supported_by_module: whether the fitted module can run that plan, or null when no module is known.

Beacons heard

GET /api/v1/lora/beacons returns up to 100 beacons, newest first:
A beacon reports the vehicle’s position from the MAVLink state when it has one, otherwise the node’s own GNSS receiver. Fields the sender does not know are null.

Change region, channel or power

PUT /api/v1/lora takes any of region (a code, or null to follow the country setting), freq_mhz, erp_mw and sf.
Every value is checked against the plan it would run under before anything is saved. A value outside the plan is a 400 with E_LORA_OUT_OF_PLAN and the reason. An accepted change is written to the lora block, the lane reloads, and the reply is the GET /api/v1/lora body once the lane reports the new values. If it has not reported within a few seconds the reply is 504: the change is saved, but not yet confirmed. A body that names region is refused while the vehicle is armed. Through an MCP token, any write to this route needs admin scope.

Configuration reference

Last modified on November 28, 2026