Repository navigation
Replies: 1 comment 1 reply
|
I would check the length of the message vs message type (1..28). Some serial devices seem to drop a few bits now and then. Then the next step is logical checks, e.g. realistic speed etc. Not sure I would go there for a forwarder. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm writing an AIS forwarding program (reinventing a wheel) and I am wondering what is the best practice in cleaning data without losing anything useful. Steps I have done so far are dropping:
less than 21 bytes
checksum missing
checksum invalid
not 7 comma separated words (testing for 6 commas)
if it's a part 1 message, the AIS payload must be at least 7 characters.
All reactions