iOS bluetooth development
http://blog.csdn.net/xufeidll/article/details/24022261
http://blog.csdn.net/swibyn/article/details/20531593
Since the iphone needs to interact with third-party Bluetooth devices, the Bluetooth development started.
After exploring for some time, iOS Bluetooth development-related Apple has roughly the following ways.
1 gamekit.framework
"Can only exist between iOS devices, more games
Can search the demo more, not exactly say the name, Code4app inside there is "
2 Corebluetooth.framework
"Bluetooth 4.0 must be supported, and above IPhone4, that is, at least 4s mobile phones. Data can be interacted with third-party devices,
The official demo is temperature Sensor.
3 Externalaccessory.framework
"Can interact with third-party Bluetooth devices, but the Bluetooth device must be MFI certified and requires an Apple protocol,
The official demo is Eademo and Btle "
4 Multipeer Connectivity.framework
"Can only be used between iOS devices, and iOS7 is only introduced. The main purpose is to share files, but the files are inside the sandbox
The official demo is iOS7 sample "
Because I do access to third-party Bluetooth devices, it can only take 2 or 3 ways.
However, due to the 3 way to go through the company's MFI certification, and many domestic Bluetooth provider has not been certified so we adopted the second way. Corebluetooth, which is the Bluetooth 4.0 ble mode to develop.
Below is a detailed description of how BLE development mode is applied under iOS.
First, ble divides the Bluetooth device into two categories:
One central device (centrally)
Two peripheral devices (peripheral)