Working MQTT and AtomS3 sample
-
Hi,
I took me a while to get MQTT subscribe working, i'm always surprised how sparse M5's documentation is. This company would do so much better with more samples and better documentation. The hardware and price is great but it lacks a certain degree of details.
Anyway, hereby a working sample with a EMQX MQTT broker which we setup on our own server with elast.io.
We tested the sample and it works. The trick for Subscribe was using MQTT apply for messaging in the Loop. Without that it wont't work.
See the blog
Next problem is getting some code to be able to change WIFI credentials on the fly without needing to burn an image again. What happened to WIFI Smart Config?
-
R robski referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login