summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-24 02:07:46 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-24 02:07:46 +0000
commitba5646a69fab12905867e9f95ef3412ea46d5185 (patch)
treeb1e2e51545895ad241cc69089d33c200f4eaf9cc /test
parentff2c642300b991a8839968c457da10b7183d31a4 (diff)
downloadgpsd-ba5646a69fab12905867e9f95ef3412ea46d5185.tar.gz
Two more AIS regression tests, type 7 and 10.
Diffstat (limited to 'test')
-rw-r--r--test/schwehr.aivdm19
-rw-r--r--test/schwehr.aivdm.chk2
2 files changed, 20 insertions, 1 deletions
diff --git a/test/schwehr.aivdm b/test/schwehr.aivdm
index 5d043377..d7bdb1fc 100644
--- a/test/schwehr.aivdm
+++ b/test/schwehr.aivdm
@@ -159,12 +159,22 @@
# so we don't actually know whether this dump is correct or not --
# it's just what gpsdecode says now. Fix this when his code can check it.
!AIVDM,1,1,,A,7IiQ4T`UjA9lC;b:M<MWE@,4*01
-# MessageID: 655901842
+# SourceMMSI: 655901842
# MMSI1: 158483613
# MMSI2: 321823389
# MMSI3: 836359488
# MMSI4: 0
#
+# Type 7:
+# This was from Mike Greene and had a dump attached.
+!AIVDM,1,1,,B,7`0Pv1L:Ac8rbgPKHA8`P,2*56
+# Message Type: 7
+# RepeatIndicator: 2
+# SourceMMSI: 537411077
+# MMSI1: 43101326
+# MMSI2: 717096664
+# MMSI3: 76161024
+#
# Type 8:
# Text decode for this one came from regrouping the binary data dump from Kurt's
# ais_msg_8.py on one of his test sentences. It's unknown what's in the binary
@@ -206,6 +216,13 @@
# DestID: 366832740
# Spare2: 0
#
+# Type 10:
+!AIVDM,1,1,,B,:6TMCD1GOS60,0*5B,s36310,d-081,T59.01777335
+# Message Type: 10
+# Repeat Indicator: 0
+# MMSI: 440882000
+# Destination MMSI: 366972000
+#
# Type 11:
# Message has Coast Guard extended fields following
!AIVDM,1,1,,B,;4R33:1uUK2F`q?mOt@@GoQ00000,0*5D,s28089,d-103,T39.44353985,x147521,r08TPHI1,1242958962
diff --git a/test/schwehr.aivdm.chk b/test/schwehr.aivdm.chk
index 096450fd..685305b5 100644
--- a/test/schwehr.aivdm.chk
+++ b/test/schwehr.aivdm.chk
@@ -6,9 +6,11 @@
5,0,351759000,9134270,0,3FOF8,EVER DIADEM,70,225,70,1,31,1,05-15T14:00Z,122,NEW YORK,0
6,1,150834090,3,313240222,0,42827,50:eb2f118f7ff100
7,1,655901842,158483613,321823389,836359488,0
+7,2,537411077,43101326,717096664,76161024,0
8,0,366999712,23480,256:3a53dbb7be4a773137f87d7b0445f040dea05d93f593783194ae9b9d9dbe05fb
9,3,1069287948,4032,932,1,106380055,63811893,2562,48,0x5b,1,0,0x67913
10,0,366814480,366832740
+10,0,440882000,366972000
11,0,304137000,2009:05:22T02:22:40Z,1,-56644610,17045470,1,0,0x0
15,0,368578000,5158,5,0,0,0,0,0,0
18,0,338087471,0,1,0,-44443279,24410724,796,511,49,0x0,1,0,1,1,1,1,0xe0006