Releases: adafruit/Adafruit_CircuitPython_BLE
update DevInfoService
- 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
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
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
- 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
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.
BREAKING CHANGES -- Moved ANCS to its own repository
Main Changes:
- ANCS (Apple Notification Center Service) now has its own repository, Adafruit_CircuitPython_BLE_Apple_Notification_Center
- Magic Light also has its own repository, Adafruit_CircuitPython_BLE_Magic_Light
- Apple Media Service (previously unimplemented) was also moved to its own repository, Adafruit_CircuitPython_BLE_Apple_Media
Other changes:
- Repository was migrated from Travis to GitHub Actions
- Bug fixes
Fix ANCS example
Changes in how advertising was done in CircuitPython caused this to fail. This fixes the problem.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Fixes an issue where a category out of bounds caused a crash
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Apple Notification Service; Magic Light; advertise name
For use with CircuitPython 5.0.0-beta.0 or later.
- Add Apple Notification Service support and example.
- Fix iOS HID.
- Add Magic Light LED lightbulb support and example.
Add BLERadio.name
andBLERadio.tx_power
properties.- Include
BLERadio.name
in advertisement scan response
This release is not compatible with CircuitPython 4.1.0. For 4.1.0, use release 1.0.2 of this library. Due to current limitations in our library bundle packaging, the 4.x library bundle will contain this release, not the 1.0.2 release.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
For CircuitPython 5.0.0-beta.0 and later
This release is an extensive rewrite. It is compatible with CircuitPython 5.0.0-beta.0 and later. It is being released as a regular release, not as a pre-release.
This release is not compatible with CircuitPython 4.1.0. For 4.1.0, use release 1.0.2 of this library. Due to current limitations in our library bundle packaging, the 4.x library bundle will contain this release, not the 1.0.2 release.
- Match
_bleio
changes in CircuitPython 5.0.0-beta.0. - Define BLE services declaratively, so that they may be used either on the client or server side of the connection.
- Rework advertising packet construction.
- Update examples for new API, and add some new examples.
- Do a CircuitPython version check to ensure compatibility.