Question

I need to know few things about IOBlueTooth framework for MAC:

  1. Does this framework support BTLE?
  2. What different does it has from iOS framework CoreBlueTooth?
  3. To support BTLE on MAC OSX, do we need both IOBlueTooth & CoreBlueTooth framworks? Please share link for some sample app, if any?

Also, please point me to some good documentation or WWDC videos for IOBlueTooth framework.

Was it helpful?

Solution

1.) Yes..assuming you have a mac that supports BLE (airs, minis, and newest macbook pro's i believe)

2.) The IOBluetooth framework contains C and Objective-c api's to connect to nearby Bluetooth devices (not only BLE devices). So yes, it contains the CoreBluetooth.framework, but the IOBluetooth framework allows you to interact with Bluetooth devices supporting other protocols as well.

3.) You need to import the IOBluetooth.framework since CoreBluetooth.framework is embedded inside it, but that's all you need to do with it.

Check out the Heart Rate Monitor sample code.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top