CBPeripheralManager startAdvertising does not work on OS X yosemite

Does anyone notice any problems using your Mac (running OS X 10.10 yosemite DP 6) as an iBeacon? I tried several tools and I also developed it myself (using CBPeripheralManager startAdvertising), but with no luck.

When I run these applications (+ code that I developed myself) on a Mac running OS X 10.9 Mavericks, it works like a charm.

Is there anything specific for OS X 10.10 yosemite or is this a bug?

Any help is appreciated!

+6
source share
4 answers

EDIT: Radius Networks has confirmed that this issue has appeared in subsequent preliminary releases of Yosemite. This OS veesion blocks the transfer of iBeacon with an internal interface, but allows it to be used with external interfaces. Thus, you can add an external Bluetooth dongle, like the GBU521, and the transmission works again.

It should be a mistake in the code or something specific for your machine. We tested our Mac OS MacBeacon app on Yosemite and did not notice any problems.

+5
source

In fact, you can really advertise your Mac using Yosemite as an iBeacon with external compatible Bluetooth 4.0 (USB).
I wrote a simple iBeacon transmitter for Yosemite written in Swift, see here https://updatemycode.com/2014/11/29/yosemite-as-an-ibeacon-swift/ .

+3
source

This seems like a problem with Yosemite 10.10. This is now confirmed on the network radius website: http://www.radiusnetworks.com/ibeacon/macbeacon/

I need to buy usb beacons, which I can easily turn on and off for testing because of this problem.

+2
source

I have not tested this with 10.10, but I can use 10.11.3 for advertising as a beacon (at least with a project from @mgigirey). Perhaps Apple reopened it?

0
source

Source: https://habr.com/ru/post/974325/


All Articles