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

Multi-fragment sentence #3

Open
sihnatse opened this issue May 22, 2020 · 3 comments
Open

Multi-fragment sentence #3

sihnatse opened this issue May 22, 2020 · 3 comments

Comments

@sihnatse
Copy link

A problem with the following messages from Transas simulator:

!AIVDO,2,1,7,,53`t?>@2Dvop4i0P400u>3<0000000000000001JD@>D:3?00Gh00000000,0*7C
$AITXT,1,1,22,AIS: external GNSS in use*41

Might be wrong but still get parsed fine by maritec.co.za

The second one complains on CRC.

@aduvenhage
Copy link
Owner

Thank you for the feedback.
Added support for leading '$' on sentences, but AIS decoder still does not support decoding this type of string.

What are your requirements?
Also, are you using this from Python or C++?

@sihnatse
Copy link
Author

I suspect that the problem goes beyond this project. The sentences above might be non-standard, bounded to Transas simulator only. (Note that I am not mariner nor have experience with navigation equipment.) So, potentially, very limited usage. BTW - it gets parsed by SEAiq also.

Nothing special regarding requirements.

C++

@sihnatse
Copy link
Author

UPDATE: You might well discard this issue. The original problem relates to the second fragment of a multi-fragment message being missed. This is caused by Windows sockets, at least in their current implementation in UWP. Other devices parse AIS feed fine because of either running under different OS (MacOS and iOS) or having different connection. It would be still nice if you add $AITXT support, but not vital for my project - I'm satisfied with existing functionality. Thanks!

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