Replies: 1 comment 1 reply
-
You can try umqtt.robust or paho.mqtt instead. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks to the great work by Matty Trentini and others, there is a micropython port for the Realtek Ameba series of chips. I have been playing around with the AI Thinker BW16 dev board with the RTL8720DN on board, and am having some issues with trying to get a basic MQTT pub/sub client going.
I have uploaded the umqtt.simple code to my device, but I have run into the following issues:
I can reproduce this error in a standalone program simply as follows:
I'm not sure whether this is related to the non-standard socket interface in the port, or whether there is a further issue in the uselect module compiled into the ameba port.
The github source I'm referring to is the ameba branch of the repo at https://github.com/ambiot/micropython (which somewhat concerningly is 1586 commits behind micrpython:master)
This issue happens whether I am running the "release" version (V1.1.0 in the repo) of the micropython firmware, or a build from github updated today.
Beta Was this translation helpful? Give feedback.
All reactions