github cvhviz/CAIRN cairn-v122
Cairn 122

Cairn 122 fixes radios that went deaf after a preset or frequency change, and puts every radio preset the Cairn app offers on the device itself. With the Cairn app 1.1 (TestFlight build 18) or later, the radio resends packets the phone missed and keeps queued messages until the app has saved them, and anything it still has to drop is counted in the app instead of vanishing. A T-Deck started from an SD-card launcher no longer crashes on Update (it needs one install from the card first), and repeaters space out their scan replies so more of them get through. None of it has run on hardware yet: see "Not yet checked" below.

Highlights:

  • A radio change no longer leaves the node deaf (every board, any app): after a preset, frequency or Repeat Mode change, the radio listens on the new settings right away. Before, a node could hear nothing until it next sent something. The Heltec T096 that "stopped receiving" after a preset change from the app was the clearest case.
  • The radio resends what the app missed (every Cairn companion; needs the Cairn app 1.1, build 18): every packet heard is kept in a numbered list. The app asks again for any gap and, after a reconnect, catches up in one pass, up to 512 packets back where the list holds that many (on the nRF52 boards, the L1 family and T096, it holds a few dozen to about 100). Long packets now arrive in two parts instead of being dropped.
  • Queued messages wait for the app, and losses are counted (every Cairn companion; needs the Cairn app 1.1, build 18): a message stays on the radio until the app says it has saved it. If the radio runs out of room or loses its queue in a restart, the app tells you how many were lost ("Messages Lost on the Radio").
  • Every app preset on the device (L2 Pro, T-Deck, M9, Heltec V4 kits, T-Display SF32; any app): all 28 of the Cairn app's presets, by region, with your region first. The device remembers the one you picked.
  • A locate button on the map (L2 Pro, T-Deck, M9, Heltec V4 touch; any app): one tap centers the map on you and follows you. A second tap on the GPS tab does the same.
  • Radio settings over Wi-Fi from an "Always allow" phone (L2 Pro, Heltec V4 kits, M9, T-Deck): presets, radio changes and Repeat Mode now apply over Wi-Fi from a trusted phone, with no restart. A phone allowed once is still refused.
  • T-Deck under an SD-card launcher (issue #28): Update no longer crashes the device. It says to update from the launcher's card instead. See Update below for the one install from the card this takes.
  • Repeaters space out their scan replies (every repeater build): in a busy area most replies used to collide. Now each repeater waits a random time, up to 14 s. In our model of an area with 20 neighbors, each reply now has about an even chance of getting through on the faster presets (it was about 2 %); on slower presets the 14 s cap leaves the odds lower. Not yet measured on air.
  • Honest TX power limits (Heltec PA boards): the screens show the power at the antenna, and the highest setting stops where the amplifier stops adding power.

Which app? The resend and catch-up, the lost-message count, and the TX limit in the app's remote TX control need the Cairn app 1.1 (TestFlight build 18) or later. Stock MeshCore apps and meshcore-cli get the same frames as before and work as they did. Radio settings over Wi-Fi are a device rule: they work from any app linked over Wi-Fi, as long as the phone is on the device's "Always allow" list. Everything else works with any app, or none.

Not yet checked on a device: nothing new in 122 has run on hardware here yet. Every board built cleanly and the 1,721 unit tests pass, but that is all. In particular: the radio fix (please check that a T096 still hears after a preset change from the app); the resend, catch-up and lost-message count with the Cairn app; radio settings over Wi-Fi from a trusted phone; the Wi-Fi command-line limits; the locate button; the device preset picker; the new TX caps and antenna readings (not checked against a meter); the repeaters' spaced-out scan replies in a busy area; and the launcher message on a T-Deck under a launcher. The Heltec V4 Expansion Kit V1 build is still an untested preview.

Update

  • On Cairn 108 to 121 (L2 Pro, Heltec V4 touch, Heltec V4 Kit V1, ThinkNode M9, T-Deck, T-Display SF32): Settings › System › Firmware update: Check, Download, Install. The new build starts on trial and goes back to the old one by itself if it fails to start. On the T-Display SF32, dock the core on the keyboard board first (it carries the Wi-Fi chip).
  • T-Deck started from an SD-card launcher: don't use Update on 121 or earlier. Their updater is the one that crashes under a launcher. Instead, copy MeshCore-TDeckPlus-Cairn122-2026-10-25-update.bin to the card and install it from the launcher, as you installed Cairn. From 122 on, the device says "Started by a launcher: update from its SD card" instead of crashing. If you'd rather update over Wi-Fi, write the -full.bin at 0x0 over USB once. This removes the launcher and erases the device, so export your key and contacts first.
  • Over USB on an ESP32 board: the -full.bin goes at 0x0, after Erase Flash, and erases everything. The -update.bin goes at 0x10000 and keeps your data. If the board last updated over Wi-Fi, it may be running from its second slot and keep starting the old build: clear the boot selector first, as in the ESP32 install guide.
  • Wio Tracker L1 Pro, DV1, L1 e-ink, the room server and the T096: double-tap Reset and copy the board's .uf2 onto the drive that appears (UF2 guide). Updating keeps your identity, contacts, channels and settings.
  • Compact repeaters: write the -repeater-update.bin at 0x10000, or copy the -repeater.uf2. They don't update over Wi-Fi.
  • Going back to 121: messages waiting on the radio for the app are lost, because 121 can't read 122's saved queue. Connect the app first so the queue is empty.
  • A board without Cairn: write the board's -full.bin (ESP32 install guide), copy the .uf2 (UF2 guide), or run the SF32 installer (SF32 install guide).

Downloads

Board File Use
Seeed Wio Tracker L2 Pro MeshCore-WioL2Pro-Cairn122-2026-10-25-full.bin first install or recovery over USB, at 0x0 (erases everything)
MeshCore-WioL2Pro-Cairn122-2026-10-25-update.bin update over Wi-Fi, or over USB at 0x10000
Heltec V4-R8 + Expansion Kit V2 (touch) MeshCore-HeltecV4Touch-Cairn122-2026-10-25-full.bin first install or recovery over USB, at 0x0 (erases everything)
MeshCore-HeltecV4Touch-Cairn122-2026-10-25-update.bin update over Wi-Fi, or over USB at 0x10000
Heltec V4 + Expansion Kit V1 (touch), untested preview MeshCore-HeltecV4KitV1-Cairn122-2026-10-25-full.bin first install or recovery over USB, at 0x0 (erases everything)
MeshCore-HeltecV4KitV1-Cairn122-2026-10-25-update.bin update over Wi-Fi, or over USB at 0x10000
Elecrow ThinkNode M9 MeshCore-ThinkNodeM9-Cairn122-2026-10-25-full.bin first install or recovery over USB, at 0x0 (erases everything)
MeshCore-ThinkNodeM9-Cairn122-2026-10-25-update.bin update over Wi-Fi, or over USB at 0x10000
LilyGO T-Deck / T-Deck Plus MeshCore-TDeckPlus-Cairn122-2026-10-25-full.bin first install or recovery over USB, at 0x0 (erases everything, and removes a launcher)
MeshCore-TDeckPlus-Cairn122-2026-10-25-update.bin update over Wi-Fi, over USB at 0x10000, or from a launcher's SD card
LilyGO T-Display SF32 + keypad MeshCore-TDisplaySF32-Cairn122-2026-10-25-install.zip install over USB, with the included installer
MeshCore-TDisplaySF32-Cairn122-2026-10-25-update.bin the app image (and its .sha256)
Seeed Wio Tracker L1 Pro MeshCore-WioL1Pro-Cairn122-2026-10-25.uf2 companion, SH1106 OLED
MeshCore-DV1-Cairn122-2026-10-25.uf2 companion, 2.42" SSD1309 OLED on the Grove port
MeshCore-WioL1Eink-Cairn122-2026-10-25.uf2 companion, 2.13" e-ink
MeshCore-WioL1RoomServer-Cairn122-2026-10-25.uf2 room server
Heltec Mesh Node T096 MeshCore-HeltecT096-Cairn122-2026-10-25-ble.uf2 companion (phone app over Bluetooth)
MeshCore-HeltecT096-Cairn122-2026-10-25-usb.uf2 companion (app over USB serial)

The compact repeater files (-repeater in the name) are rebuilt from the same tree: Heltec T096 and T114 (.uf2), and the Heltec Wireless Tracker, Tracker V2, V2, V3, V4 and V4-R8 (-repeater-full.bin and -repeater-update.bin). Cairn 122 runs on MeshCore 1.18.0, as 118 to 121 did. SHA256SUMS.txt covers every file: shasum -a 256 -c SHA256SUMS.txt.

Every Cairn companion

The Wio Tracker L1 Pro family, the T096, L2 Pro, both Heltec V4 kits, ThinkNode M9, T-Deck and T-Display SF32. The first two items need the Cairn app 1.1 (build 18).

  • The radio resends what the app missed. Stock MeshCore sends each packet it hears to the app once. A packet that met a full Bluetooth queue, or one too long for one frame, was dropped, and the app couldn't tell. Now every packet heard goes into a numbered list first (4 KB on the nRF52 boards, 8 KB on an ESP32 without PSRAM, 64 KB with PSRAM, 16 KB on the SF32). The app reads it from where it left off, asks again for any gap, and after a reconnect catches up to 512 packets back, with their real age, as far as the list reaches (4 KB holds a few dozen to about 100 packets, depending on their length). Long packets come in two parts. Live data waits behind messages, acks and the contact list instead of taking their room. Anything the list had to overwrite before the app read it is counted and reported, never silent.
  • "Messages Lost on the Radio." Stock MeshCore takes a message off the queue before the app has it, so a dropped link or a killed app could lose it. A full queue also pushed out the oldest channel messages, and then turned away new direct messages, without a word. Now a message stays queued until the app says it has saved it. The radio counts what it pushed out, turned away or lost in a restart, and the app shows that count. Delivery confirmations that arrive while no app is linked are kept for it too.
  • What stock apps see: the same frames as before. Two small changes in how they read the queue: the answer goes only to the app that asked, and a message leaves the queue only once that link took it. With a stock app on USB and the Cairn app on Bluetooth, each gets its own form.
  • The saved queue is now written to flash 5 s after each change (at most once a minute while the queue is full), and kept after it is read at boot, so a second crash no longer loses it. Queues saved by older builds are still read.
  • set tx checks its range (any app): set tx 30 used to answer OK and save 30 while the radio kept its old power. Now anything outside -9 to the board's maximum gets Error: range -9..N and nothing changes. get tx prints -9 as -9 (it printed 247). A saved value above 22, which never took effect, goes back to the default at boot, so no node's real output goes up on update.

L2 Pro, Heltec V4 touch, Heltec V4 Kit V1, ThinkNode M9, T-Deck

  • Locate button on the map (not on the Kit V1, which has no map): a crosshair under the zoom and fit buttons (in portrait, before the menu button). It centers the map on your position and follows it, at the same zoom. Its center fills while it follows you. With no position yet it says "No position yet". A second tap on the GPS tab does the same.
  • The position the app set now shows on the device. With the GPS off, a position set from the app showed nowhere on the device. The map, distances and bearings, the GPS data page and Home's GPS card now use the node's own position: a live fix first, then the position the app set or the last fix saved, then the remembered fix. The GPS data page marks a position that isn't live "(SAVED)" with the GPS off and "(LAST)" otherwise. Clearing the position from the app also forgets the remembered fix.
  • Every app preset on the device's preset picker: all 28 of the Cairn app's presets, with the app's names and values, grouped by region. The region you're in comes first (from your GPS fix or set position, else your frequency). A preset sets the path hash too when it has one, as the app does. The device remembers the preset you picked, so Switzerland stays Switzerland, and the Settings cards show short names ("AU Narrow · 22 dBm"). A radio on the old "EU/UK 869" values now reads Custom.
  • The path hash is easier to find on Settings › LoRa › Radio: the summary card shows it beside the TX power ("TX 22 dBm · 2-byte hash"). The milliwatts moved to the TX power picker's title. The Path hash tile moved ahead of TX power, and its picker says how many hops each size allows (63, 32, 21).
  • Radio settings over Wi-Fi from an "Always allow" phone. Every Wi-Fi client used to get "unsupported" for a radio change. A phone on the device's "Always allow" list can now apply a preset, a radio change or Repeat Mode over Wi-Fi, live. Trust is checked on each command, so forgetting the phone on the device ends it at once. A phone allowed once, or one whose address can't be confirmed (through a range extender, a VPN or a port forward), is still refused, and the Cairn app says to use Bluetooth, the radio or Always allow. The private key, signing, the pairing PIN, factory reset and restart stay refused over Wi-Fi for every phone.
  • The Wi-Fi app link's command line is limited too. The same things could be sent as command-line text (reboot, set pin, set radio, set wifi.*) by any linked phone, even one allowed once. Over Wi-Fi it now takes only ver, board, the read-only get settings and the set settings every phone could already change (name, TX power, tuning, path hash, receive gain, time zone). set radio needs an "Always allow" phone. So in the Cairn app's companion commands, Reboot, Power off, Set PIN and the Wi-Fi settings work over Bluetooth only. Bluetooth and USB are unchanged.
  • A failed online install no longer restarts without a trace: the notice ("Update failed · ") stays up for 4 s, and after the restart a toast says why ("Update: Download stalled"). Settings › Maintenance's last restart reads "Update failed".

These Wi-Fi rules are on the boards above only. The T-Display SF32's Wi-Fi app link hasn't changed and has no Allow prompt yet, so use it only on a network you trust.

T-Deck under an SD-card launcher (issue #28)

On a T-Deck that runs Cairn through a launcher (such as bmorcelli's Launcher), Update downloaded, then crashed and restarted every time. A launcher keeps itself in its own app slot and starts Cairn from another one. The updater wrote to the slot the board calls "next", and under a launcher that can be the slot Cairn is running from, so the write crashed the device. Boards installed over USB or the web flasher always have a spare slot, and were never affected.

  • 122 checks the partition layout before it writes anything. Under a launcher, the Firmware update page shows "Started by a launcher: update from its SD card" in place of the download size, and Install is grayed out. Wi-Fi transfer and the Cairn Updater upload refuse the same way. Nothing restarts.
  • About and the Firmware update page name the launcher's slot ("app1 · launcher").
  • To update under a launcher, copy the new -update.bin to the card and install it from the launcher. To switch to Wi-Fi updates, write the -full.bin at 0x0 over USB once (this removes the launcher and erases the device).
  • Devices on 121 or earlier still run the old updater, so getting to 122 takes that one install from the card.

T-Display SF32

  • The radio resends what the app missed, and no more lost queued messages (needs the Cairn app 1.1, build 18): see Every Cairn companion above.
  • All 28 app presets on the Radio page, grouped by region, as on the touch boards. The preset is stored only once the radio change has taken, so a refused change keeps the old name. The radio page takes its TX range from the firmware's limit.
  • A radio change no longer leaves it deaf.

T096 companion

  • A preset change no longer stops it receiving. The radio is now put on standby, given the new settings and set listening again in one pass, and the noise floor is measured afresh on the new channel. The stuck-receiver check's last step now also switches the front end back to receive and resets the receiver, as its own transmit does.
  • TX power tops out at 16 (was 18). From 15 on the amplifier gives about 28 dBm at the antenna and adds no more. The default stays 9, about 23 dBm at the antenna, and the screen now reads 23 dBm (it read 22, from another board's curve). A saved setting above 16 is lowered at boot, which leaves the output where it was.
  • Resend, catch-up and the lost-message count with the Cairn app 1.1 (build 18): see Every Cairn companion above.

Heltec V4 kits, Tracker V2 and the TX power screens

  • TX power tops out at 18 on the Heltec V4, V4 Kit V1 and Tracker V2, and on the V4-R8 repeater (was 22; the V4-R8 touch companion has been at 18 since Cairn 116). On a V4.2 this keeps the GC1109 amplifier's input about 4 dB under its maximum, for under 1 dB less output. On the KCT8103L boards, 19 to 22 only added current and heat. Defaults are unchanged, and a saved setting above 18 is lowered at boot.
  • Every screen shows the power at the antenna, from the board's own curve: a V4.2 now uses the GC1109's curve (it read 2 dB high), and the Kit V1's touch UI shows antenna power too.

Compact repeaters and room server

  • Repeaters space out their scan replies. A phone's or device's "Scan repeaters" asks every repeater in range to answer at once, and in a busy area most replies collided. A repeater now waits a random time in a window that grows with the neighbors it heard in the last 30 minutes, up to 14 s. Cairn devices listen at least 15 s. The Cairn app listens 6 to 15 s depending on the preset, and keeps listening (up to 15 s) while replies are still arriving. A scanner that stops sooner, including the app's on a fast preset after a lull, may miss late replies.
  • The reply budget is a burst of 4, then one every 30 s (it was 4 per fixed 2-minute window, so up to 8 could get through at the window's edge). A scan for other node types, or for changes this repeater hasn't had, no longer uses it up. The reply itself is unchanged.
  • TX power: the V4, V4-R8 and Tracker V2 repeater screens now show the power at the antenna, as the T096's has since Cairn 116, and the TX row ends at the new limits (T096: 1, 5, 9, 13, 16 = 15 to 28 dBm; V4, V4-R8 and Tracker V2: 18). set tx checks its range, as on the companions.
  • get cairn.cfg (repeaters, room servers and sensors) adds txm= (the highest setting this node takes) and txa= (the power at the antenna now and at the maximum), so the Cairn app limits its remote TX control to what the node really takes.
  • The room server's TX power screen takes -9 to the board's limit (was 1 to 30) and shows the power at the antenna.
  • A radio change no longer leaves the node deaf, including a repeater's tempradio.

Fixed

  • Deaf after a radio change (every board): changing the frequency, bandwidth, spreading factor or coding rate while the radio was listening wrote the new settings into a chip that was still receiving. It kept listening on the old settings, or stopped, while the firmware thought it was receiving. Now the radio is parked, set and started listening again in one pass. A packet being sent or waiting to be read is never cut.
  • Online update crash on a T-Deck under a launcher (issue #28): see the section above.
  • Command-line text over Wi-Fi went around the rules for the other Wi-Fi commands (L2 Pro, Heltec V4 kits, M9, T-Deck): see above.
  • set tx out of range answered OK and saved a power the radio never used (every board).
  • A failed online install restarted with no reason shown (L2 Pro, Heltec V4 kits, M9, T-Deck).

Don't miss a new CAIRN release

NewReleases is sending notifications on new releases.