Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eichin opened this issue Mar 12, 2021 · 0 comments
Open

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

eichin opened this issue Mar 12, 2021 · 0 comments

Comments

@eichin
Copy link

eichin commented Mar 12, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant