Open chipweinberger opened 4 months ago
All data is coming properly but after some time have some error and freez application.
i need some help for this error given below :-
D/FBP-Android: [FBP] onCharacteristicChanged: D/FBP-Android: [FBP] chr: ffe1
Same UUID? That sounds wild, almost defeats the "unique" part of UUID. I didn't know that such a scenario is even possible and valid: I thought that the service UUID + characteristic UUID is unique tuple.
FlutterBluePlus Version
1.31.14
Flutter Version
3.18.1
What is your feature request?
Relevant Issue: https://github.com/boskokg/flutter_blue_plus/issues/789
FlutterBluePlus does not yet support multiple characteristics with the same uuid in the same service, which is needed for the 0x1812 HID Service.
We need to add a new class member to
BluetoothCharacteristic
:final int characteristicIndex
For most characteristics, index will be 0. But If there are multiple characteristics with the same uuid, index represents first, second, third, etc. Android & iOS always keep characteristics in the same order, so we can use an index to find the right one.
Logs