如何在 Windows 8 Desktop 中扫描低功耗蓝牙设备? [英] How to scan for Bluetooth Low Energy devices in Windows 8 Desktop?

查看:37
本文介绍了如何在 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 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 Desktop 中扫描低功耗蓝牙设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆