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

Write to characteristic with response? #18

Open
hansmbakker opened this issue Jan 31, 2021 · 1 comment
Open

Write to characteristic with response? #18

hansmbakker opened this issue Jan 31, 2021 · 1 comment

Comments

@hansmbakker
Copy link

hansmbakker commented Jan 31, 2021

I see that in the WriteValueAsync method you can pass an options dictionary to write the value and await a response.

The required options dictionary should contain type = request for that (my reference is https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/gatt-api.txt#n99)

How can I read the response / see whether the write was succesful? The WriteValueAsync task does not return a value directly.

@Caffiendish
Copy link

It's a bit late, but I've been having some of the same issues, which I talked about here:
#8 (comment)

Maybe something there can help with your project?

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

2 participants