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

MacOS (10.15.1 (19B88)) /System Preferences/Bluetooth device initially discovers with ID instead of the name #35

Closed
nikolayrantsev opened this issue Aug 8, 2020 · 5 comments

Comments

@nikolayrantsev
Copy link

nikolayrantsev commented Aug 8, 2020

When you're connecting device for the first time after uploading the code and rebooting ESP32,
it discovers with the factory name, not defined in the code

Bluetooth 2020-08-08 18-00-40

When devices paired, it shows with the defined name in the code:

BleKeyboard bleKeyboard("Swiping");

Bluetooth 2020-08-08 18-15-51

@nikolayrantsev nikolayrantsev changed the title MacOS (10.15.1 (19B88)) /System Preferences/Bluetooth device initially discovers with some factory name MacOS (10.15.1 (19B88)) /System Preferences/Bluetooth device initially discovers with ID instead of the name Aug 8, 2020
@T-vK
Copy link
Owner

T-vK commented Aug 8, 2020

I think that's a Mac "feature". If no name is specified, it would fall back to "ESP32 Bluetooth Mouse". What your Mac is showing seems to be a the Mac address with dashes instead of colons. I would assume that it shows the correct name after a while or maybe after reloading the list?

@nikolayrantsev
Copy link
Author

Yeah, the correct name shows after turning Bluetooth on/off

@aovestdipaperino
Copy link
Contributor

I realized that MacOS seems sensitive to chars.
KBV2 is ok
KBV2.0 is not ok

@aovestdipaperino
Copy link
Contributor

Created a PR

@T-vK
Copy link
Owner

T-vK commented Oct 20, 2020

Thank you, I have accepted the PR.

@T-vK T-vK closed this as completed Oct 20, 2020
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

3 participants