我可以在CoreBluetooth上使用什么配置文件? [英] What profile can I use with CoreBluetooth?

查看:207
本文介绍了我可以在CoreBluetooth上使用什么配置文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找关于 CoreBluetooth 的信息,我看到iPhone4s / 5支持蓝牙4.0 蓝牙LE 。< br>
另外,根据这个注释,我可以使用这些配置文件:

I looking for informations about CoreBluetooth, I see iPhone4s/5 support Bluetooth 4.0 and Bluetooth LE.
Also, according to this note, I can use these profiles :


  1. 免提配置文件(HFP 1.6)

  2. 电话图书访问配置文件(PBAP)

  3. 高级音频分发配置文件(A2DP)

  4. 音频/视频远程控制配置文件(AVRCP 1.4)

  5. 个人区域网络配置文件(PAN)

  6. 人机接口设备配置文件(HID)

  7. 消息访问配置文件(MAP)

  1. Hands-Free Profile (HFP 1.6)
  2. Phone Book Access Profile (PBAP)
  3. Advanced Audio Distribution Profile (A2DP)
  4. Audio/Video Remote Control Profile (AVRCP 1.4)
  5. Personal Area Network Profile (PAN)
  6. Human Interface Device Profile (HID)
  7. Message Access Profile (MAP)

我可以使用 CoreBluetooth 访问它们,如果是这样,我怎样才能访问它们?

Can I have access to them using CoreBluetooth and, if so, how could I access to them ?

推荐答案

如果要从应用程序进行通信,则无法使用任何提及的配置文件。核心蓝牙适用于低能耗,您只能使用BLE实现GATT配置文件(如心率,警报通知),BLE用于小数据速率。您只能向设备写入或读取特征。为了实现任何上述配置文件,您需要串行端口配置文件,仅使用外部附件框架通过MFi支持。

You can't use any of the mentioned profiles if you want to communicate from the application. Core Bluetooth is meant for low energy,You can only implement GATT Profiles(like Heart Rate,Alert Notification) with BLE and BLE is for small data rates.You can only write or read characteristics to/from the device. In order to implement any of the mentioned profiles you require Serial Port Profile, which is supported only through MFi using External Accessory Framework.

GATT配置文件

http://developer.bluetooth.org/gatt /profiles/Pages/ProfilesHome.aspx

您可以在下面的链接中找到External Accessory Framework文档。

You can find External Accessory Framework documentation in the link below.

http://developer.apple。 com / library / ios /#documentation / ExternalAccessory / Reference / ExternalAccessoryFrameworkReference / _index.html

MFi

https://developer.apple.com/programs/mfi/

这篇关于我可以在CoreBluetooth上使用什么配置文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆