windows - 在 uwp 应用程序中取消配对双模蓝牙设备
问题描述
- 使用 Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher 发现设备
- Windows.Devices.Bluetooth.BluetoothLEDevice.FromBluetoothAddressAsync([address]) 获取 Windows.Devices.Bluetooth.BluetoothLEDevice
- 调用 Windows.Devices.Bluetooth.BluetoothLEDevice.DeviceInformation.Pairing.Custom.PairAsync(....)
由于该设备是双模蓝牙设备,配对后在Windows蓝牙列表中可以看到两个相同的设备名称。在调用 UnpairAsync api 之后,我只能取消配对 BLE 设备。
有没有办法取消两个设备的配对?
解决方案
推荐阅读
- python - 如何用拆分值分隔字典
- python-3.x - 根据一列的值过滤行并计算 Pandas 中总和的百分比
- java - 给定 pom.xml 如何获取远程存储库 URL 和校验和列表
- python - Django中的列表字段以通过views.py响应
- amazon-cloudformation - 解决错误:不能以跨环境方式使用资源“x”,必须显式设置资源的物理名称
- macos - Golang TLS 握手超时,影响 go get 和 go 代码
- mysql - 如何从 MySQL 查询的总天数中排除假期总数?
- trojan - Windows Defender 突然开始删除我的 exe,而其他杀毒程序说好的,我不明白为什么?
- javascript - 在文件或 .(扩展名)之前插入一个字符
- r - 如何加载 .rds 文件?