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

Multiple instances of same characteristic UUID in service not delivered in discovery #187

Open
dezi opened this issue Aug 12, 2023 · 1 comment

Comments

@dezi
Copy link

dezi commented Aug 12, 2023

Hi,

in the linux implementation, the ble device discovery returning the
services, characteristics and descriptors does not honor the fact,
that a characteristic can be present MORE THAN ONCE in a service.

Refer to HOG (Hid over Gatt) where the "Report Characteristic" definetely
has multiple instances.

I believe that could be a principal design flaw in Your package.

Regards,
dezi

@TirelessDev
Copy link
Contributor

Hi @dezi,

Are you able to confirm the release you are testing this on?

This issue was supposed to be addressed in #162 if I am correctly understanding the problem you are having. At least, that is for the case where a list of UUIDs is provided to the DiscoverCharacteristics function. If no list is provided the function will just return everything that BlueZ provides.

Cheers

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