diff --git a/PayfritBeacon/Views/ScanView.swift b/PayfritBeacon/Views/ScanView.swift index 33601b2..5b61d3a 100644 --- a/PayfritBeacon/Views/ScanView.swift +++ b/PayfritBeacon/Views/ScanView.swift @@ -698,7 +698,11 @@ struct ScanView: View { try await provisioner.writeConfig(config) writesCompleted = true - // No explicit disconnect needed — succeed() already disconnects + + // Give the beacon 200ms to process SaveConfig before dropping the BLE link. + // The beacon MCU needs the connection terminated to finalize its reboot/save cycle. + try? await Task.sleep(nanoseconds: 200_000_000) + provisioner.disconnect() try await APIClient.shared.registerBeaconHardware( businessId: business.id,