drop notify-on-connect options from background pending connects

The wake-on-proximity arm path was the other place those options were passed.
This commit is contained in:
Taksh 2026-10-11 06:54:16 +05:30
parent 86fc1adb81
commit 93247de829

View File

@ -343,11 +343,7 @@ final class BLERadioController {
for: target.peripheralID
)
target.peripheral.delegate = self.peripheralDelegate
central.connect(target.peripheral, options: [
CBConnectPeripheralOptionNotifyOnConnectionKey: true,
CBConnectPeripheralOptionNotifyOnDisconnectionKey: true,
CBConnectPeripheralOptionNotifyOnNotificationKey: true
])
central.connect(target.peripheral, options: nil)
}
SecureLogger.info("🌙 Armed \(targets.count) pending background connect(s) for wake-on-proximity", category: .session)
}