Payfrit Beacon iOS
Find a file
Schwifty c62dace54d fix: handle SaveConfig write-error path + add disconnect diagnostics
The previous fix only caught the disconnect callback path. But CoreBluetooth
can also fire didWriteValueFor with an error when the beacon reboots mid-ATT
response. This was hitting fail() at the isNonFatalCommand check instead of
being treated as success.

Now handles both paths:
1. didDisconnectPeripheral with state=.writing at last command → succeed()
2. didWriteValueFor error for SaveConfig (last command) → succeed()

Also added detailed state/index logging to disconnect handler for diagnostics.
2026-03-21 22:47:11 +00:00
_backup Add ios-marketing idiom, iPad orientations, launch screen 2026-02-10 19:38:11 -08:00
PayfritBeacon fix: handle SaveConfig write-error path + add disconnect diagnostics 2026-03-21 22:47:11 +00:00
PayfritBeacon.xcodeproj Add UUIDFormatting.swift to Xcode project 2026-03-21 15:23:43 -07:00
.gitignore Initial commit: Payfrit Beacon iOS native app 2026-02-01 23:39:29 -08:00
ExportOptions.plist Add ios-marketing idiom, iPad orientations, launch screen 2026-02-10 19:38:11 -08:00
ExportOptionsLocal.plist Add ios-marketing idiom, iPad orientations, launch screen 2026-02-10 19:38:11 -08:00
Podfile Rewrite app: simplified architecture, CoreLocation beacon scanning, UI fixes 2026-02-04 22:07:39 -08:00
Podfile.lock Rewrite app: simplified architecture, CoreLocation beacon scanning, UI fixes 2026-02-04 22:07:39 -08:00
QA_WALKTHROUGH.md Initial commit: Payfrit Beacon iOS native app 2026-02-01 23:39:29 -08:00