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

Function to tell if an adapter is already connected? #350

Open
liamhays opened this issue Nov 26, 2023 · 0 comments
Open

Function to tell if an adapter is already connected? #350

liamhays opened this issue Nov 26, 2023 · 0 comments

Comments

@liamhays
Copy link

Feature Description

This might not be possible because of platform differences, but I would like a peripheral_connected() or similar function for Centrals, even if it just returns a bool and no info about the peripheral.

I see that Peripheral has is_connected(), but this isn't the same because Windows doesn't remember paired peripherals the way Linux does, and it always requires a scan. I would like to be able to avoid the scan by getting information about the currently connected device, if any.

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