flutter_blue
flutter_blue copied to clipboard
Fundamental issue regarding accessing characteristics (and more?) with same uuid
It is allowed to have multiple characteristics with the same UUID, in fact TWS headphones use this fact to expose multiple battery values. The different characteristics can be discerned using the descriptor, but as it is now this library is fundamentally unable to handle this situation.
We need to access services, characteristics and descriptors not by their UUID but rather some internal ID (like we do for peripherals)
I am having this same problem. Any progress or alternative? I tried the flutter_reactive_ble plugin and it has the same issue. I can retrieve two characteristics with the same UUID from services.characteristics, but all writes seem to go to the first of the two.
I don't remember what I did in the end. I might have made a custom solution. Sadly I can't help you more than that. Good luck with your characteristics and take care out there 🫡