我正在尝试使用 Windows 通用应用程序通过蓝牙 GATT(它是双启动的 Windows 10)将我的 Polar OH1 心率设备连接到我的 Mac。我正在用 C++ 做这个。
IAsyncOperation<DeviceInformationCollection^>^ deviceOp =
DeviceInformation::FindAllAsync(GattDeviceService::GetDeviceSelectorFromUuid(GattServiceUuids::HeartRate));
当我尝试运行此方法时,它返回 null,即使我将蓝牙添加到应用程序清单并将 Polar Oh1 与 Windows 10 配对。