You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Took me a little while to figure out why I couldn't filter the discovered bluetooth devices with this library. Eventually found it when i noticed that the checks for particular characteristics call .toLowerCase() on the uuid's
Rather than writing documentation, It seems like a better solution is to just update the library to allow the user to provide UUID's in any case (including mixed) and have FlutterBleLib convert them to lowercase internally when performing comparisons.
What kind of places within this plugin are these kinds of comparisons made? Happy to make a pull request if this is something that is desirable
The text was updated successfully, but these errors were encountered:
MoralCode
changed the title
Allow methods to accept uuid's in any case
Allow methods to accept uuid's in upper or lowercase
Nov 19, 2021
It seems like this only affects published versions prior to the current nullsafe one since I am successfully able to use all-caps UUID's when importing the lib as a local path dependency
Took me a little while to figure out why I couldn't filter the discovered bluetooth devices with this library. Eventually found it when i noticed that the checks for particular characteristics call
.toLowerCase()
on the uuid'sRather than writing documentation, It seems like a better solution is to just update the library to allow the user to provide UUID's in any case (including mixed) and have FlutterBleLib convert them to lowercase internally when performing comparisons.
What kind of places within this plugin are these kinds of comparisons made? Happy to make a pull request if this is something that is desirable
The text was updated successfully, but these errors were encountered: