桌面中扫描低功耗蓝牙设备

桌面中扫描低功耗蓝牙设备

本文介绍了如何在 Windows 8 桌面中扫描低功耗蓝牙设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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

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.

祝你好运!

这篇关于如何在 Windows 8 桌面中扫描低功耗蓝牙设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-26 12:20