在XE10下,編譯運行了官方例程BEL SCANNER,里面用的控制元件是BluetoothLE1,獲取BLE從設備服務的時候,提示設備未配對,根據官方網站所述在WINDOWS 10及以上系統時,與經典藍牙相比,BLE不需要配對,這是怎么回事呢?如果在作業系統中人工對設備配對,獲取服務時會直接獲取到服務類別。
uj5u.com熱心網友回復:
http://docwiki.embarcadero.com/RADStudio/Rio/en/Using_Bluetooth_Low_EnergyBluetoothLE does not work as the Classic Bluetooth, you do not need to pair the devices. BluetoothLE clients need to discover BluetoothLE servers.
Notes:
Applications running on Windows platform lower than Windows 10 need to pair the devices before discovering BluetoothLE servers. For more information, see Windows Bluetooth FAQ.
The WinRT API for Windows 10+ platforms allows to scan for devices without the need to pair them.
Use the DiscoverDevices method to discover BluetoothLE servers.
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/15760.html
標籤:網絡及通訊開發
上一篇:求程式
下一篇:c++求助
