Skip to content

Releases: adafruit/Adafruit_CircuitPython_MiniMQTT

Publish large payloads

03 Jul 14:16
eb07565
Compare
Choose a tag to compare

This release:

  • #42 Allows publishing for payloads larger than 127 bytes to a MQTT broker.
  • Adds a more verbose error for publishing with a QoS of 2 (unsupported by this client library).

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.

Update examples

22 Jun 15:06
6ed8b95
Compare
Choose a tag to compare

This release:

  • #41 Fixes library file inclusion path in code examples.

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.

Topic-specific callback methods

08 Jun 19:07
4f01403
Compare
Choose a tag to compare

This release adds:

  • add_topic_callback method: Registers a callback_method for a specific MQTT topic.
  • remove_topic_callback method: Removes a registered callback method

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.

BREAKING CHANGE: Updated Last Will and Testament

04 Jun 20:01
c546f2e
Compare
Choose a tag to compare

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.

Updated Cellular Examples

02 Jun 14:28
936a1b5
Compare
Choose a tag to compare

This release adds:

  • #34 Updated cellular examples for FONA library

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.

Fix Hostname URL

19 May 21:30
69707af
Compare
Choose a tag to compare

This release:

  • Patches broker hostname issue (#25) requiring broker URL starting with HTTP/HTTPS. Drops dependency for URL prefix.
  • Removed try/except block which improperly handles IP address strings
  • Removed module's TCP_Mode/TLS_Mode constants in favor of using the interface's TCP_Mode or TLS_MODE.
  • Updated examples to reflect above updates
  • Updated _cellular and _ethernet examples to use MQTT, unencrypted (port 1883) broker ports.

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.

Add Cellular Usage Examples

07 May 13:43
2c47fc6
Compare
Choose a tag to compare

This release:

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.

Fix reconnect and infinite loop

21 Apr 14:28
2c7f3c3
Compare
Choose a tag to compare

This release:

  • #26 Fixes a bug where the broker string is modified, not allowing reconnect to work. Thanks @jimbobbennett
  • #28 Fixes a bug where reconnect is stuck in an infinite loop. Thanks @jimbobbennett

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.

2.1.2 - Added Black check, reran Black with Python 3 target.

10 Apr 18:13
bd24155
Compare
Choose a tag to compare

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.

Fix AIO WiFi Example

18 Mar 20:35
dd1e3f2
Compare
Choose a tag to compare

This release:

  • Removes debug=True parameter in AIO WiFi example.

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.