diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/sample.aivdm | 19 | ||||
-rw-r--r-- | test/sample.aivdm.chk | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test/sample.aivdm b/test/sample.aivdm index 0c3c42df..a3f72fd5 100644 --- a/test/sample.aivdm +++ b/test/sample.aivdm @@ -501,6 +501,8 @@ # Type 22: # From AISHub. Broadcast case: we won't count this as a full test by # itself because the bit layout of the addressed case is different. +# (The addressed form seems to be rare or nonexistent in the wild; none +# showed up in a three-hour sample from AISHub, while many broadcasts did.) # Verified only by the fact that the Python and C decoders get consistent # results, we haven't actually seen an independent dump of these fields. # (The noaadata 0.42 dumper for this type doesn't seem to work.) @@ -521,6 +523,23 @@ # Channel A Band : 0 # Zone size : 4 # +# Type 23: +# 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,,B,G02:Kn01R`sn@291nj600000900,2*12 +# Message Type : 23 +# Repeat Indicator : 0 +# MMSI : 2268120 +# NE Longitude : 1578 +# NE Latitude : 30642 +# SW Longitude : 1096 +# SW Latitude : 30408 +# Station Type : 6 +# Ship Type : 0 +# Tx/Rx mode : 0 +# Reporting interval : 9 +# Quiet time : 0 +# # Type 24: # One pair of type A and Type B messages. Note, these have Coast Guard # extended fields after them. diff --git a/test/sample.aivdm.chk b/test/sample.aivdm.chk index 81ad1ee9..91a7f6b7 100644 --- a/test/sample.aivdm.chk +++ b/test/sample.aivdm.chk @@ -33,4 +33,5 @@ 20,0,003160097,47,1,7,250,2250,1,7,1125,856,5,7,1125,0,0,0,0
21,0,123456789,20,CHINA ROSE MURPHY EXPRESS ALERT,0,-73619155,28752371,5,5,5,5,1,50,165,0x0,0,0
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
|