簡體   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