dgiardini / rtl-ais

A simple AIS tuner and generic dual-frequency FM demodulator
Other
267 stars 89 forks source link

Add command line option to output packet timing information #13

Closed BertoldVdb closed 5 years ago

BertoldVdb commented 5 years ago

Hello,

Timing is an important part of the AIS protocol. The current rtl_ais program loses the packet reception timestamp. This pull request adds a command line parameter (-I) to append a 48kHz counter to the NMEA message.

Sincerely, Bertold

sm3ulc commented 5 years ago

What do you use it for? Just curious.

Den lör 16 feb. 2019 03:17Bertold Van den Bergh notifications@github.com skrev:

Hello,

Timing is an important part of the AIS protocol. The current rtl_ais program loses the packet reception timestamp. This pull request adds a command line parameter (-I) to append a 48kHz counter to the NMEA message.

Sincerely, Bertold

You can view, comment on, or merge this pull request online at:

https://github.com/dgiardini/rtl-ais/pull/13 Commit Summary

  • Add command line option to output packet timing information

File Changes

Patch Links:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dgiardini/rtl-ais/pull/13, or mute the thread https://github.com/notifications/unsubscribe-auth/ARdPKdZSE-i-BvY1QlIYMb9_OjJo50nEks5vN2o5gaJpZM4a-ul4 .

BertoldVdb commented 5 years ago

Hello,

This extra field is used so the reading code can reconstruct the AIS slot map. For example to calculate the VDL load factor.

What I'm doing will be open source, for example: https://github.com/bertoldvdb/go-ais

Sincerely, Bertold

BertoldVdb-byteflies commented 5 years ago

Thank you!