iOS and CoreBluetooth Low Energy Required?

血红的双手。 提交于 2019-12-12 17:59:53

问题


We are making MFi hardware and an iOS app. We will want to have the BT device notify our app even if we are not running periodically when certain events happen.

I know the CoreBluetooth API is the one to use, but can't tell for sure if that API only works with BT Low Energy devices or if it will also work with regular (MFi of course) BT 2.1 and higher devices.

So my question is: Does the CoreBluetooth API only work with Bluetooth Low Energy devices or will it also work with 2.1 devices?


回答1:


Core Bluetooth is designed specifically for Bluetooth LE, a.k.a. BLE, Bluetooth 4.0 and Smart Bluetooth.

Core Bluetooth does not work with the older, classic Bluetooth devices. Those require special APIs and hardware available through Apple's MFi program.



来源:https://stackoverflow.com/questions/12427718/ios-and-corebluetooth-low-energy-required

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!