Tern
An open LoRa mesh protocol that treats airtime as a shared, metered resource.

Get started
From a board to your first message
Get a board
One of 17 LoRa boards from Heltec, LilyGo, RAKwireless and Seeed, the 863-928 MHz kind, with its antenna. The Heltec WiFi LoRa 32 V3 is the one checked on hardware so far; the rest are built for and waiting to be tried.
See the boards →Flash it
Put Tern on it from Chrome or Edge on a computer, over USB, with nothing to install, or copy a file onto an nRF52840 board. It replaces Meshtastic or MeshCore if either is on the board.
Flash a board →Get an app
Android, iPhone, iPad or Mac (a TestFlight beta), or the app in your browser, in Chrome or Edge. Each talks to the node over Bluetooth; the browser can use USB too.
Get the apps →Add someone
Scan their node's QR code, or open its link, and add them as a contact. Compare the twelve-digit code with them to check it is their node. Then write.
Using Tern →
Where you are matters: the firmware has images for the AU915, CL915, EU868, KZ863, MY919, NZ915, RU868, TH920, and US915 regions only. The docs go through each step, and what comes after.
Design
What it is built around
These are design goals. Each one is being tested in simulation and on real radios before it becomes part of the specification.
- Partly built
Airtime is budgeted
Every node has a budget of time on the air, with what it writes kept apart from what it carries for others. A node that floods the mesh slows itself, not everyone else.
In the firmware since 0.5. Measured in the simulator, not yet on boards.
- In the firmware
Addresses are public keys
A node is named by its key, so who you are talking to is something you can check, not something you are told.
In the firmware.
- Not built yet
Each link picks its own speed
Close neighbours talk fast and distant ones talk slow, inside a loosely synchronised schedule, so one slow link does not slow the whole mesh.
Not built yet: today every link in a region uses the same speed.
- Partly built
Infrastructure and leaves
Fixed relays carry the routing. Handhelds and sensors are leaves that can sleep on a schedule and still receive their messages.
Relays and leaves are in the firmware. Leaves that sleep are in the firmware since 0.7.0-alpha.2: so far only the radio sleeps, not the processor.
- In the firmware
Relays you can reach
A node's owners manage it over the mesh: its settings, its owners, its Bluetooth lock, a restart. An owner is proved by its session, so there is no password to leak, and every owner is told when the owners change. Only owners can manage a node: in the next release, it answers anyone else with a refusal.
In the firmware since 0.7.0-alpha.2, and in the web app and the phone apps. A setting changed over the mesh goes back after 15 minutes unless confirmed, so a mistake cannot strand a relay. Tried between two boards.
- In the firmware
Private by default
Messages are end-to-end encrypted, and what goes over the air names nodes by pseudonyms, not addresses.
In the firmware: a node's address never goes on the air unless you turn on presence cards. A listener can still see which pseudonymous nodes exchange messages, and one nearby can tell when a radio sends.
- Not built yet
Pseudonyms that change
Every node's routing name changes once a week, all at once, so a listener cannot follow a node from one week to the next.
Not built yet: in the simulator it costs about 1 to 2% of messages, within the memory boards have; it waits on measurements on radios.
- Not built yet
Gateways are peers
Bridges to the internet or to other meshes sit at the application layer, not inside the routing.
Not built yet.
Process
How it is being built
Specification first. Routing is decided by simulation before any of it is written down, and the simulator is calibrated against bench measurements of real radios. An implementation is Tern-compatible if it passes the published conformance tests; nobody's permission is needed.
- The specification is CC-BY-4.0, the test vectors CC0, the code Apache-2.0.
- Contributions are signed off under the DCO. There is no CLA.
- The specification will never need a fee, membership or certification to implement.
- The name, this domain and the GitHub organisation are held for the project, not for a company.