squidpickles / ais

An AIS parser written in Rust
Apache License 2.0
15 stars 9 forks source link

Add Support for Parsing AIS Messages with Tag Block #13

Closed jkr78 closed 1 year ago

jkr78 commented 1 year ago
jkr78 commented 1 year ago

The command nc 153.44.253.27 5631 | cargo run can be used to test AIS messages from AIS Norway

squidpickles commented 1 year ago

Hi @jkr78, thanks for the PR, and sorry it took me so long to have a look.

Seems like this would help make messages readable without preprocessing, which is helpful. Ultimately, I'd love to actually parse the tag, too. Looks easy enough.

But this is a good start for the moment, and the backwards compatibility is a plus.

There's an issue #15 for tag parsing, for the future.