Skip to content

BREAKING CHANGE: Updated Last Will and Testament

Compare
Choose a tag to compare
@brentru brentru released this 04 Jun 20:01
c546f2e

This release adds:

  • BREAKING: last_will method renamed to will_set to mirror Paho-MQTT.
    • message kwarg changed to payload
  • LWT properties set in init instead of directly calling will_set
  • #36 Updates to the will_set method to correctly set payload data as bytes.

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

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

Read the docs for info on how to use it.