【问题标题】:Has BluetoothAuthenticateDevice Stopped Working Since Vista SP2?自 Vista SP2 以来,BluetoothAuthenticateDevice 是否停止工作?
【发布时间】:2010-02-15 13:31:17
【问题描述】:

Win32 调用 BluetoothAuthenticateDevice 自 Vista SP2 以来似乎无法正常运行。如果您为 PIN 码传入 null,则应该显示蓝牙连接向导,允许用户输入 PIN 码并配对设备。

在我安装 SP2 之前,这一切正常。现在,如果我为 PIN 传入 null,BluetoothAuthenticateDevice 将失败,但如果我指定 PIN,则设备将配对。知道为什么没有显示蓝牙连接向导吗?

问题似乎源于从 Vista SP2 开始,蓝牙堆栈已升级为支持蓝牙 2.1+EDR。这应该与蓝牙 1.2 向后兼容,但安全性如何。

我还注意到,在使用 Windows Mobile 6.0 的 iPaq 110 上,Broadcom API 也存在配对问题。我相信 iPaq 110 WM 6.0 使用蓝牙 2.0。这两个问题可能相关吗?

【问题讨论】:

  • 请注意,我正在尝试连接到蓝牙 1.2 设备

标签: windows mobile bluetooth windows-vista


【解决方案1】:

我刚刚在 Windows 7 机器上测试了 BluetoothAuthenticateDevice(pin=null, len=0),对话框按预期弹出。但是我看到的一个变化是,如果目标设备 存在,则该对话框永远不会显示。大概是W7/Vista+KB942567/SP2先连接到设备看它支持哪些认证方式,而XP2 Vista/Gold只是立即弹出对话框,只有在完成尝试连接才能进行认证。

(我将在我的文档中添加一个小便条Bluetooth in Windows 7

【讨论】:

    猜你喜欢
    • 2016-09-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-10-04
    • 2018-11-27
    • 1970-01-01
    • 2012-12-02
    相关资源
    最近更新 更多