Payfrit Beacon iOS
Root cause: DX-Smart CP28 beacons were disconnecting during provisioning because the 0.3s inter-command delay was too fast for the beacon's MCU. Frame selection (0x11-0x16) and type commands (0x61, 0x62) trigger internal state changes that need processing time. Rapid writes caused the beacon to miss BLE connection events, triggering link-layer supervision timeouts. Changes: - Base delay: 0.3s → 0.5s for all commands - Heavy delay: 1.0s after frame select/type commands (MCU state change) - Large payload delay: 0.8s after UUID writes (21 bytes) - Resume delay: 0.5s → 1.5s after reconnect (let BLE stack stabilize) - Non-fatal skip delay: 0.15s → 0.5s Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| _backup | ||
| PayfritBeacon | ||
| PayfritBeacon.xcodeproj | ||
| .gitignore | ||
| ExportOptions.plist | ||
| ExportOptionsLocal.plist | ||
| Podfile | ||
| Podfile.lock | ||
| QA_WALKTHROUGH.md | ||