summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/sample.aivdm11
-rw-r--r--test/sample.aivdm.chk1
2 files changed, 12 insertions, 0 deletions
diff --git a/test/sample.aivdm b/test/sample.aivdm
index a3f72fd5..7becbaef 100644
--- a/test/sample.aivdm
+++ b/test/sample.aivdm
@@ -353,6 +353,17 @@
# First Message Type: 5
# First Slot Offset: 0
#
+# Type 16:
+# From AISHub. Only a regression test to check that the C and Python decoders
+# do the same thing, not yet checked against other decoders.
+!AIVDM,1,1,,A,@01uEO@mMk7P<P00,0*18
+# Message Type : 16
+# Repeat Indicator : 0
+# MMSI : 2053501
+# Interrogated MMSI 1 : 224251000
+# First slot offset : 200
+# First slot increment : 0
+#
# Type 18:
# From Kurt Schwehr
# I had to regenerate the CRC32 for this one myself, it was missing
diff --git a/test/sample.aivdm.chk b/test/sample.aivdm.chk
index 91a7f6b7..3def3d69 100644
--- a/test/sample.aivdm.chk
+++ b/test/sample.aivdm.chk
@@ -25,6 +25,7 @@
14,0,237008900,EP228 IX48 FG3 DK7 PL56.
14,0,311764000,TEST
15,0,368578000,5158,5,0,0,0,0,0,0
+16,0,002053501,224251000,200,0,0,0,0
18,0,338087471,0,1,0,-44443279,24410724,796,511,49,0x0,1,0,1,1,1,1,0xe0006
18,0,338088483,0,0,0,-42486718,25869335,1716,511,20,0x0,1,0,1,1,1,1,0xe0006
18,0,368161000,0,51,1,-43340309,23688555,349,511,17,0x0,1,0,1,1,0,1,0xe0006