payfrit-beacon-ios/PayfritBeacon/Services
Schwifty 7089224244 fix: three provisioning bugs causing beacon write failures
1. Minor allocation: reject minor=0 from API instead of silently using it.
   API returning null/0 means the service point isn't configured right.

2. DXSmart write reliability:
   - Add per-command retry (1 retry with 500ms backoff)
   - Increase inter-command delay from 200ms to 500ms
   - Increase post-auth settle from 100ms to 500ms
   - Add 2s cooldown in FallbackProvisioner between provisioner attempts
   The beacon's BLE stack gets hammered by KBeacon's 15 failed auth
   attempts before DXSmart even gets a chance. These timings give it
   breathing room.

3. KBeacon passwords: password 5 was a duplicate of password 3
   (both "1234567890123456"). Replaced with "000000" (6-char variant).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 02:29:16 +00:00
..
APIClient.swift fix: three provisioning bugs causing beacon write failures 2026-03-23 02:29:16 +00:00
APIConfig.swift feat: complete rebuild of PayfritBeacon iOS from scratch 2026-03-22 17:13:36 +00:00
BLEManager.swift fix: replace Task{@MainActor} with DispatchQueue.main.async in BLE callbacks 2026-03-23 01:00:12 +00:00
ProvisionLog.swift fix: connection callback bug + add provisioning diagnostics 2026-03-22 23:12:06 +00:00
SecureStorage.swift feat: complete rebuild of PayfritBeacon iOS from scratch 2026-03-22 17:13:36 +00:00