Commit graph

19 commits

Author SHA1 Message Date
Dan Halbert
8e3222303a Use Python 3.7 so sphinx won't complain about _bleio doing from __future__ import annotations 2020-06-27 17:28:16 -04:00
Dan Halbert
c6e8cc0f8b
Fixi capitalization in conf.py 2020-04-09 21:37:59 -04:00
Kattni Rembor
227dc0246b Black reformatting with Python 3 target. 2020-04-09 17:04:49 -04:00
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
581dc2fb3f
Remove ANCS
It now lives here: https://github.com/adafruit/Adafruit_CircuitPython_BLE_Apple_Notification_Center
2019-12-18 13:22:59 -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
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
cd773157d1
Lint and rename SolicitServicesAdvertisement 2019-11-01 13:46:30 -07: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
bb2e2ea1f6 do not start advertising automatically; update examples; fix doc issues 2019-01-23 23:44:12 -05:00
Dan Halbert
89d68b8795 fix link in index.rst 2019-01-21 21:52:29 -05: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