Adafruit-circuitpython-ble

Latest version: v10.0.10

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

Scan your dependencies

Page 8 of 13

7.2.0

+ add `timeout` to `BLERadio.start_advertising`
+ add `BLERadio.advertising` property
+ add `ReportOut.report` property to get keyboard leds info

Thanks xiongyihui (98)!

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.1.0

Use an OrderedDict to preserve the ordering of ManufacturerDataField objects in ManufacturerData. They will appear in the order they are set.

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.3

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.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.

Page 8 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.