What profile can I use with CoreBluetooth?

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

  • Hands-Free Profile (HFP 1.6)
  • Phone Book Access Profile (PBAP)
  • Advanced Sound Distribution Profile (A2DP)
  • Audio / Video Remote Control Profile (AVRCP 1.4)
  • Personal Area Network (PAN) Profile
  • User Interface Device (HID) Profile
  • Message Access Profile (MAP)

Can I access them using CoreBluetooth , and if so, how can I access them?

+3
source share
2 answers

You cannot use any of these profiles if you want to communicate with the application. Core Bluetooth is designed to work with low power consumption. You can use GATT profiles (e.g. Heart Rate, Alert Notification) with BLE and BLE for low data rates. You can write or read characteristics only from the device. To implement any of these profiles, you need a serial port profile that is only supported through MFi using an external infrastructure.

GATT Profiles

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

Access external documentation documentation can be found at the link below.

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

Mfi

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

+5
source

CoreBluetooth framework for Bluetooth Low Energy. The note seems to apply only to β€œclassic” Bluetooth (as you see the β€œold” devices). In this case, you will need to use the ExternalAccessory framework . Its two technologies are completely different, as you can see by browsing on Google or in various issues here in StackOverflow.
Apple has a sample on the ExternalAccessory framework : EADemo.

+1
source

Source: https://habr.com/ru/post/1237347/


All Articles