fix: restore BLE scan filter for FFF0 + payfrit name #42
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "schwifty/fix-ble-scan-filter"
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?
What broke
My CP-28-only refactor (#41) over-filtered the BLE scan. Two issues:
FFF0 fallback removed: The old code unconditionally mapped any FFF0 device to DX-Smart. I accidentally gated it on name patterns, so CP-28s advertising FFF0 with non-matching names got filtered out.
"Payfrit" name not detected: We write "Payfrit" as the beacon name during old SDK provisioning (cmd 0x43), but that name wasn't in the detection list. Already-provisioned beacons broadcasting without iBeacon data in their advertisement packet were invisible.
Fix
FFF0 → .dxsmartmapping"payfrit"to the device name pattern checkResult
All CP-28 beacons should show up in scans again — factory default, mid-provision, and already-provisioned.
Pull request closed