fix: retry char discovery when FFE2 missing after disconnect #14

Merged
schwifty merged 1 commit from schwifty/fix-ffe2-missing-after-disconnect into main 2026-03-22 03:12:29 +00:00

1 commit

Author SHA1 Message Date
9319cad2d6 fix: retry characteristic discovery when FFE2 missing after disconnect
After 2+ disconnects during provisioning, the beacon's BLE stack can
return incomplete characteristic discovery results. Instead of hard-
failing with "DX-Smart command characteristic (FFE2) not found", we
now re-trigger characteristic discovery (up to 2 attempts) and resume
writing from the saved position once FFE2 is found.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 03:03:08 +00:00