Distinguish BLE link loss from firmware watchdog evidence

This commit is contained in:
mikecarper committed 2026-09-30 23:39:25 -07:00
1 parent 70e8c98567
commit c7dcbd4c31
2 files changed
+8 -3

No files matched your search

+5 -1
View File
@@ -65,9 +65,13 @@ python3 scripts/check_nrf52_ble_reconnect.py \
This checks app-style NUL-terminated CLI commands, reboots the selected node,
and reads the saved subscription before the host subscribes again. It also
checks automatic release of a secured link with no Companion traffic, followed
observes release of a secured link with no Companion traffic, followed
by a normal reconnect and working CLI. It does not clear pairing keys or change
preferences. Fresh pairing with the current PIN is a separate initial gate.
A link drop alone does not prove the firmware watchdog fired: confirm the cause
in the node debug log or Bluetooth trace. Link timeout reasons `0x08` and `0x22`
must not be counted as a confirmed firmware-requested disconnect (`0x13` at the
central).
### SenseCAP Indicator transport and rendering exception
+3 -2
View File
@@ -136,8 +136,9 @@ async def run(args):
# occur on this connection; firmware must release it automatically.
started = time.monotonic()
await wait_disconnected(client, 22)
report("secured_link_without_app_recovery",
seconds=round(time.monotonic() - started, 2), passed=True)
report("secured_idle_link_disconnected",
seconds=round(time.monotonic() - started, 2), passed=True,
cause_requires_trace=True)
await asyncio.sleep(2)
async with await paired_client(args.address) as client: