CBPeripheralManager startAdvertising not working on OS X yosemite

后端 未结 4 1189
梦谈多话
梦谈多话 2021-01-05 13:37

does anyone notice any issues when 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 the CBPeriphe

相关标签:
4条回答
  • 2021-01-05 14:03

    I didn't test this with 10.10, but I'm able to use 10.11.3 to advertise as a beacon (at least with the project from @mgigirey). Perhaps Apple opened this again?

    0 讨论(0)
  • 2021-01-05 14:05

    EDIT: Radius Networks has confirmed this issue has shown up on subsequent pre-releases of Yosemite. This OS veesion blocks sending an iBeacon transmission with the internal interface, but allows it with external interfaces. So you can add an external Bluetooth dongle like the GBU521 and transmission works again.

    It's gotta be a bug in the code or something specific to your machine. We have tested our MacBeacon OSX app on Yosemite and have not noticed any problems.

    0 讨论(0)
  • 2021-01-05 14:13

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

    0 讨论(0)
  • 2021-01-05 14:17

    This does seem to be a problem with Yosemite 10.10. This is acknowledged now on the radius network website: http://www.radiusnetworks.com/ibeacon/macbeacon/

    I'm having to buy usb beacons that I can easily power on and off for testing because of this issue.

    0 讨论(0)
提交回复
热议问题