fix: retry char discovery when FFE2 missing after disconnect #14
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "schwifty/fix-ffe2-missing-after-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?
Problem
After 2 disconnects during provisioning, the beacon's BLE stack can return incomplete characteristic discovery results. The code hard-fails with
DX-Smart command characteristic (FFE2) not foundinstead of recovering.Fix
dxSmartSendNextCommand(), re-trigger characteristic discovery (up to 2 attempts) instead of hard-failingTest Plan