Repository navigation
LibreTag 0.13.1
LibreTag Android app 0.13.1 (preview)
Signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Android 8.0 or newer.
Open Bluetooth on a tag the app has lost track of
Before, Open Bluetooth remotely sent a request that only fits the tag's last report the app heard. If the tag had moved on (it was out of range for a day or two and the app missed its reports), the tag never accepted the request, even with the phone right next to it.
The phone now also sends a wake-up request over Bluetooth that doesn't depend on the tag's reports. The tag looks for it every time it wakes up and opens its Bluetooth for 3 minutes.
- The tag's screen says the phone is waiting for the tag to wake up, and roughly when that should be. Keep the phone near the tag.
- The phone waits for up to two report periods, at least 2 hours. Stop waiting cancels it.
- When the tag answers, the app connects by itself. If you left the screen, a notification tells you the tag is listening; tap it to connect.
- The request still goes through your MeshCore node or the Nostr bridges as before.
Fixes
- "Checking for missed reports…" no longer stays on screen after the app has finished checking. If the check failed (a relay dropped mid-query), the app now tries again instead of showing that line for good.
- The Bluetooth scan for a tag's console no longer gets stuck on after a "scan failed 1" error, which kept the radio scanning until the app was closed.
Upgrading
Install over 0.13.0. The app needs tracker firmware 0.9.5 or newer. A tag with older firmware shows "Update firmware" on its screen. Update it over the cable first.
LibreTag tracker firmware 0.9.5 (preview)
This release has one change. The owner's phone can open the tag's Bluetooth console from next to the tag, even when it has missed the tag's reports.
What changed
- The tag now also looks for a "console wake" advert from the owner's phone in every Bluetooth scan it runs at a wake-up. When it finds one from its owner, it opens the Bluetooth console for 3 minutes, as the
BLE_CONSOLEcommand does. - The advert is keyed with the pairing's USB key, not with the report counter. A phone that missed reports, or a tag that moved on to new keys while out of range, still match.
- The same rules as for the command apply: a paired tag, a battery above the transmit floor, and no window after 5 failed logins since the last restart. The tag sends no report for it.
- Each advert carries a random salt, so adverts of two sessions cannot be linked, and the tag refuses a salt it already took since its last restart.
- Console:
blecmdshowswake_seen=andwake_taken=.
Why
In the field a tag was out of mesh range for almost two days. Next to it, the owner asked the app to open Bluetooth. The command was sealed for the last report the phone had heard, the tag had long moved past it, and it never matched.
Install
As for 0.9.4: UF2 drag-and-drop or serial DFU for the Wio Tracker L1, esptool for the Heltec (README.md). The pairing survives the update. The app needs 0.13.1 to send the wake advert.
Known limits
- The wake advert has been tested against the reference vectors only, not yet on air between a phone and a tag.
- The window opens at the tag's next wake-up, so it can take up to one wake-up interval.
Source
ZephCore commit da3513aa6d08 (pinned in firmware/zephcore.lock) plus the 41 patches in firmware/zephcore-patches/.
Files
Signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Checksums: SHA256SUMS. The Nostr bridge APK is unchanged (0.5.0).