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

Support for Descriptor Read/Writes #423

Open
swanav opened this issue Oct 22, 2021 · 5 comments
Open

Support for Descriptor Read/Writes #423

swanav opened this issue Oct 22, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@swanav
Copy link

swanav commented Oct 22, 2021

Is your feature request related to a problem? (please describe)
For an application, I need to read the descriptors of my characteristics to figure out the functionality of the characteristics.

Describe the solution you'd like
An API which should allow me to write and read descriptor values for a characteristic

Describe alternatives you've considered

Additional context

I'll be glad to provide if any further information is needed.

@remonh87
Copy link
Contributor

remonh87 commented Oct 25, 2021

@swanav I think reading a descriptor should be possible. I noticed on Android it is possible to set descriptors not sure if it is possible on iOS (the docs are a bit vague there).

@remonh87 remonh87 added the enhancement New feature or request label Oct 25, 2021
@swanav
Copy link
Author

swanav commented Oct 25, 2021

Hi @remonh87!

It's possible to write descriptors on iOS as well.

Here's a reference to the API from CoreBluetooth which provides this functionality.

writeValue(_:for:) | Apple Developer Documentation

Though my use case primarily needs to read the descriptors, but for the sake of completeness I feel write support should also be included as well.

@ened
Copy link
Contributor

ened commented Dec 7, 2021

@swanav this is WIP in #453 - interested to hear your thoughts

@sidwarkd
Copy link

@ened I am anxiously awaiting the ability for the library to have Descriptor read capabilities. When you get to a point I'd be happy to help test #453

@edvardmk
Copy link

Me as well. Great initiative @ened! Are you planing to include it soon?

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

No branches or pull requests

5 participants