Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages with missing sequential ID number or grater than 9 #49

Closed
lalmiAhmed opened this issue Feb 8, 2022 · 2 comments
Closed

messages with missing sequential ID number or grater than 9 #49

lalmiAhmed opened this issue Feb 8, 2022 · 2 comments

Comments

@lalmiAhmed
Copy link

I used this library to decode coming NMAE data from an AIS receiver, I don't really have that deep understanding of the working principle on NMEA messages but from what I found that the fourth number after the comma which is the sequential ID should be from 1 to 9
However on my case I faced two uncommon types where sometimes the sequential ID is 10, or just empty which will leads to "not supported type of messages" error.
As quick fix, on my code I added a condition to set the sequential ID to any number less than 9 in these cases, just to avoid the rising errors...because I notice that changing the "sequential ID" doesn't have any effect on the other message values (mmsi, type ...)
It seems not the correct way of solving this but it's a temporary solution...
I hope you consider my report, and If go wrong on any part please don't hesitate to contact me.

@M0r13n
Copy link
Owner

M0r13n commented Feb 8, 2022

@lalmiAhmed You are right. This is something that is going to be fixed in v2. I am currently preparing a release of version 2. A lot of things will be fixed them. See also: #46

@M0r13n
Copy link
Owner

M0r13n commented Mar 13, 2022

Closed with #46

@M0r13n M0r13n closed this as completed Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants