Skip to content
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

umqttsimple - network hangs after send ping 4 times #2

Open
zygfrydos opened this issue Oct 11, 2020 · 0 comments
Open

umqttsimple - network hangs after send ping 4 times #2

zygfrydos opened this issue Oct 11, 2020 · 0 comments

Comments

@zygfrydos
Copy link

code:
client = umqttsimple.MQTTClient(ubinascii.hexlify(machine.unique_id()), '192.168.2.254',keepalive=100, **{'user':'a','password':'ni'})
client.set_last_will('a/availability','offline',retain=True)
client.connect()
client.publish('a/availability','online',retain=True)
while True:
client.ping();print('ping');time.sleep(1)
ping
ping
ping
ping
Disconnected

when I try ping my esp from other computer I see that esp desapear

I work on esp8266-20200911-v1.13.bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant