Background and locked iOS device BTLE scanning behavior changes in iOS 7
Background and locked iOS device BTLE scanning behavior changes in iOS 7
- Subject: Background and locked iOS device BTLE scanning behavior changes in iOS 7
- From: Brian Fudge <email@hidden>
- Date: Fri, 27 Sep 2013 21:06:33 -0700
Hello,
We are working on a system where two iOS devices can detect each other when both of them are in the background and both devices are locked. This worked fine under iOS 6.
We've discovered that under iOS 7 this is no longer possible, despite what is stated in the documentation. This appears to be a decision made to optimize power consumption but breaks some important use cases.
Here are the interesting observations:
- A scanning device that is locked does not report any iOS peripherals that are also locked.
- On some devices, like iPhone 5 and 5S, you only need to press the home button on the peripheral for the scanner to succeed and peripherals to be reported.
- On other devices, like iPad and iPod Touch, you have to press the home button and unlock the peripheral for the scanner to succeed and peripherals to be reported.
- A non-iOS device, such as an rMBP, can scan iOS peripherals that are in the background and locked.
- All iOS devices can scan hardware peripherals (such as a health tracker) while the iOS device is in the background and locked.
Has anyone else encountered this problem? I see a new option in scanForPeripheralsWithServices called CBCentralManagerScanOptionSolicitedServiceUUIDsKey but it doesn't seem to affect these types of scans. Is this a bug or was this functionality intentionally removed?
Thanks,
Brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden