iOS and CoreBluetooth Low Energy Required?

2019-07-21 02:17发布

问题:

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.