首页 > 解决方案 > 在 uwp 应用程序中取消配对双模蓝牙设备

问题描述

  1. 使用 Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher 发现设备
  2. Windows.Devices.Bluetooth.BluetoothLEDevice.FromBluetoothAddressAsync([address]) 获取 Windows.Devices.Bluetooth.BluetoothLEDevice
  3. 调用 Windows.Devices.Bluetooth.BluetoothLEDevice.DeviceInformation.Pairing.Custom.PairAsync(....)

由于该设备是双模蓝牙设备,配对后在Windows蓝牙列表中可以看到两个相同的设备名称。在调用 UnpairAsync api 之后,我只能取消配对 BLE 设备。

有没有办法取消两个设备的配对?

标签: windowsbluetoothdevice

解决方案


推荐阅读