You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The (MTK) CRC check doesn't report "invalid" if the input string contains the "<" character, even though it actually isn't valid.
if (sentence.includes('<')) {
valid = false
}
I see some VDM messages that contain this but parse fine if I remove the check, For example: !AIVDM,1,1,,A,352JPU@000JRU4<FCLvaEWOp0000,0*1B
The text was updated successfully, but these errors were encountered:
Ok, it should not apply to ais sentences. The problem is that that character does not count in the checksum, so it was a way to ignore some corrupted sentences in the test files.
The check in parse.js:
I see some VDM messages that contain this but parse fine if I remove the check, For example:
!AIVDM,1,1,,A,352JPU@000JRU4<FCLvaEWOp0000,0*1B
The text was updated successfully, but these errors were encountered: