Skip to content

BLE API: returning the address for an existing connection #5881

Open
@ThomasAtBBTF

Description

@ThomasAtBBTF

This request is a result of a support topic in the forum under https://forums.adafruit.com/viewtopic.php?f=60&t=187178
And also relates to the issue: #4639

To be able to implement a good HID-keyboard solution it is necessary to be able to pair with multiple centrals on the one hand,
on the other hand, it does not make sense to send keystrokes to every connected central simultaneously. Managing the connection from the UI of the central is tedious and sometimes impossible.

So there must be a way to understand in the HID-Keyboard code to which centrals the keyboard is currently connected and disconnect from the undesired ones.

When trying to change the central, I think the keyboard shall disconnect from all centrals, then start to advertise and look if the desired central connects. After that, advertising can stop and the connection to all centrals except the desired one can be disconnected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions