Fix Hostname URL
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'sTCP_Mode
orTLS_MODE
. - Updated examples to reflect above updates
- Updated
_cellular
and_ethernet
examples 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.