Commit graph

3 commits

Author SHA1 Message Date
Dan Halbert
b5dc5857e6 address comments so far; fix sphinx build 2019-11-14 12:19:24 -05:00
Dan Halbert
dcf76c7bff doc and cleanup pass 2019-11-13 21:22:50 -05:00
Scott Shawcroft
8291ee9b1b
Rework the API to use descriptors.
This makes Advertisement and Service definitions declarative by
factoring out parsing logic out into shareable descriptor classes
similar to how the Register library works.

This also introduces SmartAdapter and SmartConnection which will
auto-create the correct Advertisements and Services without requiring
any direct use of UUIDs. Instead, classes are used to identify
relevant objects to "recognize".

This requires https://github.com/adafruit/circuitpython/pull/2236 and
relates to https://github.com/adafruit/circuitpython/issues/586.
2019-10-22 17:30:12 -07:00