Skip to content

8.0.0 - Remove Advertisement.from_entry

Compare
Choose a tag to compare
@tannewt tannewt released this 01 Apr 18:28
2f79150

Advertisement.__init__ now takes an entry= kwarg instead. Subclasses will need to be updated to pass it through. It allows subclasses to know in __init__ whether it is being created from a ScanEntry and not initialize other stuff.

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.