Skip to content

Linux + iPhone Continuity / iMessage / SMS

fix: le = on, ancs = no situation

Zack Bartel5ecbc407270c
diff --git a/docs/BLUETOOTH.md b/docs/BLUETOOTH.md
index 6e38233..5ab4ea9 100644
--- a/docs/BLUETOOTH.md
+++ b/docs/BLUETOOTH.md
@@ -128,6 +128,7 @@ checks the daemon does not make.
| `tether --bt-status` reports `Bond: BR/EDR only` | The bond was made without cross-transport key derivation, so it has no LE half and can never carry ANCS | Forget this computer on the iPhone and pair again. Check `secure-connections` in the same output first: re-pairing cannot help while it is off |
| Walked back into range and nothing reconnected for minutes | Fixed. The ANCS advert was gated on the Classic link, and the Classic backoff had no event that ended the absence | Nothing. The advert stays on air whenever LE is down, and an LE link coming up clears the Classic backoff -- see 2026-08-22 |
| Startup logs `StartNotify not ready yet (InProgress)` for up to a minute | GATT discovery is still running on the new LE link | Nothing. It subscribes on its own. Only treat it as the 2026-08-19 hang if the LE link never comes up |
+| `tether --bt-connection` reports LE and messages up but `Notifications: no`, for hours | Fixed. The LE link was opened by the dial and carries no ANCS. A connected link used to take the solicitation off air, so the phone was never asked for the service | Nothing. The advert goes back on air over a link that has stayed up without ANCS -- see 2026-08-23. To clear it by hand on an older build, `tether --bt-solicit`; do not re-pair, and do not cycle the phone's Bluetooth |
| The status says the iPhone is not answering on LE, and its permission is on | The phone's Bluetooth stack is wedged, which the granted permission does not prevent | Turn Bluetooth off and back on **on the iPhone**. Re-pairing and re-toggling the permission do not clear this |
| Everything connects but `ancs_ready` stays false | Compatibility mode, or iOS has not authorized notification content yet | Check `Mode:` in `tether --bt-status`. In full mode the daemon retries, the first request returns `NotPermitted` until the prompt on the phone is approved |
| A group conversation cannot be replied to | Working as designed until the route is unambiguous | The thread's `reply_reason` says which condition failed |
@@ -760,6 +761,107 @@ Tether's Bluetooth support is an independent implementation written against thos
findings, Apple's ANCS specification, the Bluetooth SIG MAP and PBAP specifications, and
the BlueZ D-Bus API.
+### 2026-08-23 - The GTK app hid the one line that said what to do
+
+Same hardware, a boot right after the fix above. BR/EDR, MAP and PBAP came up in 1.3s
+and LE never formed. The daemon behaved correctly throughout -- the advert was on air the
+whole time, and at 181.2s the link reason escalated to exactly the right remedy:
+
+```
+t= 1.3s Connected. Waiting for the iPhone to open the LE link...
+t= 181.2s The iPhone is not answering on LE. Its Bluetooth is wedged on its own
+ side: turn Bluetooth off and back on on the iPhone...
+t= 633.9s classic=False <- Bluetooth cycled on the phone
+t= 644.2s classic=True le=True <- link forms on the way back
+t= 651.1s ancs=True "Notification mirroring is active."
+```
+
+Ten and a half minutes of silence against a continuously broadcasting advert, cleared
+instantly by the phone-side cycle. That is the 2026-08-19 failure exactly, and the
+status text named it at the three-minute mark.
+
+Nobody saw it. The GTK app picked `profile_reason` first and fell back to `link_reason`
+only when it was empty -- and `profile_reason` was "Messages and contacts are connected."
+So the app calmly reported the working half while discarding the only line that said what
+to do about the broken one, for seven and a half minutes. The advice existed, was
+correct, was on time, and was invisible where the user was actually looking.
+
+A profile that is up is not news. The reason now follows the link: while BR/EDR or LE is
+down the app shows `link_reason`, and `profile_reason` only once both are up.
+
+Worth separating from the entry above: that one is an LE link that comes up carrying no
+ANCS, this one is an LE link that never comes up at all. Same symptom in the app, and
+they need opposite remedies -- which is the recurring lesson in this file.
+
+### 2026-08-23 - A live LE link that carries no ANCS silences its own recovery
+
+| | |
+|---|---|
+| Controller | MediaTek MT7925 (RZ717) Wi-Fi 7 |
+| BlueZ | 5.87 |
+| Phone | iPhone 15 Pro |
+
+Reported as the CLI and the GTK app disagreeing about LE. They did not: both read the
+same payload and both said LE was up. The ✗ was on the Notifications row, and
+`--bt-connection` did not print that row at all, so the two could not be compared. That
+is fixed here as well.
+
+Captured from the daemon's own timeline, on a session that had been in the failed state
+for over thirty minutes:
+
+```
+t=1.3s BR/EDR up, MAP+PBAP up, LE down
+t=29.7s LE still down ancs_reason "The iPhone is not connected over LE."
+t=46.2s BR/EDR dropped
+t=54.5s BR/EDR back
+t=61.0s le_connected -> TRUE link_reason "Connected over BR/EDR and LE."
+t=61.0s ancs_reason -> "Waiting for the iPhone's notification service." [stuck]
+```
+
+At t=61s the one-shot dial opened an LE link. Everything about it read healthy and it
+carried nothing:
+
+| Signal | Value |
+|---|---|
+| `Bearer.LE1` `Connected` / `Paired` / `Bonded` | all true |
+| `Device1.ServicesResolved` | false |
+| GATT objects under the device path | none |
+| ANCS UUID `7905f431-...` in `Device1.UUIDs` | absent |
+| `LEAdvertisingManager1.ActiveInstances` | 0 |
+
+The solicitation was gated on `!le_connected`, so the dial's link took the advert off
+air permanently -- and the advert is the only thing that asks the phone for ANCS.
+`AncsClient::discover()` scanned for characteristics that were never going to appear and
+retried behind "Waiting for the iPhone's notification service." forever. This is the
+daily failure that had been cleared by hand, and the fiddling that cleared it was
+breaking the dead link so the advert could go back up.
+
+**`tether --bt-solicit` alone fixed it, with nothing touched on the phone.** Under a minute:
+
+| | Before | After |
+|---|---|---|
+| `ancs_ready` | false | true |
+| `ancs_reason` | "Waiting for the iPhone's notification service." | "Notification mirroring is active." |
+| ANCS UUID in `Device1.UUIDs` | absent | present |
+| `ServicesResolved` | false | true |
+
+So the iPhone was not withholding ANCS, and no permission was wrong. It was never asked.
+The advert now goes back on air over an LE link that has stayed up for
+`ANCS_ABSENT_GRACE_SECONDS` without the phone offering the service, which is
+`should_solicit_ancs()`. The window is 75s -- longer than the GATT discovery measured on
+2026-08-22, so a normally forming link is never solicited over. A dial in flight still
+holds the advert off (2026-08-20), and a live subscription still outranks every property
+(2026-08-19), so neither recorded failure is reintroduced.
+
+This is the 2026-08-19 lesson in the other direction. `Bearer.LE1.Connected` reads false
+on a live ANCS link and true on a link that carries none: it is not evidence either way,
+and gating on it in either polarity is what breaks.
+
+Inferred, not captured: that the dial rather than an unanswered advert produced the dead
+link. The t=61s transition and the measurements on 2026-08-22 -- where the advert opened
+a link in 1.3s and the dial never opened one -- are what point at it. The fix does not
+depend on which opened it.
+
### 2026-08-22 - Coming back in range waited on a backoff nothing could clear
Left the laptop, came back, and the log had been idle for minutes:
diff --git a/po/de.po b/po/de.po
index cadcd4f..72ebec3 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-08-22 23:59-0700\n"
+"POT-Creation-Date: 2026-08-23 10:53-0700\n"
"PO-Revision-Date: 2026-08-22\n"
"Last-Translator: Tether project\n"
"Language-Team: German\n"
@@ -222,8 +222,8 @@ msgstr "Die Bluetooth-Geräte konnten nicht vom Daemon gelesen werden.\n"
msgid "No Bluetooth devices known to BlueZ.\n"
msgstr "BlueZ sind keine Bluetooth-Geräte bekannt.\n"
-#: src/cli/main.cpp:291 src/cli/main.cpp:502 src/cli/main.cpp:776
-#: src/cli/main.cpp:796
+#: src/cli/main.cpp:291 src/cli/main.cpp:505 src/cli/main.cpp:779
+#: src/cli/main.cpp:799
msgid "Could not reach the daemon.\n"
msgstr "Der Daemon war nicht erreichbar.\n"
@@ -267,92 +267,101 @@ msgstr ""
"\n"
"Kontakte (PBAP): %s"
-#: src/cli/main.cpp:371
+#: src/cli/main.cpp:353
+#, c-format
+msgid ""
+"\n"
+"Notifications: %s\n"
+msgstr ""
+"\n"
+"Mitteilungen: %s\n"
+
+#: src/cli/main.cpp:374
msgid "Could not read Bluetooth diagnostics from the daemon.\n"
msgstr "Die Bluetooth-Diagnose konnte nicht vom Daemon gelesen werden.\n"
-#: src/cli/main.cpp:395
+#: src/cli/main.cpp:398
msgid "Could not read notifications from the daemon.\n"
msgstr "Die Mitteilungen konnten nicht vom Daemon gelesen werden.\n"
-#: src/cli/main.cpp:401
+#: src/cli/main.cpp:404
#, c-format
msgid "No notifications yet. Check 'tether --bt-connection'.\n"
msgstr "Noch keine Mitteilungen. Prüfen Sie 'tether --bt-connection'.\n"
-#: src/cli/main.cpp:429
+#: src/cli/main.cpp:432
msgid "Could not read conversations from the daemon.\n"
msgstr "Die Unterhaltungen konnten nicht vom Daemon gelesen werden.\n"
-#: src/cli/main.cpp:435
+#: src/cli/main.cpp:438
#, c-format
msgid "No conversations yet. Check 'tether --bt-connection'.\n"
msgstr "Noch keine Unterhaltungen. Prüfen Sie 'tether --bt-connection'.\n"
-#: src/cli/main.cpp:449
+#: src/cli/main.cpp:452
#, c++-format
msgid "({} unread)"
msgid_plural "({} unread)"
msgstr[0] "({} ungelesen)"
msgstr[1] "({} ungelesen)"
-#: src/cli/main.cpp:470
+#: src/cli/main.cpp:473
msgid "Could not read messages from the daemon.\n"
msgstr "Die Nachrichten konnten nicht vom Daemon gelesen werden.\n"
-#: src/cli/main.cpp:476
+#: src/cli/main.cpp:479
#, c-format
msgid "No messages in %s\n"
msgstr "Keine Nachrichten in %s\n"
-#: src/cli/main.cpp:484
+#: src/cli/main.cpp:487
msgid "me"
msgstr "ich"
-#: src/cli/main.cpp:484
+#: src/cli/main.cpp:487
msgid "them"
msgstr "andere"
-#: src/cli/main.cpp:511
+#: src/cli/main.cpp:514
msgid "Daemon closed the connection before the message was sent.\n"
msgstr ""
"Der Daemon hat die Verbindung geschlossen, bevor die Nachricht gesendet "
"wurde.\n"
-#: src/cli/main.cpp:533
+#: src/cli/main.cpp:536
#, c-format
msgid "Sent to %s\n"
msgstr "Gesendet an %s\n"
-#: src/cli/main.cpp:536 src/gtk/messages_view.cpp:497
+#: src/cli/main.cpp:539 src/gtk/messages_view.cpp:497
msgid "The message was not sent."
msgstr "Die Nachricht wurde nicht gesendet."
-#: src/cli/main.cpp:640
+#: src/cli/main.cpp:643
msgid "Unknown action. Run tether --help for options\n"
msgstr ""
"Unbekannte Aktion. Führen Sie tether --help aus, um die Optionen zu sehen\n"
-#: src/cli/main.cpp:662
+#: src/cli/main.cpp:665
msgid " No tetherd instances found.\n"
msgstr " Keine tetherd-Instanzen gefunden.\n"
-#: src/cli/main.cpp:666
+#: src/cli/main.cpp:669
msgid "[new]"
msgstr "[neu]"
-#: src/cli/main.cpp:668
+#: src/cli/main.cpp:671
msgid "[known]"
msgstr "[bekannt]"
-#: src/cli/main.cpp:679
+#: src/cli/main.cpp:682
#, c-format
msgid "Found %zu device in %.1fs\n"
msgid_plural "Found %zu devices in %.1fs\n"
msgstr[0] "%zu Gerät in %.1fs gefunden\n"
msgstr[1] "%zu Geräte in %.1fs gefunden\n"
-#: src/cli/main.cpp:697
+#: src/cli/main.cpp:700
msgid ""
"Explicit framework connection locally rejected! Did you target explicitly "
"invalid TLS or is daemon broken?\n"
@@ -360,18 +369,18 @@ msgstr ""
"Verbindung lokal abgelehnt! Haben Sie ein ungültiges TLS angegeben oder ist "
"der Daemon defekt?\n"
-#: src/cli/main.cpp:727
+#: src/cli/main.cpp:730
#, c++-format
msgid "Transfer Failed: {}"
msgstr "Übertragung fehlgeschlagen: {}"
-#: src/cli/main.cpp:749
+#: src/cli/main.cpp:752
msgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"
msgstr ""
"Ein Unterhaltungsschlüssel ist erforderlich, z. B. --bt-messages tel:"
"+15551234567\n"
-#: src/cli/main.cpp:755
+#: src/cli/main.cpp:758
msgid ""
"A conversation and a message are required, e.g. --bt-send tel:+15551234567 "
"\"hi\"\n"
@@ -379,21 +388,21 @@ msgstr ""
"Eine Unterhaltung und eine Nachricht sind erforderlich, z. B. --bt-send tel:"
"+15551234567 \"hallo\"\n"
-#: src/cli/main.cpp:761
+#: src/cli/main.cpp:764
msgid "A Bluetooth address is required, e.g. --bt-pair AA:BB:CC:DD:EE:FF\n"
msgstr ""
"Eine Bluetooth-Adresse ist erforderlich, z. B. --bt-pair AA:BB:CC:DD:EE:FF\n"
-#: src/cli/main.cpp:769
+#: src/cli/main.cpp:772
msgid "Expected on or off, e.g. --bt-enable off\n"
msgstr "Erwartet wurde on oder off, z. B. --bt-enable off\n"
-#: src/cli/main.cpp:780
+#: src/cli/main.cpp:783
#, c-format
msgid "Bluetooth enabled.\n"
msgstr "Bluetooth eingeschaltet.\n"
-#: src/cli/main.cpp:783
+#: src/cli/main.cpp:786
#, c-format
msgid ""
"Bluetooth disabled. Tether will not reconnect the iPhone. A link that is\n"
@@ -404,24 +413,24 @@ msgstr ""
"bestehende Verbindung bleibt, bis Sie sie trennen oder das Telefon außer "
"Reichweite gerät.\n"
-#: src/cli/main.cpp:789
+#: src/cli/main.cpp:792
#, c++-format
msgid "Expected on or off, e.g. {} on\n"
msgstr "Erwartet wurde on oder off, z. B. {} on\n"
-#: src/cli/main.cpp:802
+#: src/cli/main.cpp:805
msgid "Notification contents enabled."
msgstr "Mitteilungsinhalte eingeschaltet."
-#: src/cli/main.cpp:802
+#: src/cli/main.cpp:805
msgid "Notification contents disabled."
msgstr "Mitteilungsinhalte ausgeschaltet."
-#: src/cli/main.cpp:803
+#: src/cli/main.cpp:806
msgid "Notification mirroring enabled."
msgstr "Spiegelung von Mitteilungen eingeschaltet."
-#: src/cli/main.cpp:803
+#: src/cli/main.cpp:806
msgid "Notification mirroring disabled."
msgstr "Spiegelung von Mitteilungen ausgeschaltet."
@@ -506,7 +515,14 @@ msgstr ""
"Das iPhone liefert diese Nachricht gerade nicht; nur auf diesem Rechner als "
"gelesen markiert."
-#: src/core/src/bluetooth/connection.cpp:1159
+#: src/core/src/bluetooth/connection.cpp:951
+msgid ""
+"The iPhone is not offering notifications on this link. Asking it again..."
+msgstr ""
+"Das iPhone bietet auf dieser Verbindung keine Mitteilungen an. Es wird "
+"erneut angefragt ..."
+
+#: src/core/src/bluetooth/connection.cpp:1183
msgid "No paired iPhone selected."
msgstr "Kein gekoppeltes iPhone ausgewählt."
@@ -657,7 +673,7 @@ msgid "Cancel"
msgstr "Abbrechen"
#. TRANSLATORS: the feature name Tether shows for this profile.
-#: src/core/src/bluetooth/profile_supervisor.cpp:76 src/daemon/main.cpp:152
+#: src/core/src/bluetooth/profile_supervisor.cpp:76 src/daemon/main.cpp:169
#: src/gtk/devices_view.cpp:196 src/gtk/main.cpp:126
msgid "Messages"
msgstr "Nachrichten"
@@ -747,20 +763,20 @@ msgid "Opening messages and contacts..."
msgstr "Nachrichten und Kontakte werden geöffnet..."
#. TRANSLATORS: {0} is the device name, {1} is a shortened key fingerprint.
-#: src/core/src/net.cpp:1421
+#: src/core/src/net.cpp:1437
#, c++-format
msgid "{0} ({1}) wants to pair with this device."
msgstr "{0} ({1}) möchte sich mit diesem Gerät koppeln."
-#: src/core/src/net.cpp:1422
+#: src/core/src/net.cpp:1438
msgid "Pairing Request"
msgstr "Kopplungsanfrage"
-#: src/core/src/net.cpp:1423
+#: src/core/src/net.cpp:1439
msgid "Accept"
msgstr "Annehmen"
-#: src/core/src/net.cpp:1424
+#: src/core/src/net.cpp:1440
msgid "Reject"
msgstr "Ablehnen"
@@ -780,17 +796,17 @@ msgstr "Ordner öffnen"
msgid "Reply"
msgstr "Antworten"
-#: src/gtk/daemon_client.cpp:56 src/gtk/daemon_client.cpp:163
+#: src/gtk/daemon_client.cpp:56 src/gtk/daemon_client.cpp:151
msgid "Daemon Offline"
msgstr "Daemon offline"
#: src/gtk/daemon_client.cpp:57 src/gtk/daemon_client.cpp:58
-#: src/gtk/daemon_client.cpp:164 src/gtk/daemon_client.cpp:165
+#: src/gtk/daemon_client.cpp:152 src/gtk/daemon_client.cpp:153
#: src/gtk/messages_view.cpp:736
msgid "The Tether daemon is not running."
msgstr "Der Tether-Daemon läuft nicht."
-#: src/gtk/daemon_client.cpp:190
+#: src/gtk/daemon_client.cpp:178
msgid "Daemon Online"
msgstr "Daemon online"
diff --git a/po/es.po b/po/es.po
index 8de5fda..5807d55 100644
--- a/po/es.po
+++ b/po/es.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-08-22 23:59-0700\n"
+"POT-Creation-Date: 2026-08-23 10:53-0700\n"
"PO-Revision-Date: 2026-08-22\n"
"Last-Translator: Tether project\n"
"Language-Team: Spanish\n"
@@ -227,8 +227,8 @@ msgstr "No se pudieron leer los dispositivos Bluetooth del daemon.\n"
msgid "No Bluetooth devices known to BlueZ.\n"
msgstr "BlueZ no conoce ningún dispositivo Bluetooth.\n"
-#: src/cli/main.cpp:291 src/cli/main.cpp:502 src/cli/main.cpp:776
-#: src/cli/main.cpp:796
+#: src/cli/main.cpp:291 src/cli/main.cpp:505 src/cli/main.cpp:779
+#: src/cli/main.cpp:799
msgid "Could not reach the daemon.\n"
msgstr "No se pudo contactar con el daemon.\n"
@@ -269,89 +269,98 @@ msgstr ""
"\n"
"Contactos (PBAP): %s"
-#: src/cli/main.cpp:371
+#: src/cli/main.cpp:353
+#, c-format
+msgid ""
+"\n"
+"Notifications: %s\n"
+msgstr ""
+"\n"
+"Notificaciones: %s\n"
+
+#: src/cli/main.cpp:374
msgid "Could not read Bluetooth diagnostics from the daemon.\n"
msgstr "No se pudieron leer los diagnósticos de Bluetooth del daemon.\n"
-#: src/cli/main.cpp:395
+#: src/cli/main.cpp:398
msgid "Could not read notifications from the daemon.\n"
msgstr "No se pudieron leer las notificaciones del daemon.\n"
-#: src/cli/main.cpp:401
+#: src/cli/main.cpp:404
#, c-format
msgid "No notifications yet. Check 'tether --bt-connection'.\n"
msgstr "Aún no hay notificaciones. Compruebe 'tether --bt-connection'.\n"
-#: src/cli/main.cpp:429
+#: src/cli/main.cpp:432
msgid "Could not read conversations from the daemon.\n"
msgstr "No se pudieron leer las conversaciones del daemon.\n"
-#: src/cli/main.cpp:435
+#: src/cli/main.cpp:438
#, c-format
msgid "No conversations yet. Check 'tether --bt-connection'.\n"
msgstr "Aún no hay conversaciones. Compruebe 'tether --bt-connection'.\n"
-#: src/cli/main.cpp:449
+#: src/cli/main.cpp:452
#, c++-format
msgid "({} unread)"
msgid_plural "({} unread)"
msgstr[0] "({} sin leer)"
msgstr[1] "({} sin leer)"
-#: src/cli/main.cpp:470
+#: src/cli/main.cpp:473
msgid "Could not read messages from the daemon.\n"
msgstr "No se pudieron leer los mensajes del daemon.\n"
-#: src/cli/main.cpp:476
+#: src/cli/main.cpp:479
#, c-format
msgid "No messages in %s\n"
msgstr "No hay mensajes en %s\n"
-#: src/cli/main.cpp:484
+#: src/cli/main.cpp:487
msgid "me"
msgstr "yo"
-#: src/cli/main.cpp:484
+#: src/cli/main.cpp:487
msgid "them"
msgstr "ellos"
-#: src/cli/main.cpp:511
+#: src/cli/main.cpp:514
msgid "Daemon closed the connection before the message was sent.\n"
msgstr "El daemon cerró la conexión antes de enviar el mensaje.\n"
-#: src/cli/main.cpp:533
+#: src/cli/main.cpp:536
#, c-format
msgid "Sent to %s\n"
msgstr "Enviado a %s\n"
-#: src/cli/main.cpp:536 src/gtk/messages_view.cpp:497
+#: src/cli/main.cpp:539 src/gtk/messages_view.cpp:497
msgid "The message was not sent."
msgstr "El mensaje no se envió."
-#: src/cli/main.cpp:640
+#: src/cli/main.cpp:643
msgid "Unknown action. Run tether --help for options\n"
msgstr "Acción desconocida. Ejecute tether --help para ver las opciones\n"
-#: src/cli/main.cpp:662
+#: src/cli/main.cpp:665
msgid " No tetherd instances found.\n"
msgstr " No se encontró ninguna instancia de tetherd.\n"
-#: src/cli/main.cpp:666
+#: src/cli/main.cpp:669
msgid "[new]"
msgstr "[nuevo]"
-#: src/cli/main.cpp:668
+#: src/cli/main.cpp:671
msgid "[known]"
msgstr "[conocido]"
-#: src/cli/main.cpp:679
+#: src/cli/main.cpp:682
#, c-format
msgid "Found %zu device in %.1fs\n"
msgid_plural "Found %zu devices in %.1fs\n"
msgstr[0] "Se encontró %zu dispositivo en %.1fs\n"
msgstr[1] "Se encontraron %zu dispositivos en %.1fs\n"
-#: src/cli/main.cpp:697
+#: src/cli/main.cpp:700
msgid ""
"Explicit framework connection locally rejected! Did you target explicitly "
"invalid TLS or is daemon broken?\n"
@@ -359,18 +368,18 @@ msgstr ""
"¡Conexión rechazada localmente! ¿Ha indicado un TLS no válido o el daemon "
"está averiado?\n"
-#: src/cli/main.cpp:727
+#: src/cli/main.cpp:730
#, c++-format
msgid "Transfer Failed: {}"
msgstr "Fallo en la transferencia: {}"
-#: src/cli/main.cpp:749
+#: src/cli/main.cpp:752
msgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"
msgstr ""
"Se requiere una clave de conversación, p. ej. --bt-messages tel:"
"+15551234567\n"
-#: src/cli/main.cpp:755
+#: src/cli/main.cpp:758
msgid ""
"A conversation and a message are required, e.g. --bt-send tel:+15551234567 "
"\"hi\"\n"
@@ -378,21 +387,21 @@ msgstr ""
"Se requieren una conversación y un mensaje, p. ej. --bt-send tel:"
"+15551234567 \"hola\"\n"
-#: src/cli/main.cpp:761
+#: src/cli/main.cpp:764
msgid "A Bluetooth address is required, e.g. --bt-pair AA:BB:CC:DD:EE:FF\n"
msgstr ""
"Se requiere una dirección Bluetooth, p. ej. --bt-pair AA:BB:CC:DD:EE:FF\n"
-#: src/cli/main.cpp:769
+#: src/cli/main.cpp:772
msgid "Expected on or off, e.g. --bt-enable off\n"
msgstr "Se esperaba on u off, p. ej. --bt-enable off\n"
-#: src/cli/main.cpp:780
+#: src/cli/main.cpp:783
#, c-format
msgid "Bluetooth enabled.\n"
msgstr "Bluetooth activado.\n"
-#: src/cli/main.cpp:783
+#: src/cli/main.cpp:786
#, c-format
msgid ""
"Bluetooth disabled. Tether will not reconnect the iPhone. A link that is\n"
@@ -403,24 +412,24 @@ msgstr ""
"esté activo seguirá activo hasta que lo desconecte o el teléfono quede fuera "
"de alcance.\n"
-#: src/cli/main.cpp:789
+#: src/cli/main.cpp:792
#, c++-format
msgid "Expected on or off, e.g. {} on\n"
msgstr "Se esperaba on u off, p. ej. {} on\n"
-#: src/cli/main.cpp:802
+#: src/cli/main.cpp:805
msgid "Notification contents enabled."
msgstr "Contenido de las notificaciones activado."
-#: src/cli/main.cpp:802
+#: src/cli/main.cpp:805
msgid "Notification contents disabled."
msgstr "Contenido de las notificaciones desactivado."
-#: src/cli/main.cpp:803
+#: src/cli/main.cpp:806
msgid "Notification mirroring enabled."
msgstr "Duplicación de notificaciones activada."
-#: src/cli/main.cpp:803
+#: src/cli/main.cpp:806
msgid "Notification mirroring disabled."
msgstr "Duplicación de notificaciones desactivada."
@@ -505,7 +514,14 @@ msgstr ""
"El iPhone no está sirviendo ese mensaje ahora mismo; se marcó como leído "
"solo en este equipo."
-#: src/core/src/bluetooth/connection.cpp:1159
+#: src/core/src/bluetooth/connection.cpp:951
+msgid ""
+"The iPhone is not offering notifications on this link. Asking it again..."
+msgstr ""
+"El iPhone no ofrece notificaciones en este enlace. Se le vuelve a "
+"preguntar..."
+
+#: src/core/src/bluetooth/connection.cpp:1183
msgid "No paired iPhone selected."
msgstr "No hay ningún iPhone emparejado seleccionado."
@@ -654,7 +670,7 @@ msgid "Cancel"
msgstr "Cancelar"
#. TRANSLATORS: the feature name Tether shows for this profile.
-#: src/core/src/bluetooth/profile_supervisor.cpp:76 src/daemon/main.cpp:152
+#: src/core/src/bluetooth/profile_supervisor.cpp:76 src/daemon/main.cpp:169
#: src/gtk/devices_view.cpp:196 src/gtk/main.cpp:126
msgid "Messages"
msgstr "Mensajes"
@@ -741,20 +757,20 @@ msgid "Opening messages and contacts..."
msgstr "Abriendo mensajes y contactos..."
#. TRANSLATORS: {0} is the device name, {1} is a shortened key fingerprint.
-#: src/core/src/net.cpp:1421
+#: src/core/src/net.cpp:1437
#, c++-format
msgid "{0} ({1}) wants to pair with this device."
msgstr "{0} ({1}) quiere emparejarse con este dispositivo."
-#: src/core/src/net.cpp:1422
+#: src/core/src/net.cpp:1438
msgid "Pairing Request"
msgstr "Solicitud de emparejamiento"
-#: src/core/src/net.cpp:1423
+#: src/core/src/net.cpp:1439
msgid "Accept"
msgstr "Aceptar"
-#: src/core/src/net.cpp:1424
+#: src/core/src/net.cpp:1440
msgid "Reject"
msgstr "Rechazar"
@@ -774,17 +790,17 @@ msgstr "Abrir carpeta"
msgid "Reply"
msgstr "Responder"
-#: src/gtk/daemon_client.cpp:56 src/gtk/daemon_client.cpp:163
+#: src/gtk/daemon_client.cpp:56 src/gtk/daemon_client.cpp:151
msgid "Daemon Offline"
msgstr "Daemon desconectado"
#: src/gtk/daemon_client.cpp:57 src/gtk/daemon_client.cpp:58
-#: src/gtk/daemon_client.cpp:164 src/gtk/daemon_client.cpp:165
+#: src/gtk/daemon_client.cpp:152 src/gtk/daemon_client.cpp:153
#: src/gtk/messages_view.cpp:736
msgid "The Tether daemon is not running."
msgstr "El daemon de Tether no se está ejecutando."
-#: src/gtk/daemon_client.cpp:190
+#: src/gtk/daemon_client.cpp:178
msgid "Daemon Online"
msgstr "Daemon conectado"
diff --git a/po/fr.po b/po/fr.po
index 473a7f5..3646df7 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-08-22 23:59-0700\n"
+"POT-Creation-Date: 2026-08-23 10:53-0700\n"
"PO-Revision-Date: 2026-08-22\n"
"Last-Translator: Tether project\n"
"Language-Team: French\n"
@@ -224,8 +224,8 @@ msgstr "Impossible de lire les appareils Bluetooth depuis le démon.\n"
msgid "No Bluetooth devices known to BlueZ.\n"
msgstr "Aucun appareil Bluetooth connu de BlueZ.\n"
-#: src/cli/main.cpp:291 src/cli/main.cpp:502 src/cli/main.cpp:776
-#: src/cli/main.cpp:796
+#: src/cli/main.cpp:291 src/cli/main.cpp:505 src/cli/main.cpp:779
+#: src/cli/main.cpp:799
msgid "Could not reach the daemon.\n"
msgstr "Impossible de joindre le démon.\n"
@@ -266,91 +266,100 @@ msgstr ""
"\n"
"Contacts (PBAP) : %s"
-#: src/cli/main.cpp:371
+#: src/cli/main.cpp:353
+#, c-format
+msgid ""
+"\n"
+"Notifications: %s\n"
+msgstr ""
+"\n"
+"Notifications : %s\n"
+
+#: src/cli/main.cpp:374
msgid "Could not read Bluetooth diagnostics from the daemon.\n"
msgstr "Impossible de lire les diagnostics Bluetooth depuis le démon.\n"
-#: src/cli/main.cpp:395
+#: src/cli/main.cpp:398
msgid "Could not read notifications from the daemon.\n"
msgstr "Impossible de lire les notifications depuis le démon.\n"
-#: src/cli/main.cpp:401
+#: src/cli/main.cpp:404
#, c-format
msgid "No notifications yet. Check 'tether --bt-connection'.\n"
msgstr ""
"Aucune notification pour l'instant. Vérifiez avec 'tether --bt-connection'.\n"
-#: src/cli/main.cpp:429
+#: src/cli/main.cpp:432
msgid "Could not read conversations from the daemon.\n"
msgstr "Impossible de lire les conversations depuis le démon.\n"
-#: src/cli/main.cpp:435
+#: src/cli/main.cpp:438
#, c-format
msgid "No conversations yet. Check 'tether --bt-connection'.\n"
msgstr ""
"Aucune conversation pour l'instant. Vérifiez avec 'tether --bt-connection'.\n"
-#: src/cli/main.cpp:449
+#: src/cli/main.cpp:452
#, c++-format
msgid "({} unread)"
msgid_plural "({} unread)"
msgstr[0] "({} non lu)"
msgstr[1] "({} non lus)"
-#: src/cli/main.cpp:470
+#: src/cli/main.cpp:473
msgid "Could not read messages from the daemon.\n"
msgstr "Impossible de lire les messages depuis le démon.\n"
-#: src/cli/main.cpp:476
+#: src/cli/main.cpp:479
#, c-format
msgid "No messages in %s\n"
msgstr "Aucun message dans %s\n"
-#: src/cli/main.cpp:484
+#: src/cli/main.cpp:487
msgid "me"
msgstr "moi"
-#: src/cli/main.cpp:484
+#: src/cli/main.cpp:487
msgid "them"
msgstr "eux"
-#: src/cli/main.cpp:511
+#: src/cli/main.cpp:514
msgid "Daemon closed the connection before the message was sent.\n"
msgstr "Le démon a fermé la connexion avant l'envoi du message.\n"
-#: src/cli/main.cpp:533
+#: src/cli/main.cpp:536
#, c-format
msgid "Sent to %s\n"
msgstr "Envoyé à %s\n"
-#: src/cli/main.cpp:536 src/gtk/messages_view.cpp:497
+#: src/cli/main.cpp:539 src/gtk/messages_view.cpp:497
msgid "The message was not sent."
msgstr "Le message n'a pas été envoyé."
-#: src/cli/main.cpp:640
+#: src/cli/main.cpp:643
msgid "Unknown action. Run tether --help for options\n"
msgstr "Action inconnue. Lancez tether --help pour voir les options\n"
-#: src/cli/main.cpp:662
+#: src/cli/main.cpp:665
msgid " No tetherd instances found.\n"
msgstr " Aucune instance de tetherd trouvée.\n"
-#: src/cli/main.cpp:666
+#: src/cli/main.cpp:669
msgid "[new]"
msgstr "[nouveau]"
-#: src/cli/main.cpp:668
+#: src/cli/main.cpp:671
msgid "[known]"
msgstr "[connu]"
-#: src/cli/main.cpp:679
+#: src/cli/main.cpp:682
#, c-format
msgid "Found %zu device in %.1fs\n"
msgid_plural "Found %zu devices in %.1fs\n"
msgstr[0] "%zu appareil trouvé en %.1fs\n"
msgstr[1] "%zu appareils trouvés en %.1fs\n"
-#: src/cli/main.cpp:697
+#: src/cli/main.cpp:700
msgid ""
"Explicit framework connection locally rejected! Did you target explicitly "
"invalid TLS or is daemon broken?\n"
@@ -358,17 +367,17 @@ msgstr ""
"Connexion rejetée localement ! Avez-vous visé un TLS invalide ou le démon "
"est-il cassé ?\n"
-#: src/cli/main.cpp:727
+#: src/cli/main.cpp:730
#, c++-format
msgid "Transfer Failed: {}"
msgstr "Échec du transfert : {}"
-#: src/cli/main.cpp:749
+#: src/cli/main.cpp:752
msgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"
msgstr ""
"Une clé de conversation est requise, p. ex. --bt-messages tel:+15551234567\n"
-#: src/cli/main.cpp:755
+#: src/cli/main.cpp:758
msgid ""
"A conversation and a message are required, e.g. --bt-send tel:+15551234567 "
"\"hi\"\n"
@@ -376,21 +385,21 @@ msgstr ""
"Une conversation et un message sont requis, p. ex. --bt-send tel:"
"+15551234567 \"salut\"\n"
-#: src/cli/main.cpp:761
+#: src/cli/main.cpp:764
msgid "A Bluetooth address is required, e.g. --bt-pair AA:BB:CC:DD:EE:FF\n"
msgstr ""
"Une adresse Bluetooth est requise, p. ex. --bt-pair AA:BB:CC:DD:EE:FF\n"
-#: src/cli/main.cpp:769
+#: src/cli/main.cpp:772
msgid "Expected on or off, e.g. --bt-enable off\n"
msgstr "Attendu on ou off, p. ex. --bt-enable off\n"
-#: src/cli/main.cpp:780
+#: src/cli/main.cpp:783
#, c-format
msgid "Bluetooth enabled.\n"
msgstr "Bluetooth activé.\n"
-#: src/cli/main.cpp:783
+#: src/cli/main.cpp:786
#, c-format
msgid ""
"Bluetooth disabled. Tether will not reconnect the iPhone. A link that is\n"
@@ -401,24 +410,24 @@ msgstr ""
"le reste jusqu'à ce que vous le coupiez ou que le téléphone sorte de "
"portée.\n"
-#: src/cli/main.cpp:789
+#: src/cli/main.cpp:792
#, c++-format
msgid "Expected on or off, e.g. {} on\n"
msgstr "Attendu on ou off, p. ex. {} on\n"
-#: src/cli/main.cpp:802
+#: src/cli/main.cpp:805
msgid "Notification contents enabled."
msgstr "Contenu des notifications activé."
-#: src/cli/main.cpp:802
+#: src/cli/main.cpp:805
msgid "Notification contents disabled."
msgstr "Contenu des notifications désactivé."
-#: src/cli/main.cpp:803
+#: src/cli/main.cpp:806
msgid "Notification mirroring enabled."
msgstr "Duplication des notifications activée."
-#: src/cli/main.cpp:803
+#: src/cli/main.cpp:806
msgid "Notification mirroring disabled."
msgstr "Duplication des notifications désactivée."
@@ -503,7 +512,14 @@ msgstr ""
"L'iPhone ne fournit pas ce message pour le moment ; marqué comme lu sur cet "
"ordinateur seulement."
-#: src/core/src/bluetooth/connection.cpp:1159
+#: src/core/src/bluetooth/connection.cpp:951
+msgid ""
+"The iPhone is not offering notifications on this link. Asking it again..."
+msgstr ""
+"L'iPhone ne propose pas de notifications sur cette liaison. Nouvelle demande "
+"en cours..."
+
+#: src/core/src/bluetooth/connection.cpp:1183
msgid "No paired iPhone selected."
msgstr "Aucun iPhone appairé sélectionné."
@@ -653,7 +669,7 @@ msgid "Cancel"
msgstr "Annuler"
#. TRANSLATORS: the feature name Tether shows for this profile.
-#: src/core/src/bluetooth/profile_supervisor.cpp:76 src/daemon/main.cpp:152
+#: src/core/src/bluetooth/profile_supervisor.cpp:76 src/daemon/main.cpp:169
#: src/gtk/devices_view.cpp:196 src/gtk/main.cpp:126
msgid "Messages"
msgstr "Messages"
@@ -741,20 +757,20 @@ msgid "Opening messages and contacts..."
msgstr "Ouverture des messages et des contacts..."
#. TRANSLATORS: {0} is the device name, {1} is a shortened key fingerprint.
-#: src/core/src/net.cpp:1421
+#: src/core/src/net.cpp:1437
#, c++-format
msgid "{0} ({1}) wants to pair with this device."
msgstr "{0} ({1}) veut s'appairer avec cet appareil."
-#: src/core/src/net.cpp:1422
+#: src/core/src/net.cpp:1438
msgid "Pairing Request"
msgstr "Demande d'appairage"
-#: src/core/src/net.cpp:1423
+#: src/core/src/net.cpp:1439
msgid "Accept"
msgstr "Accepter"
-#: src/core/src/net.cpp:1424
+#: src/core/src/net.cpp:1440
msgid "Reject"
msgstr "Refuser"
@@ -774,17 +790,17 @@ msgstr "Ouvrir le dossier"
msgid "Reply"
msgstr "Répondre"
-#: src/gtk/daemon_client.cpp:56 src/gtk/daemon_client.cpp:163
+#: src/gtk/daemon_client.cpp:56 src/gtk/daemon_client.cpp:151
msgid "Daemon Offline"
msgstr "Démon hors ligne"
#: src/gtk/daemon_client.cpp:57 src/gtk/daemon_client.cpp:58
-#: src/gtk/daemon_client.cpp:164 src/gtk/daemon_client.cpp:165
+#: src/gtk/daemon_client.cpp:152 src/gtk/daemon_client.cpp:153
#: src/gtk/messages_view.cpp:736
msgid "The Tether daemon is not running."
msgstr "Le démon Tether n'est pas lancé."
-#: src/gtk/daemon_client.cpp:190
+#: src/gtk/daemon_client.cpp:178
msgid "Daemon Online"
msgstr "Démon en ligne"
diff --git a/po/tether.pot b/po/tether.pot
index 4326c86..644036a 100644
--- a/po/tether.pot
+++ b/po/tether.pot
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: tether 0.2.10\n"
+"Project-Id-Version: tether 0.2.10-3-g02f4102\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-08-22 23:59-0700\n"
+"POT-Creation-Date: 2026-08-23 10:53-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -157,8 +157,8 @@ msgstr ""
msgid "No Bluetooth devices known to BlueZ.\n"
msgstr ""
-#: src/cli/main.cpp:291 src/cli/main.cpp:502 src/cli/main.cpp:776
-#: src/cli/main.cpp:796
+#: src/cli/main.cpp:291 src/cli/main.cpp:505 src/cli/main.cpp:779
+#: src/cli/main.cpp:799
msgid "Could not reach the daemon.\n"
msgstr ""
@@ -197,147 +197,154 @@ msgid ""
"Contacts (PBAP): %s"
msgstr ""
-#: src/cli/main.cpp:371
+#: src/cli/main.cpp:353
+#, c-format
+msgid ""
+"\n"
+"Notifications: %s\n"
+msgstr ""
+
+#: src/cli/main.cpp:374
msgid "Could not read Bluetooth diagnostics from the daemon.\n"
msgstr ""
-#: src/cli/main.cpp:395
+#: src/cli/main.cpp:398
msgid "Could not read notifications from the daemon.\n"
msgstr ""
-#: src/cli/main.cpp:401
+#: src/cli/main.cpp:404
#, c-format
msgid "No notifications yet. Check 'tether --bt-connection'.\n"
msgstr ""
-#: src/cli/main.cpp:429
+#: src/cli/main.cpp:432
msgid "Could not read conversations from the daemon.\n"
msgstr ""
-#: src/cli/main.cpp:435
+#: src/cli/main.cpp:438
#, c-format
msgid "No conversations yet. Check 'tether --bt-connection'.\n"
msgstr ""
-#: src/cli/main.cpp:449
+#: src/cli/main.cpp:452
#, c++-format
msgid "({} unread)"
msgid_plural "({} unread)"
msgstr[0] ""
msgstr[1] ""
-#: src/cli/main.cpp:470
+#: src/cli/main.cpp:473
msgid "Could not read messages from the daemon.\n"
msgstr ""
-#: src/cli/main.cpp:476
+#: src/cli/main.cpp:479
#, c-format
msgid "No messages in %s\n"
msgstr ""
-#: src/cli/main.cpp:484
+#: src/cli/main.cpp:487
msgid "me"
msgstr ""
-#: src/cli/main.cpp:484
+#: src/cli/main.cpp:487
msgid "them"
msgstr ""
-#: src/cli/main.cpp:511
+#: src/cli/main.cpp:514
msgid "Daemon closed the connection before the message was sent.\n"
msgstr ""
-#: src/cli/main.cpp:533
+#: src/cli/main.cpp:536
#, c-format
msgid "Sent to %s\n"
msgstr ""
-#: src/cli/main.cpp:536 src/gtk/messages_view.cpp:497
+#: src/cli/main.cpp:539 src/gtk/messages_view.cpp:497
msgid "The message was not sent."
msgstr ""
-#: src/cli/main.cpp:640
+#: src/cli/main.cpp:643
msgid "Unknown action. Run tether --help for options\n"
msgstr ""
-#: src/cli/main.cpp:662
+#: src/cli/main.cpp:665
msgid " No tetherd instances found.\n"
msgstr ""
-#: src/cli/main.cpp:666
+#: src/cli/main.cpp:669
msgid "[new]"
msgstr ""
-#: src/cli/main.cpp:668
+#: src/cli/main.cpp:671
msgid "[known]"
msgstr ""
-#: src/cli/main.cpp:679
+#: src/cli/main.cpp:682
#, c-format
msgid "Found %zu device in %.1fs\n"
msgid_plural "Found %zu devices in %.1fs\n"
msgstr[0] ""
msgstr[1] ""
-#: src/cli/main.cpp:697
+#: src/cli/main.cpp:700
msgid ""
"Explicit framework connection locally rejected! Did you target explicitly "
"invalid TLS or is daemon broken?\n"
msgstr ""
-#: src/cli/main.cpp:727
+#: src/cli/main.cpp:730
#, c++-format
msgid "Transfer Failed: {}"
msgstr ""
-#: src/cli/main.cpp:749
+#: src/cli/main.cpp:752
msgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"
msgstr ""
-#: src/cli/main.cpp:755
+#: src/cli/main.cpp:758
msgid ""
"A conversation and a message are required, e.g. --bt-send tel:+15551234567 "
"\"hi\"\n"
msgstr ""
-#: src/cli/main.cpp:761
+#: src/cli/main.cpp:764
msgid "A Bluetooth address is required, e.g. --bt-pair AA:BB:CC:DD:EE:FF\n"
msgstr ""
-#: src/cli/main.cpp:769
+#: src/cli/main.cpp:772
msgid "Expected on or off, e.g. --bt-enable off\n"
msgstr ""
-#: src/cli/main.cpp:780
+#: src/cli/main.cpp:783
#, c-format
msgid "Bluetooth enabled.\n"
msgstr ""
-#: src/cli/main.cpp:783
+#: src/cli/main.cpp:786
#, c-format
msgid ""
"Bluetooth disabled. Tether will not reconnect the iPhone. A link that is\n"
"already up stays up until you disconnect it or the phone goes out of range.\n"
msgstr ""
-#: src/cli/main.cpp:789
+#: src/cli/main.cpp:792
#, c++-format
msgid "Expected on or off, e.g. {} on\n"
msgstr ""
-#: src/cli/main.cpp:802
+#: src/cli/main.cpp:805
msgid "Notification contents enabled."
msgstr ""
-#: src/cli/main.cpp:802
+#: src/cli/main.cpp:805
msgid "Notification contents disabled."
msgstr ""
-#: src/cli/main.cpp:803
+#: src/cli/main.cpp:806
msgid "Notification mirroring enabled."
msgstr ""
-#: src/cli/main.cpp:803
+#: src/cli/main.cpp:806
msgid "Notification mirroring disabled."
msgstr ""
@@ -406,7 +413,12 @@ msgid ""
"computer only."
msgstr ""
-#: src/core/src/bluetooth/connection.cpp:1159
+#: src/core/src/bluetooth/connection.cpp:951
+msgid ""
+"The iPhone is not offering notifications on this link. Asking it again..."
+msgstr ""
+
+#: src/core/src/bluetooth/connection.cpp:1183
msgid "No paired iPhone selected."
msgstr ""
@@ -528,7 +540,7 @@ msgid "Cancel"
msgstr ""
#. TRANSLATORS: the feature name Tether shows for this profile.
-#: src/core/src/bluetooth/profile_supervisor.cpp:76 src/daemon/main.cpp:152
+#: src/core/src/bluetooth/profile_supervisor.cpp:76 src/daemon/main.cpp:169
#: src/gtk/devices_view.cpp:196 src/gtk/main.cpp:126
msgid "Messages"
msgstr ""
@@ -605,20 +617,20 @@ msgid "Opening messages and contacts..."
msgstr ""
#. TRANSLATORS: {0} is the device name, {1} is a shortened key fingerprint.
-#: src/core/src/net.cpp:1421
+#: src/core/src/net.cpp:1437
#, c++-format
msgid "{0} ({1}) wants to pair with this device."
msgstr ""
-#: src/core/src/net.cpp:1422
+#: src/core/src/net.cpp:1438
msgid "Pairing Request"
msgstr ""
-#: src/core/src/net.cpp:1423
+#: src/core/src/net.cpp:1439
msgid "Accept"
msgstr ""
-#: src/core/src/net.cpp:1424
+#: src/core/src/net.cpp:1440
msgid "Reject"
msgstr ""
@@ -638,17 +650,17 @@ msgstr ""
msgid "Reply"
msgstr ""
-#: src/gtk/daemon_client.cpp:56 src/gtk/daemon_client.cpp:163
+#: src/gtk/daemon_client.cpp:56 src/gtk/daemon_client.cpp:151
msgid "Daemon Offline"
msgstr ""
#: src/gtk/daemon_client.cpp:57 src/gtk/daemon_client.cpp:58
-#: src/gtk/daemon_client.cpp:164 src/gtk/daemon_client.cpp:165
+#: src/gtk/daemon_client.cpp:152 src/gtk/daemon_client.cpp:153
#: src/gtk/messages_view.cpp:736
msgid "The Tether daemon is not running."
msgstr ""
-#: src/gtk/daemon_client.cpp:190
+#: src/gtk/daemon_client.cpp:178
msgid "Daemon Online"
msgstr ""
diff --git a/src/cli/main.cpp b/src/cli/main.cpp
index 74d1d9e..c5b7a24 100644
--- a/src/cli/main.cpp
+++ b/src/cli/main.cpp
@@ -350,14 +350,17 @@ static int print_bt_connection(tether::Client& client) {
fprintf(stdout, _("\nContacts (PBAP): %s"), yn(resp.value("pbap_open", false)));
if (resp.value("pbap_error", std::string("none")) != "none")
fprintf(stdout, " [%s]", resp.value("pbap_error", "").c_str());
- fprintf(stdout, "\n");
+ fprintf(stdout, _("\nNotifications: %s\n"), yn(resp.value("ancs_ready", false)));
const std::string link = resp.value("link_reason", "");
const std::string profiles = resp.value("profile_reason", "");
+ const std::string notifications = resp.value("ancs_reason", "");
if (!link.empty())
fprintf(stdout, "\n %s\n", link.c_str());
if (!profiles.empty())
fprintf(stdout, " %s\n", profiles.c_str());
+ if (!notifications.empty())
+ fprintf(stdout, " %s\n", notifications.c_str());
return 0;
}
diff --git a/src/core/include/tether/bluetooth/bearer_supervisor.hpp b/src/core/include/tether/bluetooth/bearer_supervisor.hpp
index fbc908e..8278537 100644
--- a/src/core/include/tether/bluetooth/bearer_supervisor.hpp
+++ b/src/core/include/tether/bluetooth/bearer_supervisor.hpp
@@ -27,6 +27,11 @@ namespace tether::bluetooth {
// so a blip must not reset discovery, while a genuine loss still clears.
inline constexpr int ANCS_BEARER_GRACE_SECONDS = 30;
+ // How long an LE link may read connected while the phone offers no ANCS
+ // service before the solicitation goes back on air over it. Long enough for
+ // GATT discovery on a freshly opened link, which runs to about a minute.
+ inline constexpr int ANCS_ABSENT_GRACE_SECONDS = 75;
+
// What BlueZ did with a request to bring a bearer up. Accepting a request is
// not a link: only an observed Connected is that.
enum class ConnectResult {
@@ -67,6 +72,19 @@ namespace tether::bluetooth {
bool operator==(const BearerStatus&) const = default;
};
+ // Whether the ANCS solicitation belongs on air. A live LE link normally means
+ // the phone has been reached and the advert is not needed, but a link that
+ // carries no ANCS is, for notifications, no link at all and the advert is
+ // the only thing that asks the phone for the service. `ancs_absent_since` is
+ // when the link was first seen up with no ANCS offered, or -1 when it is
+ // offered or the link is down. Never solicit over a dial still in flight:
+ // that is what aborted the connect once per cycle.
+ inline bool
+ should_solicit_ancs(bool ancs_enabled, const BearerStatus& bearer, int64_t now, int64_t ancs_absent_since) {
+ const bool link_dead = ancs_absent_since >= 0 && now - ancs_absent_since >= ANCS_ABSENT_GRACE_SECONDS;
+ return ancs_enabled && bearer.le_available && !bearer.le_dialling && (!bearer.le_connected || link_dead);
+ }
+
// Keeps the Classic and LE halves of one bond connected.
//
// Order is important: BR/EDR first, a settling interval, then LE
diff --git a/src/core/src/bluetooth/connection.cpp b/src/core/src/bluetooth/connection.cpp
index 16364f8..310c6a2 100644
--- a/src/core/src/bluetooth/connection.cpp
+++ b/src/core/src/bluetooth/connection.cpp
@@ -571,6 +571,9 @@ namespace tether::bluetooth {
// When the LE bearer was last seen down, so a blip can be told from a
// session that is really gone. -1 while it is up.
int64_t le_down_since = -1;
+ // When the LE link was first seen up while the phone offered no ANCS
+ // service. -1 whenever that is not the case.
+ int64_t ancs_absent_since = -1;
int map_failures = 0;
int64_t next_message_poll = 0;
std::string open_map_path;
@@ -919,16 +922,31 @@ namespace tether::bluetooth {
const bool hold = ready || le_up || now - le_down_since < ANCS_BEARER_GRACE_SECONDS;
std::string device_path;
+ bool offers_ancs = false;
if (hold && bearers->status().device_present) {
auto objects = monitor->snapshot();
for (const auto& device : objects.devices) {
if (device.address == address || normalize_address(device.address) == normalize_address(address)) {
device_path = device.path;
+ offers_ancs = device.supports_ancs();
break;
}
}
}
+ // An LE link the daemon dialled can come up with no ANCS at all: the
+ // phone never answered a solicitation, so it never offered the service.
+ if (ready || !le_up || offers_ancs) {
+ ancs_absent_since = -1;
+ } else if (ancs_absent_since < 0) {
+ ancs_absent_since = now;
+ } else if (now - ancs_absent_since >= ANCS_ABSENT_GRACE_SECONDS) {
+ std::lock_guard<std::mutex> lock(status_mutex);
+ ancs_reason = _("The iPhone is not offering notifications on this link. Asking it again...");
+ if (!current_status.is_null())
+ current_status["ancs_reason"] = ancs_reason;
+ }
+
ancs_client->set_device(device_path);
ancs_client->tick(now);
}
@@ -963,8 +981,7 @@ namespace tether::bluetooth {
const auto& bearer = bearers->status();
- supervise_ancs_solicitation(
- *monitor, ancs_enabled && bearer.le_available && !bearer.le_connected && !bearer.le_dialling);
+ supervise_ancs_solicitation(*monitor, should_solicit_ancs(ancs_enabled, bearer, now, ancs_absent_since));
// publish() drops a payload identical to the last one, so refreshing
// every tick costs nothing and cannot miss a transition.
@@ -1095,6 +1112,7 @@ namespace tether::bluetooth {
state_->next_message_poll = 0;
state_->link_was_ready = false;
state_->device_was_present = false;
+ state_->ancs_absent_since = -1;
{
std::lock_guard<std::mutex> lock(state_->status_mutex);
state_->current_status = nullptr;
diff --git a/src/gtk/devices_view.cpp b/src/gtk/devices_view.cpp
index 9ac1b22..4f3d3a9 100644
--- a/src/gtk/devices_view.cpp
+++ b/src/gtk/devices_view.cpp
@@ -215,7 +215,8 @@ namespace tether::ui {
// otherwise report no device selected.
reason = _("Bluetooth is switched off for this iPhone.");
} else {
- reason = connection.value("profile_reason", "");
+ const bool link_degraded = !classic || !le;
+ reason = connection.value(link_degraded ? "link_reason" : "profile_reason", "");
if (reason.empty())
reason = connection.value("link_reason", "");
}
diff --git a/test/test_bluetooth_supervisor.cpp b/test/test_bluetooth_supervisor.cpp
index 016327b..bfa07e5 100644
--- a/test/test_bluetooth_supervisor.cpp
+++ b/test/test_bluetooth_supervisor.cpp
@@ -215,6 +215,37 @@ TEST(BearerSupervisor, SolicitationIsHeldOffOnlyWhileTheOneDialIsInFlight) {
}
}
+// A dialled LE link can come up carrying no ANCS at all, and while it reads
+// connected the solicitation stays off air -- so nothing ever asks the phone for
+// the service, and notifications never arrive (2026-08-23).
+TEST(AncsSolicitation, GoesBackOnAirOverAnLeLinkThatCarriesNoAncs) {
+ BearerStatus bearer;
+ bearer.le_available = true;
+ bearer.le_connected = true;
+
+ // Offered, or not yet timed: the link is doing its job, leave it alone.
+ EXPECT_FALSE(should_solicit_ancs(true, bearer, 10'000, -1));
+ EXPECT_FALSE(should_solicit_ancs(true, bearer, 100, 100)) << "solicited before discovery could finish";
+ EXPECT_FALSE(should_solicit_ancs(true, bearer, 100 + ANCS_ABSENT_GRACE_SECONDS - 1, 100));
+
+ EXPECT_TRUE(should_solicit_ancs(true, bearer, 100 + ANCS_ABSENT_GRACE_SECONDS, 100))
+ << "left the advert off air over a link that carries no ANCS";
+
+ // A dial in flight still owns the radio: the advert aborts it (2026-08-20).
+ bearer.le_dialling = true;
+ EXPECT_FALSE(should_solicit_ancs(true, bearer, 10'000, 100));
+ bearer.le_dialling = false;
+
+ // LE down is the original case, and the timer is irrelevant to it.
+ bearer.le_connected = false;
+ EXPECT_TRUE(should_solicit_ancs(true, bearer, 10'000, -1));
+
+ // Nothing goes on air for a disabled feature or an adapter without LE.
+ EXPECT_FALSE(should_solicit_ancs(false, bearer, 10'000, -1));
+ bearer.le_available = false;
+ EXPECT_FALSE(should_solicit_ancs(true, bearer, 10'000, -1));
+}
+
// A phone that is answering answers in about a second. A long silence with the
// advert up is the iPhone having gone quiet, and only cycling Bluetooth on the
// phone clears that -- so the status has to say so rather than "waiting" forever.