Skip to content

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

Description

@liamhays

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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