Adafruit-circuitpython-ble

Latest version: v10.0.7

Safety actively analyzes 628969 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 12

7.0.2

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).

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

Read the [docs](http://circuitpython.readthedocs.io/projects/ble/en/latest/) for info on how to use it.

7.0.1

start_scan()` did not handle the case of mixing an Advertisement class with no prefixes with classes with some prefixes. This is used in `examples/ble_detailed_scan.py`.

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).

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

Read the [docs](http://circuitpython.readthedocs.io/projects/ble/en/latest/) for info on how to use it.

7.0.0

This release includes:
* Advertisement-matching prefixes are now specified as tuples of prefixes.
You no longer need to count up the bytes and include a length byte in front of each subprefix.
* The class attribute has been renamed from prefix to match_prefixes. This is an incompatible change; but other BLE libraries have been updated to support it, so you will have to update those libraries as well.
* All the definitions of __get__(self, obj, cls) now check for obj is None, and return self in that case. This is because MicroPython/CircuitPython don't invoke descriptor protocol on obj's class, but CPython does.
* Catch when microcontroller is not present, such as when running in CPython.
Windows doesn't have os.uname(), so catch that.
* Make it easier and clearer for an Advertisement subclass to change the behavior of matches() from all to any.

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).

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

Read the [docs](http://circuitpython.readthedocs.io/projects/ble/en/latest/) for info on how to use it.

6.1.5

Thanks nnja for the PR

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).

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

Read the [docs](http://circuitpython.readthedocs.io/projects/ble/en/latest/) for info on how to use it.

6.1.4

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).

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

Read the [docs](http://circuitpython.readthedocs.io/projects/ble/en/latest/) for info on how to use it.

6.1.3

IntCharacteristic`, `FloatCharacteristic`, and `StructCharacteristic` were not checking that `initial_value` was explicitly `None`, but just that it was false. This made it not possible to give an initial value of `0`, `0.0`, or `b''`, respectively.

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).

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

Read the [docs](http://circuitpython.readthedocs.io/projects/ble/en/latest/) for info on how to use it.

Page 8 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.