1

Can i use IOBluetooth framework on MAC os to communicate with Bluetooth low energy devices?

http://secutyhf.org/wordpress/zebel/2014/12/25/difference-between-corebluetooth-framework-and-iobluetooth-framework/

Link says that CoreBluetooth framework is for Bluetooth low energy and IOBluetooth framework for classic bluetooth interface.

But in IOBluetooth framework one can see the coreBluetooth framework available. This is quite confusing.

I am new to MAC os application development. Inputs will be helpful.

Thanks

Aalok
  • 325
  • 5
  • 14

2 Answers2

0

Yes, IOBluetooth is for Bluetooth Classic and BLE on OS X. CoreBluetooth is for BLE on iOS.

iOSDev
  • 1,028
  • 4
  • 13
  • 21
0

Yea The CoreBluetooth Framework is designed only for Low Energy Bluetooth Devices (Which are referred to as Peripherals) whereas the IOBluetooth Framework is designed to search mainly for Classic Bluetooth Devices but Yes, also Low Energy Bluetooth Devices (by setting searchType to kIOBluetoothDeviceSearchLE).

However, The IOBluetooth Framework will not return all the Low Energy devices than that of what CoreBluetooth would. I am not sure why this is at this point but I am currently looking into this.

Hope this is a bit of useful info.

YeaTheMans
  • 1,005
  • 8
  • 19