barnaclebill - Just spent 2 hours inserting Ser...

Just spent 2 hours inserting Serial.print() in the Timo NMEA0183 library only to eventually figure out that the UM982 RTK GPS module sends sentences longer than the maximum 82 chars. 🤯 $GNRMC,025027.00,A,4740.26087198,N,12219.44828912,W,0.002,171.0,040425,14.4,E,A,C*6A (length: 84) This is probably going to be a fact of life for GPS at this level of precision (not that I really need to know where my boat is to a few millimeters, but I'm getting accurate heading info now, not just COG). Can SK handle non-compliant sentences like this? I haven't plugged the module into the boat SK RPI yet.
1 Reply
Teppo Kurki
Teppo Kurki•3w ago
0183 parsing does not care about the field lenghts I’ll rephrase that: there is a limit to line length, but more for practical reasons, like bailing out if the input stream has no line endings. Can’t remember off the top of my head, but not set from 0183 specs

Did you find this page helpful?