Scott Shawcroft
115237b6ec
Merge pull request #31 from dhalbert/char-fixes-and-float
...
Fix a couple of Characteristic bugs and add FloatCharacteristic
2019-11-10 10:09:24 -08:00
Dan Halbert
abcfb21bae
Fix a couple of Characteristic bugs and add FloatCharacteristic
2019-11-08 21:23:43 -05:00
Dan Halbert
2d5ef9790e
Merge pull request #30 from tannewt/api_rework
...
Rework the API to use descriptors.
2019-11-04 22:31:38 -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
Dan Halbert
8e0d39bfdb
Get RGB central and periph demo working
2019-10-30 14:07:16 -04: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
Kattni
d4fda3ef1d
Merge pull request #29 from adafruit/dherrada-patch-1
...
Removed building locally section from README, replaced with documenta…
2019-10-21 19:57:36 -04:00
dherrada
44a28c6d6e
Removed building locally section from README, replaced with documentation section
2019-10-17 18:16:32 -04:00
Limor "Ladyada" Fried
5b4b7414a9
Merge pull request #25 from kattni/plotter-code
...
Adding plotter code.
2019-09-26 16:19:28 -04:00
Kattni Rembor
b41ce50240
Adding plotter code.
2019-09-26 15:40:37 -04:00
Kattni
471db7bdbf
Merge pull request #23 from kattni/update-color-picker
...
Consolidating examples.
2019-09-25 15:51:27 -04:00
Kattni Rembor
8c3477a8ac
Consolidating examples.
2019-09-25 15:48:31 -04:00
Kattni
1826b961a9
Merge pull request #22 from kattni/update-color-picker
...
Adding CircuitPython color picker example code
2019-09-25 15:40:38 -04:00
Kattni Rembor
6ea3de487c
Adding CircuitPython color picker example code
2019-09-25 15:37:02 -04:00
Scott Shawcroft
e34c9a6ee8
Merge pull request #21 from kattni/cpb-color-picker
...
Adding CPB color picker example.
2019-09-25 11:09:14 -07:00
Kattni Rembor
fbd68de32e
Adding CPB color picker example.
2019-09-25 13:58:36 -04:00
jerryneedell
33d75f4ca8
Merge pull request #18 from dhalbert/bleio-api-revamp
...
Bleio attribute api revamp
2019-08-30 14:59:41 -04:00
Dan Halbert
67b9341fef
explicate Appearance; forgot to add address.py
2019-08-29 22:50:31 -04:00
Dan Halbert
42e871d259
rename bleio to _bleio
2019-08-29 18:44:46 -04:00
Dan Halbert
a6435914c6
another API rework: less abstraction leakage
2019-08-28 23:14:39 -04:00
Dan Halbert
ff05feb459
Update to use new bleio API
2019-08-28 16:07:56 -04:00
Dan Halbert
89e8cdb358
restore unimplemented boot keyboard and mouse
2019-08-28 11:05:11 -04:00
Dan Halbert
0445d12257
Initial BLE HID; works everywhere but iOS
2019-08-25 21:34:54 -04:00
Dan Halbert
eb5ae6828d
Merge pull request #17 from dhalbert/demo-central
...
ble_demo_central.py: recover better from disconnect; use other analog inputs
2019-08-22 09:38:59 -04:00
Dan Halbert
afae4dbd5b
ble_demo_central.py: recover better from disconnect; use other analog inputs
2019-08-22 09:02:41 -04:00
Scott Shawcroft
8bb22321d9
Merge pull request #16 from dhalbert/pairing
...
Pairing
2019-08-16 15:26:12 -07:00
Dan Halbert
ab44563dae
Hide discovery and pairing in CurrentTimeClient
2019-08-16 18:18:01 -04:00
Dan Halbert
6b1dd31260
discover_remote_services() now returns the services; no property needed
2019-08-16 15:20:14 -04:00
Dan Halbert
e4d6fe97c6
lint; first cut at HID; not working yet
2019-08-07 23:48:02 -04:00
Dan Halbert
5e5c88b209
match updated API for Characteristic properties, etc.
2019-08-07 11:13:53 -04:00
Dan Halbert
4441123aad
fix minor bugs and doc typos
2019-07-31 00:11:11 -04:00
Dan Halbert
9541ab2b59
working pairing non-bonding Current Time Service client
2019-07-30 14:24:17 -04:00
Dan Halbert
183cab6a53
refactor advertising.py for peripheral service solicitation; skeletal CTS (no pairing yet)
2019-07-27 23:01:03 -04:00
Dan Halbert
49e04284db
discovery now done explicitly
2019-07-27 14:47:58 -04:00
Scott Shawcroft
f38c77c477
Merge pull request #15 from dhalbert/python-advertisement-data
...
Python advertisement data
2019-07-19 10:26:49 -07:00
Dan Halbert
960688c13d
fix example again
2019-07-18 21:53:39 -04:00
Dan Halbert
ed4c65e6a0
fix example
2019-07-18 21:52:46 -04:00
Dan Halbert
24b427e4bb
Move advertisement field lookup to AdvertisingPacket. Rename various methods for clarity
2019-07-18 21:08:20 -04:00
Dan Halbert
c028f0a8d0
pylint
2019-07-16 21:00:39 -04:00
Dan Halbert
456c553205
UARTClient: service_uuids -> service_uuids_whitelist
2019-07-16 20:03:21 -04:00
Dan Halbert
cf11c77dfa
missing import
2019-07-15 07:41:41 -04:00
Dan Halbert
cd2b7ddbf8
Add and update examples
2019-07-11 19:43:36 -04:00
Dan Halbert
579c116f04
pre-PR linting
2019-07-11 12:11:08 -04:00
Dan Halbert
6f5fcc501b
add UART_Client.scan() convenience method
2019-07-10 13:37:35 -04:00
Dan Halbert
672f51c40b
UARTClient now works both directions
2019-07-09 00:22:19 -04:00
Dan Halbert
cee6816229
Re-refactor UART classes.
2019-07-07 00:08:33 -04:00
Dan Halbert
ad84cc4cdd
Add UARTClient; refactor common code
2019-07-02 22:33:58 -04:00
Dan Halbert
121a070905
scanner work
2019-06-22 22:09:55 -04:00
Dan Halbert
4710b1f3ce
Scanner fixes
2019-06-17 23:17:31 -04:00