This project has moved and is read-only. For the latest updates, please go here.
1
Vote

Problem decoding AIS messages

description

I have problem decoding the ais messages that have checksum with strings

The error is in AISparser.ParseSentence() in line

int fillbits = int.Parse(data[6]);

data[6] is usualy "0*7E" and i get an error.

do we need the checksum for decoding the sentence?
Please advice

comments

gcapnias wrote Jan 30, 2016 at 9:27 AM

Hi,

Could you either post here, or send me the sentence that produces this error? The AIS decoder line that cannot be parsed.

Regards,
George J.

sapounas wrote Feb 11, 2016 at 9:32 PM

Thank you for your promt reply,

I am sorry but i was using the aisparser, where i should use the parser itself.
Many thanks

Andreas