Windows 8.1 在Windows 8.1中找不到使用DeviceInformation.FindAllAsync的可恢复心率服务设备
我在跑步 在运行应用程序之前,已将带有HRS服务的BLE服务器配对 现在,当我运行应用程序时,使用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" });
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,而不是只查找具有心率服务的设备。看见