Hello,
I am using the GPS_NMEA event to collect raw NMEA strings ($GPRMC), and I have to append the string ",AUTO" at the end of it before sending it over a socket connection.
Code (network code no shown):
Sub GPS_NMEA (TimeStamp As Long, Sentence As String)
If Sentence.Contains("$GPRMC") Then
sb1.Initialize
sb1.Append(Sentence).Append(",").Append("AUTO")
tw.Write(sb1)
tw.Flush
End If
End Sub
When sending the sb1 string to a label, the order is correct, "AUTO" is at the end.
But when sending to a TCP socket, the "AUTO" comes first.
I´ve never seen this behaviour...
Any ideas?
Regards,
I am using the GPS_NMEA event to collect raw NMEA strings ($GPRMC), and I have to append the string ",AUTO" at the end of it before sending it over a socket connection.
Code (network code no shown):
Sub GPS_NMEA (TimeStamp As Long, Sentence As String)
If Sentence.Contains("$GPRMC") Then
sb1.Initialize
sb1.Append(Sentence).Append(",").Append("AUTO")
tw.Write(sb1)
tw.Flush
End If
End Sub
When sending the sb1 string to a label, the order is correct, "AUTO" is at the end.
But when sending to a TCP socket, the "AUTO" comes first.
I´ve never seen this behaviour...
Any ideas?
Regards,