Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 8.1 在Windows 8.1中找不到使用DeviceInformation.FindAllAsync的可恢复心率服务设备_Windows 8.1_Bluetooth Lowenergy - Fatal编程技术网

Windows 8.1 在Windows 8.1中找不到使用DeviceInformation.FindAllAsync的可恢复心率服务设备

Windows 8.1 在Windows 8.1中找不到使用DeviceInformation.FindAllAsync的可恢复心率服务设备,windows-8.1,bluetooth-lowenergy,Windows 8.1,Bluetooth Lowenergy,我在跑步 在运行应用程序之前,已将带有HRS服务的BLE服务器配对 现在,当我运行应用程序时,使用FindAllAsync语句枚举的设备数 var devices = await DeviceInformation.FindAllAsync( GattDeviceService.GetDeviceSelectorFromUuid(GattServiceUuids.HeartRate), new string[] { "System.Devices.ContainerId" });

我在跑步

在运行应用程序之前,已将带有HRS服务的BLE服务器配对

现在,当我运行应用程序时,使用FindAllAsync语句枚举的设备数

var devices = await DeviceInformation.FindAllAsync(
    GattDeviceService.GetDeviceSelectorFromUuid(GattServiceUuids.HeartRate),
    new string[] { "System.Devices.ContainerId" });
是0

但是,当我尝试查找所有使用

var devices = await DeviceInformation.FindAllAsync();
列出了我的带热耗率服务的BLE设备


如何在所有设备中短列BLE设备?

这是驱动程序的问题

我的笔记本电脑没有Windows LE enumerator


切换到带有Windows LE enumerator的笔记本电脑后,我可以使用FindAllAsync查找设备

您可以尝试使用Watcher,而不是只查找具有心率服务的设备。看见