bluetooth icon indicating copy to clipboard operation
bluetooth copied to clipboard

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

Open dezi opened this issue 2 years ago • 1 comments

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

dezi avatar Aug 12 '23 14:08 dezi

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

TirelessDev avatar Aug 18 '23 06:08 TirelessDev