Skip to content

mac addresses appear to be case sensitive (trivial) #64

@eichin

Description

@eichin

After cut&pasting my BLE device address from gattool where it's all upper case, I got

[A4:C1:38:CE:0D:F5] Connection failed: Device does not exist, check adapter name and MAC address.

After running ./gattctl.py --discover I noticed the output was all lower case, so on a hunch, I downcased it and got

[a4:c1:38:ce:0d:f5] Connected

(yay!) I just suggest calling it out in the example, or throwing in a .lower() and avoiding the issue, since other (linux, at least) tools are case-insensitive here.

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