๐ก How a Loomwave message finds its way
How a message travels from one pocket radio to another, through the towers.
The neighborhood: cells and the backbone
Every Loomwave radio (a client โ the little box that talks to your phone) belongs to a cell: a small group of radios that all listen to one coordinator. The coordinator is the referee โ usually up on a tower or a roof so everyone can hear it. Coordinators that can hear each other form the backbone: a radio highway between neighborhoods.
The classroom picture: it's like two classrooms with a teacher in each, and the teachers have walkie-talkies to each other. Kids don't shout across the school โ they tell their teacher, and the teachers pass it along.
Every radio has a name it can prove
Each radio makes itself a secret key, and its address is squeezed out of that key โ a six-character tag like A1B2C3 or D4E5F6 (illustrative examples). That's called self-certifying: you can't pretend to be A1B2C3 unless you hold its secret, because messages are signed with it. Messages are also encrypted โ sealed envelopes only the destination radio can open. The coordinators carry them but can't read them.
The heartbeat: nobody talks over anybody
LoRa radios are slow โ one long message can take half a second of airtime โ so if everyone transmitted whenever they felt like it, they'd trample each other. Instead the coordinator runs a steady heartbeat called a frame (a few seconds long, repeating forever):
The frame starts with a beacon: the coordinator saying "I'm here, here's the exact time, here's who talks when." Each member gets a slot โ a private turn to transmit up. Then comes the downlink window, when every member is guaranteed to be listening and the coordinator delivers whatever it's carrying. Radios can nap the rest of the time to save battery โ they know exactly when they matter next.
The classroom picture: the teacher calls roll, each kid gets a turn to speak, and then the teacher reads the announcements while everyone's quiet. Then it all repeats.
A message's journey, hop by hop
The A/B stagger: how two referees share one whistle
The backbone and the cells share the same radio channel, so backbone coordinators split time: one runs its cell in the first half of the frame and relays in the second; its neighbor does the opposite. Each one beacons offset by half a frame from its peer โ like two Ferris wheels timed so their cars never pass the platform together.
For this to work every coordinator must agree what time it is. They derive the frame count ("epoch") from real clock time, and a coordinator only trusts a peer's timing if it comes from an equal-or-better time source โ that's the stratum rule. It also stops a nasty trick: a recorded beacon replayed later carries a stale epoch, and everyone ignores it.
Many coordinators, many paths: who decides?
When lots of coordinators can hear each other, there may be several ways to reach a destination. Loomwave's answer is sneaky-simple: don't pick paths โ follow ownership. Every coordinator's LSA ("link-state advertisement", sent every few frames) says "here are the members I'm currently hearing, and here's how loudly I hear my neighbor coordinators." A message for F goes to whichever peer claims F as a member right now.
The classroom picture: nobody has a map of the whole school. Each teacher just keeps shouting "here's who's in MY class today!" โ so when a note needs to reach Frankie, you hand it to the teacher who most recently called Frankie's name. Even if you can faintly hear Frankie yelling from three rooms away, you still give the note to his own teacher.
Fine print for grown-ups: the LSAs also carry per-link
signal strength between coordinators, so the network already collects everything a classic
shortest-path algorithm would need โ the decision function is deliberately a small, swappable,
unit-tested pure function (route::downlink) for the day the mesh outgrows
ownership-greedy routing.
Why it's built this way
No shouting matches: slots and windows mean the slow LoRa channel never wastes airtime on collisions. Battery: a client knows the exact moments it must listen and sleeps otherwise. Privacy: the network carries sealed envelopes; even the towers can't peek. Honesty: the double-check โโ is a real end-to-end receipt, not a guess. And when a tower goes away, another radio can stand up as coordinator, mint its own proof-carrying address, and the neighborhood re-forms around it.