summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-02-04 19:35:36 +0000
committerEric S. Raymond <esr@thyrsus.com>2010-02-04 19:35:36 +0000
commit136a0e1c212940a4cf7ce79cfb8ebf8c8ce43753 (patch)
tree0197b277c29f1e306461496299a8aae6afa0841f /test
parent624aa8283d4edca9fdd696df52a822bf75240031 (diff)
downloadgpsd-136a0e1c212940a4cf7ce79cfb8ebf8c8ce43753.tar.gz
A verified pair of AIS type 6 and type 7 messages for the regression test.
Diffstat (limited to 'test')
-rw-r--r--test/sample.aivdm23
-rw-r--r--test/sample.aivdm.chk2
2 files changed, 24 insertions, 1 deletions
diff --git a/test/sample.aivdm b/test/sample.aivdm
index 4c1fe8e9..24004d68 100644
--- a/test/sample.aivdm
+++ b/test/sample.aivdm
@@ -153,8 +153,29 @@
# ApplicationID: 42827
# Data: 48:eb2f118f7ff1
#
+# From AISHub. This type 6 has no data. It's paired with the
+# following type 7; both are verified by the match in the MMSI fields
+!AIVDM,1,1,,A,63u?;TP0`QJ<06P000,4*43
+# Message Type : 6
+# Repeat Indicator : 0
+# MMSI : 265538450
+# Sequence Number : 0
+# Destination MMSI : 2655651
+# Retransmit flag : 0
+# Application ID : 104
+# Data : 16:0000
+#
# Type 7:
-# From Kurt Schwehr
+# From AISHub - reported immediately after the preceding type 6,
+# which matches it. Two destination MMSIs.
+# !AIVDM,1,1,,A,702R5`hwCjq8,0*6B
+# Message Type : 7
+# Repeat Indicator : 0
+# MMSI : 2655651
+# MMSI number 1 : 265538450
+#
+# Type 7:
+# From Kurt Schwehr. Three destination MMSIs.
!AIVDM,1,1,,A,7IiQ4T`UjA9lC;b:M<MWE@,4*01
# SourceMMSI: 655901842
# MMSI1: 158483613
diff --git a/test/sample.aivdm.chk b/test/sample.aivdm.chk
index bb2a5da3..67e148ff 100644
--- a/test/sample.aivdm.chk
+++ b/test/sample.aivdm.chk
@@ -5,6 +5,8 @@
4,0,003669702,2007:05:14T19:57:39Z,1,-45811417,22130260,7,0,0x105df
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,48:eb2f118f7ff1
+6,0,265538450,0,2655651,0,104,16:0000
+7,0,002655651,265538450,0,0,0
7,1,655901842,158483613,321823389,836359488,0
7,2,537411077,43101326,717096664,76161024,0
8,0,366999712,23480,256:3a53dbb7be4a773137f87d7b0445f040dea05d93f593783194ae9b9d9dbe05fb