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

Device name availability inconsistencies on macOS #369

Open
gmallios opened this issue Mar 6, 2024 · 0 comments
Open

Device name availability inconsistencies on macOS #369

gmallios opened this issue Mar 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gmallios
Copy link

gmallios commented Mar 6, 2024

Describe the bug
Im writing a program that discovers devices and presents them to the user in form of a device name list.
Most of the discovered devices do not have a name available at the end of a scan, which I'm also able to reproduce using the
discover_adapters_peripherals example. The scan duration does not seem to be affecting the results.

Expected behavior
The device name availability should be the same as per macOS's Settings -> Bluetooth panel.

Actual behavior
Device names are inconsistently available whereas the names are always available in Settings -> Bluetooth.

Additional context
After implementing peripheralDidUpdateName for the delegate and connecting to a peripheral upon discovering it, the correct name is resolved.

@gmallios gmallios added the bug Something isn't working label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant