I generate a code that connect to Mosquitto Broker. When a try to connect, the device raise an error:
[UnsupportedError at line 62 of main]
[raised at line 393 of mqtt.mqtt.connect]
[raised at line 454 of mqtt.mqtt._connect]
[raised at line 796 of builtins.len]
I tried using the “test.mosquitto.org” and a local Broker.
I just used the example code from Mosquitto Org and I changed the “SSID” and “PSWD” to use my network.