繁体   English   中英

iOS 上的蓝牙与低功耗蓝牙

[英]Bluetooth vs Bluetooth low energy on iOS

我正在尝试获取我附近所有蓝牙设备的名称(仅名称)(经典蓝牙和 BLE)。 更具体地说,我需要知道用户何时靠近他的车载套件设备蓝牙。

我尝试使用 CoreBluetoothFramework,但它只能与 BLE 设备建立连接。

我不确定所有车载套件都使用“Apple 的 MFi 许可证”,所以我不确定我是否可以使用外部附件。

使用 IOBluetooth 进行蓝牙经典。 参见例如 IOBluetoothDevice 和 IOBluetoothDeviceInquiry 类。 如果您想查看任何需要同时使用 IOBluetooth 和 Core Bluetooth 的设备。 在蓝牙经典下开发新配置文件需要 MFi,对于仅检测设备的应用程序,您不应该需要它。

对于 iOS,您可以尝试蓝牙经典的 ExternalAccessories 框架(不支持 IOBluetooth)。 有关详细信息,请参阅此问题: How to use bluetooth classic instead of le

1. Bluetooth Classic and Bluetooth Low Energy both different.
2. BT classic is old version of BT(BT 2.0).
3. BLE 4.0 and later version control by core bluetooth library.
4. Cant communicate with BT classic via core bluetooth library.
5. Latest version of BLE 5.
6. BLE 5 available only on iPhone 8, 8+ and X(10).
7. Cant find/show BLE in iOS bluetooth settings.
6. Only BT classic find/show in iOS bluetooth settings.

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM