-
Notifications
You must be signed in to change notification settings - Fork 1k
It's "offline" after 10+ seconds, use umqtt.simple #824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You are using Also, please don't paste code as screenshot, but use backticks. |
HI , thx for your help, I change the screen shot code to snippets code. In your help, you mean I need to code for the ping by myself? Doesn't MQTT automatically send pings? |
Yes, that's exactly what I mean. The micropython mqtt-client will not send ping packets automatically. The |
thank you, It's awesome. |
I try umqtt.simple to connect my raspberry with MQTT. But I found it's offline after 10+ seconds, and then I receive the error code in webrepl. Has anyone had the same problem?
The main snippets is:
The text was updated successfully, but these errors were encountered: