ae30a1e5aa
This PR refines the _bleio API. It was originally motivated by the addition of a new CircuitPython service that enables reading and modifying files on the device. Moving the BLE lifecycle outside of the VM motivated a number of changes to remove heap allocations in some APIs. It also motivated unifying connection initiation to the Adapter class rather than the Central and Peripheral classes which have been removed. Adapter now handles the GAP portion of BLE including advertising, which has moved but is largely unchanged, and scanning, which has been enhanced to return an iterator of filtered results. Once a connection is created (either by us (aka Central) or a remote device (aka Peripheral)) it is represented by a new Connection class. This class knows the current connection state and can discover and instantiate remote Services along with their Characteristics and Descriptors. Relates to #586 |
||
---|---|---|
.. | ||
circuitplayground_bluefruit | ||
electronut_labs_blip | ||
electronut_labs_papyr | ||
feather_nrf52840_express | ||
makerdiary_nrf52840_mdk | ||
makerdiary_nrf52840_mdk_usb_dongle | ||
metro_nrf52840_express | ||
particle_argon | ||
particle_boron | ||
particle_xenon | ||
pca10056 | ||
pca10059 | ||
sparkfun_nrf52840_mini | ||
adafruit_nrf52840_s140_v6.ld | ||
board.h | ||
common.ld | ||
nrf52_prefix.c | ||
nrf52840_1M_256k_s140_6.0.0.ld | ||
nrf52840_1M_256k.ld |