circuitpython/ports/nrf/boards
Scott Shawcroft ae30a1e5aa
Refine _bleio
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
2019-10-21 18:57:03 -07:00
..
circuitplayground_bluefruit CPB A1 pin mapping wrong; remove A7 2019-09-06 14:17:11 -04:00
electronut_labs_blip enable libraries needed by BlipBoy Shield 2019-07-19 18:48:08 +05:30
electronut_labs_papyr Add support for Electronut Labs Papyr. 2019-04-16 12:59:42 +05:30
feather_nrf52840_express Metro nRF52840 rev A defn; also remove '#define FEATHER52840' from mpconfigboard.h files 2019-08-05 18:10:27 -04:00
makerdiary_nrf52840_mdk Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
makerdiary_nrf52840_mdk_usb_dongle Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
metro_nrf52840_express Metro nRF52840 rev A defn; also remove '#define FEATHER52840' from mpconfigboard.h files 2019-08-05 18:10:27 -04:00
particle_argon Metro nRF52840 rev A defn; also remove '#define FEATHER52840' from mpconfigboard.h files 2019-08-05 18:10:27 -04:00
particle_boron Metro nRF52840 rev A defn; also remove '#define FEATHER52840' from mpconfigboard.h files 2019-08-05 18:10:27 -04:00
particle_xenon Metro nRF52840 rev A defn; also remove '#define FEATHER52840' from mpconfigboard.h files 2019-08-05 18:10:27 -04:00
pca10056 Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
pca10059 Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
sparkfun_nrf52840_mini Reorganize board busses into shared-bindings and shared-module. 2019-04-08 16:58:50 -07:00
adafruit_nrf52840_s140_v6.ld Refine _bleio 2019-10-21 18:57:03 -07:00
board.h nrf: Implement ticks, add gamepad module and example 2018-02-05 20:48:25 +01:00
common.ld nRF52 update with internal file system support 2017-12-21 13:49:14 +01:00
nrf52_prefix.c rename pin.h to nrf_pin.h to avoid conflict with Pin.h 2018-08-26 20:37:12 -04:00
nrf52840_1M_256k_s140_6.0.0.ld nrf: Use the production version of s140 6.0.0 2018-06-18 23:12:28 +02:00
nrf52840_1M_256k.ld nrf: Fix building pca10056 without SD 2018-02-07 22:41:26 +01:00