micropython-lib icon indicating copy to clipboard operation
micropython-lib copied to clipboard

umqtt.simple - socket connection timeout parameter

Open martin-obert opened this issue 1 year ago • 2 comments

Is there option to setup the timeout that the socket will wait until connection is established? Similar to: socket.settimeout(value)

https://github.com/micropython/micropython-lib/blob/45ead11f965ddad664b8efe380d83155859e653b/micropython/umqtt.simple/umqtt/simple.py#L63

martin-obert avatar Apr 04 '24 11:04 martin-obert

See #890 for a patch for this.

dpgeorge avatar Oct 18 '24 00:10 dpgeorge

Thanks

martin-obert avatar Oct 19 '24 18:10 martin-obert