Skip to content

umqttsimple - network hangs after send ping 4 times #2

@zygfrydos

Description

@zygfrydos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions