NicoZhu-MSFT avatar image
0 Votes"
NicoZhu-MSFT asked NicoZhu-MSFT commented

BluetoothLeDevice GattCharacteristic Configure descriptor Indicate


I have a working bluetooth LE UWP application and I have come across what I believe is a Windows 10 issue with the setting of a characteristic notification. I have reproduced the exception on alternative store BLE scanner apps.

Using the characteristic of Service Changed (0x2A05) (permissions set to Indicate only) from Generic Attribute Service (0x1801) I am trying to set up notifications on this characteristic in order to listen to a nordic device.

The code of WriteClientCharacteristicConfigurationDescriptorAsync(GattClientCharacteristicConfigurationDescriptorValue.Indicate) always throws exception of Access Denied 8007005.

I can successfully turn on this indication via Android but not via UWP Windows SDK 1803. In UWP, I can successfully use the above function to set up notifications using GattClientCharacteristicConfigurationDescriptorValue.Notify. These always succeed.

Is there any known issues related to the enabling of characteristic notifications which are Indicate only or anything relating to the public Service Changed characteristic?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I tested with BLE scanner store app, I could find available ble device in the app's device list. And I also check WriteClientCharacteristicConfigurationDescriptorAsync method that required bluetooth capability, have you add this capability to your app?

0 Votes 0 ·

0 Answers