"Incompatible Address" 创建蓝牙监听器

"Incompatible Address" creating BluetoothListener

我正在尝试在 Windows 7 上使用蓝牙。这是一台集成蓝牙和戴尔驱动程序的戴尔笔记本电脑,我在 VS2012 的 C# 项目中使用 32feet 库。

我已经简化了这个函数,在程序启动时调用;

    public static void Test()
    {
        Guid service = new Guid("{7A51FDC2-FDDF-4c9b-AFFC-98BCD91BF93B}");
        BluetoothListener bl = new BluetoothListener(service);
        bl.Start();
        BluetoothClient bc = bl.AcceptBluetoothClient();

    }

当我创建侦听器时,出现错误 "An address incompatible with the requested protocol was used."

此调用下游的堆栈跟踪是;

  at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)   
  at InTheHand.Net.Bluetooth.Msft.WindowsBluetoothListener.CreateSocket()
  at InTheHand.Net.Bluetooth.Msft.WindowsBluetoothListener.Construct(Guid service)
  at InTheHand.Net.Sockets.BluetoothListener..ctor(BluetoothFactory factory, Guid service)
  at InTheHand.Net.Sockets.BluetoothListener..ctor(Guid service)

BluetoothRadio.IsSupported 属性 returns TRUE

我用谷歌搜索了一下,没有找到非常相关的内容。谁能建议从这里去哪里?

在这上面花了相当多的时间,并尝试让商业替代方案 Wireless Communication Library 工作后,我回到了基础并尝试使用蓝牙从我的 phone 传输音频,使用蓝牙鼠标等 - 之前我已经确认我可以看到设备并与它们配对并假设这意味着一切都很好但实际上不需要 使用 这些设备。

事实证明,虽然检测和配对有效,但其他任何方法都无效。尝试了另一台 Windows 7 机器,设备正常工作。尝试重新安装驱动程序,唯一真正解决问题的是获得一个新的 HD(因为如果证明没有必要,我不想破坏我的系统)并重新安装 Windows 7.

所以我不知道根本原因,但如果其他人出于同样的原因找到这个可能会节省几天:)