I get the TCP Send Error message every now and then and according to the Wireshark capture, I can see that some packets are lost and the retransmitted by the chip correctly, but in some cases (probably a buffer issue?) it gives me this TCP Send Error message. I am using 921600@8N1 with hardware flow control (RTS and CTS are connected).
I am trying to diagnose/recover from this error as it only happens on a congested network. Is there a way to recover without disconnecting and attempting a connection again? Right now, the chip seems to send the RST signal a second or two after this happens which of course terminates the stream.