Skip to content

NimBLEDevice::getDisconnectedClient returns currently connecting clients #335

Open
@dcodeIO

Description

@dcodeIO

When performing a pClient->connect, while the client is still (asynchronously) connecting, it appears that calling NimBLEDevice::getDisconnectedClient() can return the still connecting client as it doesn't yet have a connection handle.

Found this while trying to reuse client objects, and I am wondering if this particular behavior is expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions