adafruit / adafruit/Adafruit_CircuitPython_BLE

Async API

Open
#201 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
138
Forks
58
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.