Skip to content

fix(proof): fail fast on bluetooth off#27

Merged
trancee merged 12 commits into
mainfrom
gatt-bluetooth-preflight
Jun 16, 2026
Merged

fix(proof): fail fast on bluetooth off#27
trancee merged 12 commits into
mainfrom
gatt-bluetooth-preflight

Conversation

@trancee

@trancee trancee commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Added a shared Bluetooth preflight check to the proof app so GATT runs fail fast when BluetoothManager, BluetoothAdapter, or Bluetooth enabled state are unavailable.
  • Routed the preflight failure into both the app UI state and logs, replacing the opaque BluetoothGattServer is unavailable crash with a clearer diagnostic.
  • Updated the direct-proof docs, device matrix notes, and developer best-practices guidance to reflect the Bluetooth-off NAM-LX9 quirk and the new visible preflight state.

Verification

  • ./gradlew verifyDocs
  • :meshlink-proof:android:connectedDebugAndroidTest for the Bluetooth contract test
  • direct-proof regression suite for the GATT contract passed
  • targeted GATT-primary rerun confirmed timings.transportMode = GATT and narrowed the blocker to Bluetooth being off on the passive device

Branch

  • gatt-bluetooth-preflight

Latest commit

  • a1598d8 docs(explanation): add bluetooth readiness best practice

@trancee trancee changed the title GATT preflight cleanup and Bluetooth-off fail-fast handling fix(proof): fail fast on bluetooth off Jun 15, 2026
@trancee trancee merged commit 2901be4 into main Jun 16, 2026
10 checks passed
@trancee trancee deleted the gatt-bluetooth-preflight branch June 16, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant