Skip to content

Async API #201

Open
Open
@rvadhavk

Description

@rvadhavk

Looking through the documentation at https://docs.circuitpython.org/projects/ble/en/latest/api.htm and example code at https://learn.adafruit.com/circuitpython-nrf52840/location, it seems that you have to poll the BLERadio.connected instance variable as opposed to awaiting a central connecting to the peripheral. Is there an async API to avoid having to poll for things like new connections or writes to writable characteristics?

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