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

feat: add support for ais message type 6, 10, 12, 13, 14 and 27 #22

Closed
wants to merge 1 commit into from

Conversation

salsabiljb
Copy link
Contributor

Added Support for Parsing AIS Messages Type 6, 10, 12, 13, 14 and 27, according to the AIVDM/AIVDO protocol decoding documentation.

Details:

I tested on different message samples, from the gpsd test file and some from Arundale AIS.

src/messages/addressed_safety_related.rs Fixed Show fixed Hide fixed
src/messages/binary_addressed.rs Fixed Show fixed Hide fixed
src/messages/binary_addressed.rs Fixed Show fixed Hide fixed
src/messages/safety_related_broadcast.rs Fixed Show fixed Hide fixed
use nom::bits::{bits, complete::take as take_bits};
use nom::combinator::map;
use nom::IResult;
use std::string::String;

Check failure

Code scanning / clippy

failed to resolve: use of undeclared crate or module std Error

failed to resolve: use of undeclared crate or module std
use nom::bits::{bits, complete::take as take_bits};
use nom::combinator::map;
use nom::IResult;
use std::vec::Vec;

Check failure

Code scanning / clippy

failed to resolve: use of undeclared crate or module std Error

failed to resolve: use of undeclared crate or module std
use crate::errors::Result;
use nom::bits::{bits, complete::take as take_bits};
use nom::IResult;
use std::string::String;

Check failure

Code scanning / clippy

failed to resolve: use of undeclared crate or module std Error

failed to resolve: use of undeclared crate or module std
src/messages/binary_addressed.rs Fixed Show fixed Hide fixed
src/messages/binary_addressed.rs Fixed Show fixed Hide fixed
src/messages/binary_addressed.rs Fixed Show fixed Hide fixed
src/messages/binary_addressed.rs Fixed Show fixed Hide fixed
@salsabiljb salsabiljb force-pushed the Ais_Message_Types branch 2 times, most recently from 963b5a7 to 722eede Compare September 9, 2024 16:57
@salsabiljb salsabiljb closed this Sep 9, 2024
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

Successfully merging this pull request may close these issues.

1 participant