Closed BertoldVdb closed 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
- M aisdecoder/aisdecoder.c https://github.com/dgiardini/rtl-ais/pull/13/files#diff-0 (4)
- M aisdecoder/aisdecoder.h https://github.com/dgiardini/rtl-ais/pull/13/files#diff-1 (2)
- M aisdecoder/lib/protodec.c https://github.com/dgiardini/rtl-ais/pull/13/files#diff-2 (12)
- M aisdecoder/lib/protodec.h https://github.com/dgiardini/rtl-ais/pull/13/files#diff-3 (11)
- M aisdecoder/lib/receiver.c https://github.com/dgiardini/rtl-ais/pull/13/files#diff-4 (8)
- M aisdecoder/lib/receiver.h https://github.com/dgiardini/rtl-ais/pull/13/files#diff-5 (3)
- M aisdecoder/sounddecoder.c https://github.com/dgiardini/rtl-ais/pull/13/files#diff-6 (6)
- M aisdecoder/sounddecoder.h https://github.com/dgiardini/rtl-ais/pull/13/files#diff-7 (2)
- M main.c https://github.com/dgiardini/rtl-ais/pull/13/files#diff-8 (6)
- M rtl_ais.c https://github.com/dgiardini/rtl-ais/pull/13/files#diff-9 (4)
- M rtl_ais.h https://github.com/dgiardini/rtl-ais/pull/13/files#diff-10 (2)
Patch Links:
- https://github.com/dgiardini/rtl-ais/pull/13.patch
- https://github.com/dgiardini/rtl-ais/pull/13.diff
— 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 .
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
Thank you!
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