I’m currently working on a server coded in java that receives NMEA frames from peplinks and stocks on a MariaDb database on rapsberry. I use the gps forwarding function of the peplinks. I use tcp to ensure that I receive my frames. Everything works, the problem is that sometimes the sentences in the frames are out of order, I thought tcp guaranteed the correct transmission.
Example, Frame 1 (good frame):
Example, Frame 2 (bad frame):
I put screenshot in an attached file, for a better understanding of my problem.
What do you think?