I just downloaded the latest nightly build of mp for my picoW and the latest mqtt_as from github.
I amended the mqtt_local.py for my SSID, PW and Server (all in ' '), and ran the clean.py test as a quick check that all is well.
But I got the following:
Traceback (most recent call last):
File "", line 66, in
File "asyncio/core.py", line 1, in run
File "asyncio/core.py", line 1, in run_until_complete
File "asyncio/core.py", line 1, in run_until_complete
File "", line 42, in main
File "/lib/mqtt_as.py", line 627, in connect
File "/lib/mqtt_as.py", line 595, in wifi_connect
TypeError: object with buffer protocol required
Which I think is to do with numbers instead of strings. I double checked that the SSID, PW, and Server are all strings. Perhaps something wrong in the nightly build ?
I just downloaded the latest nightly build of mp for my picoW and the latest mqtt_as from github. I amended the mqtt_local.py for my SSID, PW and Server (all in ' '), and ran the clean.py test as a quick check that all is well. But I got the following: Traceback (most recent call last): File "", line 66, in
File "asyncio/core.py", line 1, in run
File "asyncio/core.py", line 1, in run_until_complete
File "asyncio/core.py", line 1, in run_until_complete
File "", line 42, in main
File "/lib/mqtt_as.py", line 627, in connect
File "/lib/mqtt_as.py", line 595, in wifi_connect
TypeError: object with buffer protocol required
Which I think is to do with numbers instead of strings. I double checked that the SSID, PW, and Server are all strings. Perhaps something wrong in the nightly build ?