IOS example for Bluetooth connection with MFI

I have an Android app that communicates over Bluetooth using hardware we are developing. Now I need to develop an iOS app that connects to the same hardware via Bluetooth. This hardware provides serial communication via Bluetooth.

I've been doing some research quite recently and found two ways out: - Bluetooth Low Energy (BLE). - Bluetooth with "MFI Program".

Analyzing smartphones today, both Android and iOS, MFI would be the best option. Due to availability on older smartphones. The registration process for the MFI program has already begun.

My question focuses on iOS development. And my question is:

Search for Objective-C. Is there any difference between connecting to Bluetooth Low Energy or MFI? Can anyone show me an example of Bluetooth MFI connection?

+3


source to share


2 answers


MFI is for Bluetooth hardware.

When connecting to a BLE device from iOS devices, you need to use the CoreBluetooth framework.



http://www.raywenderlich.com/52080/introduction-core-bluetooth-building-heart-rate-monitor

Check this link.

+1


source


As I understand it, devices registered to the MFi program use the EAAccessory platform, not CoreBluetooth. The documentation is here: Accessory External Programming Topics .



Sample code here.

+5


source







All Articles