【问题标题】:Is it possible to trigger bluetooth service re-enumeration on Windows 8/8.1?是否可以在 Windows 8/8.1 上触发蓝牙服务重新枚举?
【发布时间】:2014-07-25 11:09:24
【问题描述】:

当尝试以编程方式将蓝牙设备与 inthehand.net 库配对时,我注意到我的设备最终在设备和打印机中作为“通用蓝牙设备”而没有查询其 SDP 记录。

  • 在 Windows 7 上配对、枚举和 PANU 连接设置成功
  • 在 Windows 8.1 上似乎只有配对成功,设备和打印机中添加了无服务设备。
  • 在建立配对后使用 inthehand 库查询 PANU 工作正常,但是 windows 不承认这一点(设备和打印机中的设备没有连接/直接连接)

相关(?):

Is there an API call to start a scan for hardware devices C# - Windows Mobile - Bluetooth Pairing

【问题讨论】:

    标签: c# windows bluetooth windows-8.1


    【解决方案1】:

    回答我自己的问题:

    • 在 Windows 7 上,服务 (PANU) 在配对过程中被枚举和添加。
    • 在 Windows 8.1 上,配对设备后调用 SetServiceState(通过 inthehand)可以解决我的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-11-06
      • 1970-01-01
      • 2014-03-31
      • 1970-01-01
      • 2012-01-15
      • 1970-01-01
      • 2016-04-09
      • 2015-07-10
      相关资源
      最近更新 更多