Skip to content

Calling .disconnect() fires .connect() disconnect callback #1044

@JoachimSoftpauer

Description

@JoachimSoftpauer

After connecting to a device and then calling await ble.withPromises.disconnect(id), I noticed that both the success callback from disconnect() and the failure callback from .connect() fire at the exact same time on both iOS and Android? According to the documentation this shouldn't be the case (but only when the peripheral itself initiates this).

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