payfrit-beacon-ios/PayfritBeacon
Schwifty f082eeadad fix: skip ACK wait on SaveConfig — beacon reboots, never ACKs
SaveConfig (0x60) causes the beacon MCU to reboot and save to flash.
It never sends an ACK, so writeToCharAndWaitACK would wait for the
5s timeout, during which the beacon disconnects. The disconnect
handler fires while writesCompleted is still false, causing a false
"Unexpected disconnect: beacon timed out" error.

Fix: fire-and-forget the SaveConfig write and return immediately.
The BLE-level write (.withResponse) confirms delivery. writeConfig()
returns before the disconnect callback runs, so writesCompleted gets
set to true in time.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 03:44:36 +00:00
..
App fix: back button bounces user right back into selected business 2026-03-22 21:47:45 +00:00
Assets.xcassets fix: remove duplicate color definitions from Assets.xcassets to resolve ambiguity 2026-03-22 19:47:03 +00:00
en.lproj fix: add missing build files referenced in xcodeproj 2026-03-22 18:44:08 +00:00
Models refactor: strip all non-CP-28 beacon code 2026-03-23 03:04:07 +00:00
Provisioners fix: skip ACK wait on SaveConfig — beacon reboots, never ACKs 2026-03-23 03:44:36 +00:00
Services fix: allow minor = 0 in allocateMinor response validation 2026-03-23 03:22:23 +00:00
Utils fix: resolve ambiguous color references by removing ShapeStyle extension 2026-03-22 19:40:51 +00:00
Views fix: treat post-SaveConfig disconnect as expected, not an error 2026-03-23 03:32:21 +00:00
BeaconProvisioner.swift feat: complete rebuild of PayfritBeacon iOS from scratch 2026-03-22 17:13:36 +00:00
Info.plist fix: QR scanner crash — missing NSCameraUsageDescription in Info.plist 2026-03-22 21:45:10 +00:00
payfrit-favicon-light-outlines.svg fix: add missing build files referenced in xcodeproj 2026-03-22 18:44:08 +00:00