BleWinrtDll icon indicating copy to clipboard operation
BleWinrtDll copied to clipboard

BleWinrtDll.cpp:501 SubscribeCharacteristicAsync catch: The attribute cannot be written.

Open qwetan987 opened this issue 4 years ago • 4 comments

hi when i press subscribe it returns this error

is there any solution for this

thanks

qwetan987 avatar Aug 10 '21 04:08 qwetan987

For investigation, you can download and run the Microsoft's Bluetooth Low Energy sample and see whether subscribing works there. If the demo works, it should be fixable in this repo.

Did you already try subscribing with another platform/program?

adabru avatar Aug 14 '21 17:08 adabru

I was able to subscribe in Microsoft's sample, but I have the same error in Unity

PatrykSajdok avatar Aug 17 '21 10:08 PatrykSajdok

Does this mean in Microsoft's sample the subscription failed with the same error?

adabru avatar Aug 17 '21 19:08 adabru

I had problem in Unity (The attribute cannot be written), then I've checked Microsoft's sample and everything was working there and after that for some reason error in Unity disappeared. However I still cannot get characteristc values from some BT devices.

PatrykSajdok avatar Aug 18 '21 07:08 PatrykSajdok