fix: prevent beacon disconnects during provisioning #13
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "schwifty/fix-beacon-disconnect-root-cause"
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?
Root Cause
The DX-Smart CP28 beacons were disconnecting 4+ times during provisioning because the 0.3s inter-command write delay was too fast for the beacon's MCU.
What was happening
The Fix: Adaptive Inter-Command Delays
Instead of a flat 0.3s delay between all commands, we now use adaptive delays based on command type:
Total provisioning time goes from ~8s to ~16s, but it should actually complete without disconnecting.
Test Plan
🤖 Generated with Claude Code