Commit graph

10 commits

Author SHA1 Message Date
dherrada
ffd1f1d9f0 Ran black, updated to pylint 2.x 2020-03-16 15:39:06 -04:00
Scott Shawcroft
d99232ad0d
Mock microcontroller so we don't use Blinka's board detect. 2020-01-21 14:35:05 -08:00
Scott Shawcroft
d6993c476a
Remove use of mocks for sphinx. Blinka should be enough. 2020-01-21 12:29:36 -08:00
Scott Shawcroft
036b65f646
Add support for pairing and services that require it.
This adds HID Server, Current Time Service and Apple Notification
Service Client support.
2019-11-22 11:10:16 -08:00
Scott Shawcroft
3434bfa5d3
Tweaks based on feedback from Dan and Thea
This renames Smart* to BLE* and removes the smart recognition. It
is replaced by knowing the type of what we're interested at use
time only. Only printing Service lists is now dumber.

Interal variables to _bleio classes are now public as bleio_*
instead so that other classes in the library can access them and
its clearer what they are.
2019-11-01 11:48:34 -07: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
Dan Halbert
42e871d259 rename bleio to _bleio 2019-08-29 18:44:46 -04:00
Dan Halbert
e8c73a22cb add cookiecutter files; UARTService now working with adafruit_bluefruit_connect library 2019-01-21 20:56:26 -05:00
Dan Halbert
a4b6429b21 add examples 2019-01-08 16:52:42 -05:00
Dan Halbert
64aac3f520 squashed:
Fill in initial details after cookie-cutter creation.
Eddystone URL Beacon works; LocationBeacon works but why wrong endian??
fix typos; add comment re big-endian UUID's in LocationBeacon
Do UUID parsing in Python; beacon comments touchup
Add UUID __repr__
don't subclass bleio; add PeripheralServer and UARTServer
strawman uart
Use CharacteristicBuffer.
2019-01-08 16:52:42 -05:00