fix: reconnect retry for unexpected BLE disconnects #8
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "schwifty/reconnect-on-unexpected-disconnect"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
.authenticatingor.writingstates, instead of failing immediatelypasswordIndexon reconnect so re-auth starts from password #1 (fixes @koda's catch where burned password attempts caused retry failures)passwordIndexreset in the device-info safety-net reconnect pathWhat was happening
Any BLE disconnect during authentication or early config writing hit the generic "Unexpected disconnect" handler which failed immediately with no retry. On flaky beacons this killed the entire provisioning.
Test plan
🤖 Generated with Claude Code