Questions
Tern, Meshtastic and MeshCore
How is Tern different from Meshtastic and MeshCore?
All three are LoRa meshes on the same kinds of board. Tern is built around a few choices of its own:
- Airtime is the thing to save. A LoRa channel is slow and shared, so Tern routes each message along a path instead of flooding it everywhere, and is designed to give each node a budget of time on the air. Why Tern has what the simulator measured, beside Meshtastic and MeshCore.
- An address is a public key. Who you are writing to is something you can check, with the short code, not a number you are told.
- No public channel. Every conversation is with a contact or a group you joined. People find each other nearby through presence cards, which are off until you turn yours on.
- Relays managed by their owners, not a password. A node's owners are a list of addresses, each proved by its session, and are told when that list changes.
- An open specification first. The protocol is a written specification with test vectors; the firmware and apps are implementations of it, and anyone may write another.
Meshtastic and MeshCore are far more mature: many more boards, years of use, large communities. Tern is an alpha.
Can a Tern node talk to Meshtastic or MeshCore nodes?
No. The protocols are different, and Tern uses its own sync word, so the radios do not even decode each other's frames; they only hear each other as noise on the channel.
Will my Meshtastic or MeshCore board run Tern?
Very likely: Hardware lists the boards the firmware is built for, and the flash page offers every one. The Heltec V3 has been checked on hardware; the others are built from their makers' documents and wait for someone to try one.
Can I go back to Meshtastic or MeshCore?
Yes. Flash their firmware again the way they say to. Flashing replaces what is on the board, and its settings, both ways.
Privacy and security
Are my messages encrypted?
Yes. A message to a contact goes over a session only your two nodes hold the keys to, set up with a handshake that proves each holds the key behind its address; each new session has new keys. A group's messages are sealed with the group's secret, which every member holds.
Tern is an alpha, and nobody outside the project has yet reviewed its cryptography. Do not trust it with anything that matters.
What can someone nearby with a radio learn?
- That nodes are there, and roughly how they are linked: each node announces itself in clear, with a short routing id, its role and the neighbours it hears. The id is a pseudonym: its address never goes on the air, and only someone who already knows the address can tell which id is its.
- Which node a message is going to, by routing id, but not what it says, and not who sent it, but for the first frame of the handshake two nodes make the first time they write.
- Your node's address and the name you chose, if you turn your presence card on.
Your position goes only to the contacts and groups you share it with, at the precision you choose. The specification's routing draft has the full list.
What do the apps send to the internet?
Nothing of your messages. The apps fetch the firmware release list from this site, and the map fetches its tiles, which tells the tile server which area you are looking at. The privacy page has all of it. There are no accounts, and no analytics.
Why is there no public channel?
A channel everyone shares is a channel everyone can read, and one where every message reaches every node, which costs the whole mesh airtime. Tern keeps conversations to the people in them. To meet people nearby, turn on your presence card, or exchange QR codes.
The radio
Is it legal to use?
Tern uses the licence-free bands each region sets aside, at settings chosen to follow that region's rules as written, and in EU868 it keeps to the 10% limit on sending. But nothing here is certified, and whoever runs a radio answers for it: keep the power within what your region allows, and keep an antenna fitted.
Which countries can use it?
The firmware has settings for the United States and Canada (US915), Europe (EU868), Australia (AU915) and New Zealand (NZ915). Each release says which it has images for. Other countries wait on settings for them in the specification.
How far does it reach?
That depends far more on where the antennas are than on the protocol: LoRa links of several kilometres are ordinary between nodes with a clear line between them, and a few hundred metres among buildings. A relay up high carries messages further. Tern's own reach on real radios has not been measured yet.
How long does a battery last?
Not measured yet. As a rule, an nRF52840 board runs for days on a cell where an ESP32 board runs for hours, and a relay uses more than a leaf. A leaf that sleeps turns its radio off between wakes: the simulator puts its radio at about 150 µA on average waking every 5 minutes, and about 51 µA every hour, against about 4.65 mA listening all the time. Those are estimates, not measured on a board, and so far only the radio sleeps, not the processor. Sleeping is in the firmware since 0.7.0-alpha.2. To see how yours does, open Battery on the Node tab, in the apps or on the web app: it charts the charge over the past week, as that app heard it while connected.
Using it
Does it need a phone signal or the internet?
No. Nodes talk to each other by radio, and the app talks to its node over Bluetooth or USB. The internet is needed only to download the apps and firmware updates.
How many contacts, groups and conversations can a node hold?
An ESP32-S3 or nRF52840 board holds 32 contacts, 8 groups and secure sessions with 16 people at once; a classic ESP32 board 16 contacts, 4 groups and 8 sessions. Each keeps its latest 32 messages; the apps keep the whole history.
Can I delete a chat?
Yes, with firmware 0.7.0-alpha.2 or later. Deleting a chat in an app erases its messages from the node, and from every phone or computer connected to it, for good; messages not yet delivered are not sent. The contact or group is kept. Leaving a group or removing a contact keeps the chat unless you choose to delete it too.
Can I change a relay without going to it?
Yes, with firmware 0.7.0-alpha.2 or later. At the relay, over USB or Bluetooth, make your own node one of its owners; from then on the apps can, from your node, see the relay's state, change its settings but its region, change its owners, lock its Bluetooth and restart it, over the mesh. Only owners are answered, each proved by its session: no password crosses the air. Every owner is told when the owners change. Only its owners can manage a node: in the next release, it answers anyone else with a refusal, so you know at once.
A setting changed over the mesh goes back after 15 minutes unless the relay hears from you again, which the app asks it at once; so a change that leaves it out of your reach undoes itself. A locked relay does nothing asked over Bluetooth: only USB or its owners unlock it.
Does it cost anything?
No. The firmware, the apps and this site are open source, under the Apache License 2.0, and the specification under CC-BY 4.0. There is nothing to sign up for.
What does Tern not do yet?
- Telemetry and sensors, and a view of the path a message took.
- Holding messages for a node that is away, beyond what its own node keeps.
- Bridges to the internet or to other meshes.
- Leaves that sleep on a schedule are in the firmware since 0.7.0-alpha.2, with only the radio asleep so far. Links that each pick their own speed are not built. The airtime budget is in the firmware since 0.5, but has not yet been measured holding a frame back on a board.
Getting involved
Where can I ask a question or report a problem?
On GitHub, in the repository it is about: the firmware, the Android or Apple app, or this site. A question about the protocol goes to the specification.
How can I help?
- Try a board marked Built on Hardware, and say how it went: that is how a board becomes one that runs.
- Try Tern with friends, and report what was confusing or broke.
- Contribute code or text: each repository's CONTRIBUTING file says how, and every commit is signed off under the Developer Certificate of Origin. The governance says who decides what goes in.