fix: KBeacon provisioner stuck — add status updates + fix disconnect handler #36
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "schwifty/kbeacon-status-updates"
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?
Problem
KBeacon provisioner had zero status updates to the UI. During the connect/auth cycle (5 passwords × 5s timeout × 3 retries = up to 75s), the app shows a static "Connecting..." and looks completely stuck.
Also, the disconnect handler in ScanView only covered
.connectingand.connectedstates — if the beacon dropped during.writingor.verifying, the UI would freeze permanently.Fix
onStatusUpdatecallback toKBeaconProvisioner(matching DXSmartProvisioner pattern).writingand.verifyingstatesTest plan
Pull request closed