liquidx / CoreBluetoothPeripheral

Demonstration of using CoreBluetooth on Mac and iOS
Apache License 2.0
384 stars 85 forks source link

Advertise in background #2

Closed stevenle closed 9 years ago

stevenle commented 9 years ago

Hi Alastair,

(I recognize your name from Google, I worked there for a few years but left last August.)

This isn't so much an issue but more of a question: did you ever figure out how to advertise peripheral services in the background? The docs seem to indicate it should automatically work with the right Info.plist values but I can't seem to discover the services even when searching explicitly for the UUIDs.

stevenle commented 9 years ago

Nevermind, turns out it actually was working but there was a bug with the BLE scanner I was using. Thanks for the great sample code!