简体   繁体   中英

How to scan for Bluetooth Low Energy devices in Windows 8 Desktop?

How to scan for Bluetooth Low Energy devices in Windows-8 Desktop?

I've tried to use WinSock APIs but all I'm get is Bluetooth Classic devices.

I've also tried to use Bluetooth APIs but all I'm get is Bluetooth Classic devices.

I know that it is possible, since windows is doing that. For example, I can run and it will display the list of all devices, Classic & Low Energy. ,它将显示所有设备的列表,Classic和Low Energy。

In case other people are looking for an answer.

In Windows 8 (Desktop & Metro App) there are NO APIs for BLE device discovery and pairing.

This is not lack of implementation, it is by design. Windows folks want us to use "inbox experience" to search & pair BLE devices.

For more details, see this MSDN forum thread .

Good luck!

You could use BLE hardware module that you can control via a serial interface. Depending on your use case this may not be what you want as it does not make use of Windows 8's internal BLE stack! Basically this solution is for tinkering/development.

I know these two devices that can do this and have APIs for BLE discovery:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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