In blocking mode, "client->write.pos" is not reset when the "MqttSocket_WriteDo" result is less than 0. which in turn causes the wrong offset data to be sent when trying to reconnect, further errors until "client->write.pos >= buf_len"
Or should I have to clear client all on reconnect?
mqtt_socket.c MqttSocket_Write
In blocking mode, "client->write.pos" is not reset when the "MqttSocket_WriteDo" result is less than 0. which in turn causes the wrong offset data to be sent when trying to reconnect, further errors until "client->write.pos >= buf_len"
Or should I have to clear client all on reconnect?