如何在 Windows 8 Desktop 中扫描低功耗蓝牙设备?蓝牙、低功耗、设备、如何在

由网友(习惯了就不怕痛)分享简介:如何在 Windows-8 桌面扫描低功耗蓝牙设备?How to scan for Bluetooth Low Energy devices in Windows-8 Desktop?我尝试使用 WinSock APIs 但我得到的只是经典蓝牙设备.I've tried to use WinSock APIs b...

如何在 Windows-8 桌面扫描低功耗蓝牙设备?

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

我尝试使用 WinSock APIs 但我得到的只是经典蓝牙设备.

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

我也尝试过使用 蓝牙 API 但我得到的只是蓝牙经典设备.

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

我知道这是可能的,因为 Windows 正在这样做.例如,我可以运行 C:WindowsSystem32DevicePairingWizard.exe 它将显示所有设备的列表,Classic &低能耗.

I know that it is possible, since windows is doing that. For example, I can run C:WindowsSystem32DevicePairingWizard.exe and it will display the list of all devices, Classic & Low Energy.

推荐答案

万一其他人正在寻找答案.

In case other people are looking for an answer.

在 Windows 8(桌面和 Metro 应用程序)中,没有用于 BLE 设备发现和配对的 API.

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

这不是缺乏实现,而是设计使然.Windows 用户希望我们使用收件箱体验"进行搜索和配对 BLE 设备.

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

有关详细信息,请参阅 这个 MSDN 论坛主题.

For more details, see this MSDN forum thread.

祝你好运!

阅读全文

相关推荐

最新文章