OS X does not support scanning for iOS peripherals running in the background. You can still discover them if you scan for all peripherals (scanForPeripheralsWithServices:nil) though this approach obviously has performance implications.
On December 30, 2013 at 6:43:10 PM, Khaos Tian (email@hidden) wrote:
I'm trying to scan an iOS Peripheral from OS X by scanning specific
service uuid. When I put the iOS app into background,
CBCentralManager on OS X won't discover the iOS device (Foreground
works fine). However, If I use another iOS device to scan the same
service uuid, I was able to get callback from CBCentralManager with
a key named "kCBAdvDataHashedServiceUUIDs" containing my service
uuid.
So is that OS X Mavericks doesn't support scanning iOS
background app advertising service uuid or is there anything I'm
missing?
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
|