-
Notifications
You must be signed in to change notification settings - Fork 97
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
Parse error falls back to Invalid #1312
Commits on Mar 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fa75ba1 - Browse repository at this point
Copy the full SHA fa75ba1View commit details
Commits on Apr 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c17a922 - Browse repository at this point
Copy the full SHA c17a922View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2213ce - Browse repository at this point
Copy the full SHA c2213ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 092d4bc - Browse repository at this point
Copy the full SHA 092d4bcView commit details
Commits on Apr 21, 2023
-
Merge remote-tracking branch 'origin/master' into adrian/unknown-fall…
…back
Jason Mobarak committedApr 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 7613b89 - Browse repository at this point
Copy the full SHA 7613b89View commit details -
Jason Mobarak committed
Apr 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 5fe6616 - Browse repository at this point
Copy the full SHA 5fe6616View commit details
Commits on Jun 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 893a6a6 - Browse repository at this point
Copy the full SHA 893a6a6View commit details
Commits on Jun 15, 2023
-
The minimum set of changes to get the parse unknown falllback tests to pass, but I'm not 100% sure it solves the desired problem
Configuration menu - View commit details
-
Copy full SHA for 465a6a9 - Browse repository at this point
Copy the full SHA 465a6a9View commit details
Commits on Jun 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2bc3417 - Browse repository at this point
Copy the full SHA 2bc3417View commit details -
Merge branch 'adrian/unknown-fallback' of github.com:swift-nav/libsbp…
… into adrian/unknown-fallback
Configuration menu - View commit details
-
Copy full SHA for d4b9784 - Browse repository at this point
Copy the full SHA d4b9784View commit details
Commits on Jun 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5611749 - Browse repository at this point
Copy the full SHA 5611749View commit details -
Configuration menu - View commit details
-
Copy full SHA for b05b267 - Browse repository at this point
Copy the full SHA b05b267View commit details -
Configuration menu - View commit details
-
Copy full SHA for 443b1a6 - Browse repository at this point
Copy the full SHA 443b1a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 383870c - Browse repository at this point
Copy the full SHA 383870cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0402244 - Browse repository at this point
Copy the full SHA 0402244View commit details
Commits on Jun 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d2ee464 - Browse repository at this point
Copy the full SHA d2ee464View commit details -
Configuration menu - View commit details
-
Copy full SHA for 699036f - Browse repository at this point
Copy the full SHA 699036fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef792bc - Browse repository at this point
Copy the full SHA ef792bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 688c17d - Browse repository at this point
Copy the full SHA 688c17dView commit details
Commits on Jun 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 602811f - Browse repository at this point
Copy the full SHA 602811fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a81484 - Browse repository at this point
Copy the full SHA 0a81484View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1e4cc9 - Browse repository at this point
Copy the full SHA c1e4cc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e89b957 - Browse repository at this point
Copy the full SHA e89b957View commit details
Commits on Jun 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b1e04b4 - Browse repository at this point
Copy the full SHA b1e04b4View commit details
Commits on Jul 5, 2023
-
Update rust/sbp/src/messages/invalid.rs
Co-authored-by: Jason Mobarak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1250509 - Browse repository at this point
Copy the full SHA 1250509View commit details -
Update rust/sbp/src/messages/invalid.rs
Co-authored-by: Jason Mobarak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa8a272 - Browse repository at this point
Copy the full SHA fa8a272View commit details -
Update rust/sbp2json/src/bin/json2json.rs
Co-authored-by: Jason Mobarak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b73f6e - Browse repository at this point
Copy the full SHA 3b73f6eView commit details -
Update rust/sbp2json/src/bin/sbp2json.rs
Co-authored-by: Jason Mobarak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 509ebbf - Browse repository at this point
Copy the full SHA 509ebbfView commit details -
Update rust/sbp2json/src/bin/json2sbp.rs
Co-authored-by: Jason Mobarak <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09cc839 - Browse repository at this point
Copy the full SHA 09cc839View commit details -
Configuration menu - View commit details
-
Copy full SHA for d051faf - Browse repository at this point
Copy the full SHA d051fafView commit details -
Merge branch 'adrian/unknown-fallback' of github.com:swift-nav/libsbp…
… into adrian/unknown-fallback
Configuration menu - View commit details
-
Copy full SHA for 58e9098 - Browse repository at this point
Copy the full SHA 58e9098View commit details
Commits on Jul 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bfbde5f - Browse repository at this point
Copy the full SHA bfbde5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7d3da5 - Browse repository at this point
Copy the full SHA c7d3da5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5125b5 - Browse repository at this point
Copy the full SHA e5125b5View commit details
Commits on Jul 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e50072e - Browse repository at this point
Copy the full SHA e50072eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c8a412 - Browse repository at this point
Copy the full SHA 9c8a412View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96ea494 - Browse repository at this point
Copy the full SHA 96ea494View commit details -
Configuration menu - View commit details
-
Copy full SHA for c979177 - Browse repository at this point
Copy the full SHA c979177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5698712 - Browse repository at this point
Copy the full SHA 5698712View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a8bac0 - Browse repository at this point
Copy the full SHA 9a8bac0View commit details
Commits on Jul 13, 2023
-
add unit tests for recovering from parsing errors of sbp (#1347)
This PR adds a unit test showing that parsing errors fallsback to an invalid message. Seeing this unit test makes it clear why some of the questions @silverjam was having about invoking this on certain inputs causes it to pass and others cause it to fail. Additionally the round-tripping on arbitrary bytes is not possible yet because both the iter_frame & iter_messages will only return a message if there is something that starts with the prelude byte, and it returns the bytes that exist between that prelude and HEADER_LEN, whatever the length of the payload is on byte 5 + the CRC_LEN. This means that if there are extra bytes sent in the stream for aliasing for instance, the framer ignores those bytes, and they are never even tried to be parsed. @silverjam gave two examples that do not throw an error as the unknown fallback is currently implemented. One of those has been added as a unit test here. But the main takeaway is the invalid-fallback as currently written only works on messages that are properly framed but perhaps wrongly labeled or with a CRC error.
Configuration menu - View commit details
-
Copy full SHA for c000e0a - Browse repository at this point
Copy the full SHA c000e0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f6aebf - Browse repository at this point
Copy the full SHA 8f6aebfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d97927 - Browse repository at this point
Copy the full SHA 0d97927View commit details