Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
qwetan987 opened this issue Aug 10, 2021 · 4 comments

Comments

@qwetan987
Copy link

hi when i press subscribe it returns this error

is there any solution for this

thanks

@adabru
Copy link
Owner

adabru commented Aug 14, 2021

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?

@PatrykSajdok
Copy link

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

@adabru
Copy link
Owner

adabru commented Aug 17, 2021

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

@PatrykSajdok
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants