What I'm trying to do is use the Apple Notification Center Service (ANCS) from my iPhone on my Mac. To make my Mac show up on in my iPhone's Bluetooth settings, I apparently need to use service soliciting.
What I've tried so far is initiate a CBPeripheralManager
on my Mac, add the ANCS service to it and start advertising. That doesn't seem to do it, as my Mac doesn't show up in my iPhone's Bluetooth settings. What I've also tried is initiate a CBCentralManager
and start scanning, with the ANCS UUID in the CBCentralManagerScanOptionSolicitedServiceUUIDsKey
key, which doesn't work either.
Does anyone have an idea on how to accomplish this? I've spent tons of hours watching WWDC videos and browsing through Apple's documentation, but other than some vague mentions of "service soliciting", I can't find it.
Thanks!