iosbluetooth

Looking for a Bluetooth API documentation for iOS


Google has a nice documentation on BT but where is the equivalent for Apples iOS? I can import #import <CoreBluetooth/CoreBluetooth.h>but this is not mentioned in the only documentation I found.


Solution

  • CoreBluetooth framework is only for Bluetooth Low Energy.
    For Classical Bluetooth, it's ExternalAccessory framework.
    Bluetooth Low Energy and classical bluetooth are really different. You can get more informations here on StackOverFlow looking for the tag Core-Bluetooth since it's often repeated or by googling it. There are a few samples code from Apple. Even if the news change in CoreBluetooth.framework since iOS 6.0 is not well commented (you have to read the header files), the others parts are quite well documented.
    By the way, Google has not documented its Bluetooth Low Energy framework since it does not support it officially (Motorola made its own, and there is a project from tierce developers).