5.0.0 - BREAKING - ESP32S2 (Native Networking) and CPython
- Adds compatibility and examples for ESP32-S2 and "Native Networking"
- Adds compatibility and examples for usage with CPython
- NOTE: CPython SSL Sockets are not currently supported. They will be supported in a subsequent release. SSL sockets have different behavior from regular CPython sockets (https://docs.python.org/3/library/ssl.html#notes-on-non-blocking-sockets)
- Provides backwards-compatible "legacy" support for ESP32SPI, Ethernet socket interface.
- Removes dependency for Adafruit_CircuitPython_Logging to be installed, a logger may be passed into a MQTT object.
- Adds a
username_pw_set
method to dynamically set username and password outside of client initialization. - Reorganizes examples into folders, categorized by network interface
connect()
may now accept a keepalive timeloop()
may now accept atimeout
in seconds.
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.