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

Incomplete GSV sentence can be parsed #128

Open
FeirZhang opened this issue Apr 17, 2021 · 1 comment
Open

Incomplete GSV sentence can be parsed #128

FeirZhang opened this issue Apr 17, 2021 · 1 comment

Comments

@FeirZhang
Copy link

Incomplete GSV sentence, e.g. $GLGSV,1,1,04,87,45,004,39,72,43,088,39,65,32,147,41,78,31,299,40,8 can be parsed,
it should throw 'ParseError' during parsing like $GLGSV,1,1,04,87,45,004,39,72,43,088,39,65,32,147,41,78,31,299,40,8*

@barbacbd
Copy link
Contributor

When calling parse you can provide a second parameter set to True. It defaults to False. When true the software will skip the checksum checks. Really this should be the default so that false positives are not provided

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