Skip to content

Releases: adafruit/Adafruit_CircuitPython_BLE

6.1.0 - Upgrade to latest Pylint, implement Black formatting

18 Mar 00:21
2052ff6
Compare
Choose a tag to compare

We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.

  • Remove pinned Pylint version number from build.yml file
  • Synced .pylintrc file to match Adafruit standard
  • Ran upgraded Pylint and applied any changes or new disables necessary
  • Ran Black formatter and allowed application of changes across entire repo

For more information on using Pylint and Black on your code, check out this guide on working with Pylint and Black

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-ble.

Read the docs for info on how to use it.

AdafruitRadio no longer in this library

04 Mar 20:03
6639ca6
Compare
Choose a tag to compare

The AdafruitRadio advertisement class was moved to https://github.com/adafruit/Adafruit_CircuitPython_Radio. One bug was also fixed. Because the API changed incompatibly, this is a new major version.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-ble.

Read the docs for info on how to use it.

Very basic Linux scanning support

19 Feb 20:28
0658d8d
Compare
Choose a tag to compare

Add the adafruit-blinka-bleio dependency for basic Linux BLE scanning support.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-ble.

Read the docs for info on how to use it.

Tweak setup.py

14 Feb 19:46
2682f51
Compare
Choose a tag to compare

Tweak setup.py so adafruit_ble has members on Raspberry Pi.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-ble.

Read the docs for info on how to use it.

Add service data support in advertisements

14 Feb 18:41
4ab856d
Compare
Choose a tag to compare

Add service data support in advertisements.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-ble.

Read the docs for info on how to use it.

update DevInfoService

27 Jan 23:32
7adbb88
Compare
Choose a tag to compare
  • Update DeviceInfoService to use latest internal API. Allow it to query a remote service.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-ble.

Read the docs for info on how to use it.

Fixup packaging and remove mocks for testing

22 Jan 00:09
eacb152
Compare
Choose a tag to compare

Fix packaging so that it finds sub-packages and remove use of mocks for testing. We rely on Blinka's _bleio stubs now.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-ble.

Read the docs for info on how to use it.

Fix examples/ble_bluefruit_connect_plotter.py

21 Jan 18:45
4621e97
Compare
Choose a tag to compare

Prevent plotter example from swamping Mu with input. Fixes #57. Thanks @dglaude!

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-ble.

Read the docs for info on how to use it.

Supply default HID descriptor for HIDService; Fix advertising flags

21 Jan 16:53
bad77d0
Compare
Choose a tag to compare
  • Supply default HID descriptor for HIDService.
  • Fix lazy advertising field instantiation; this fixes problems with advertising flags.
  • Fix doc formatting.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-ble.

Read the docs for info on how to use it.

Fixed PyPi packaging error

16 Jan 19:38
b681256
Compare
Choose a tag to compare

This release includes:

  • A fix to the way this library was packaged in PyPi. While this library is only supported for CircuitPython use, our CI wasn't able to import this as a dependency for another library.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-ble.

Read the docs for info on how to use it.