Skip to content

Allow methods to accept uuid's in upper or lowercase #617

Description

@MoralCode

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions