iOS bluetooth development

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.