summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/sample.aivdm12
-rw-r--r--test/sample.aivdm.chk2
2 files changed, 14 insertions, 0 deletions
diff --git a/test/sample.aivdm b/test/sample.aivdm
index e457303c..dd9c43cd 100644
--- a/test/sample.aivdm
+++ b/test/sample.aivdm
@@ -624,3 +624,15 @@ DGNSS data : 376:7c0556c07031febbf52924fe33fa2933ffa0fd2932fdb7062
# dimD: 1
# mothership: 16789633
# spare: 0
+#
+# Invalid packet test
+AIVDM,2,2,1,B,00000000000,2*26
+# That fragment misses part 1, yields nothing
+#
+#
+# Channel multiplexing test:
+# simultaneous use of buffers of channels A & B
+!AIVDM,2,1,6,B,542M92h00001@<7;?G0PD4i@R0<tqA8tj37>220o0h:2240Ht50000000000,0*3B
+!AIVDM,2,1,2,A,542M92h00001@<7;?G0PD4i@R0<tqA8tj37>220o0h:2240Ht500000000000000,0*3C
+!AIVDM,2,2,2,A,0000002,2*24
+!AIVDM,2,2,6,B,00000000000,2*21
diff --git a/test/sample.aivdm.chk b/test/sample.aivdm.chk
index 548de966..78c36fda 100644
--- a/test/sample.aivdm.chk
+++ b/test/sample.aivdm.chk
@@ -39,3 +39,5 @@
22,0,003160048,2087,2088,0,0,-44100,27330,-48100,25400,0,0,0,4
23,0,002268120,1578,30642,1096,30408,6,0,2,9,0
24,2,338085242,CAPTAIN`S PARADISE,54,ACR1234,WDD7883,8,3,2,1
+5,0,271010059,0,0,TCA2350,HEALTH CONTROL 13,55,6,10,2,2,1,00-00T24:60Z,20,,0
+5,0,271010059,0,0,TCA2350,HEALTH CONTROL 13,55,6,10,2,2,1,00-00T24:60Z,20,,0