Releases: adafruit/Adafruit_CircuitPython_MiniMQTT
Updated API documentation
This release:
- #44 Fixes API documentation rendering, code example in documentation.
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.
3.2.1 - Fixed discord invite link
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.
Publish large payloads
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
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
This release adds:
add_topic_callbackmethod: Registers a callback_method for a specific MQTT topic.remove_topic_callbackmethod: 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
This release adds:
- BREAKING:
last_willmethod renamed towill_setto mirror Paho-MQTT.messagekwarg changed topayload
- LWT properties set in init instead of directly calling
will_set - #36 Updates to the
will_setmethod 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
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
This release:
- Patches broker hostname issue (#25) requiring broker URL starting with HTTP/HTTPS. Drops dependency for URL prefix.
- Removed
try/exceptblock which improperly handles IP address strings - Removed module's
TCP_Mode/TLS_Modeconstants in favor of using the interface'sTCP_ModeorTLS_MODE. - Updated examples to reflect above updates
- Updated
_cellularand_ethernetexamples to use MQTT, unencrypted (port1883) 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
This release:
- #32 Adds examples for using this library with the Adafruit 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 reconnect and infinite loop
This release:
- #26 Fixes a bug where the broker string is modified, not allowing
reconnectto work. Thanks @jimbobbennett - #28 Fixes a bug where
reconnectis 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.