Closed ionciubotaru closed 7 years ago
Remove pub.payload_stream()->stop(); Do NOT stop the client connection because the (WiFi) Client hold in class Publish is NOT ref counted. It is only a pointer. Closing it will count ref to 0 and close the TCP connection.
I tried OTA using test.mosquitto.org The update works fine except:
Client doesn't publish anything, so ESP update again and again I tried:
but it doesn't work - nothing is published on mqtt server.