documented backward-compatible change to parsing of NMEA sentence

This commit is contained in:
Fredrik Teschke committed 2014-04-29 13:35:16 +02:00
1 parent 6f557fc6cf
commit e2a25847b0
1 file changed
+3 -1
@@ -38,7 +38,9 @@ public final class SentenceValidator {
* <ul>
* <li>Starts with '$' character
* <li>'$' is followed by 5 upper-case chars and a comma (sentence type id)
* <li>Length is max. 80 chars long (excluding &lt;CR&gt;&lt;LF&gt;)
* <li>Length is max. 205 chars long (excluding &lt;CR&gt;&lt;LF&gt;). This is a deviation from the NMEA spec,
* which allows only for 80 characters, which is not sufficient for long decimal values. Allowing for
* more characters is backward-compatible.
* <li>String contains only printable ASCII characters
* <li>Checksum is correct and separated by '*' char (unless omitted)
* </ul>