Payfrit Beacon iOS
Frame1_DevInfo (cmd 0x61) and potentially other commands don't send a separate FFE1 notification after being written. The code was waiting for didUpdateValueFor (notification) to resolve responseContinuation, but it never came — causing a 5s timeout on every such command. The .withResponse write type already guarantees the BLE stack confirmed delivery. Now didWriteValueFor resolves responseContinuation on success, so commands that don't trigger notifications still complete immediately. If a notification also arrives later, responseContinuation is already nil so it's harmlessly ignored. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| PayfritBeacon | ||
| PayfritBeacon.xcodeproj | ||
| .gitignore | ||
| CLAUDE.md | ||
| ExportOptions.plist | ||
| ExportOptionsLocal.plist | ||