summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-03-16 04:54:25 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-03-16 04:54:25 +0000
commitaf9d3f3c0051ac14d47ab91852015d3c7c1ce00f (patch)
treeb530af3c09d59aa41ab6f5d60ea2e49b8a54568a /test
parent70e8096c383de0b640f2a4e935913b3ec79589a7 (diff)
downloadgpsd-af9d3f3c0051ac14d47ab91852015d3c7c1ce00f.tar.gz
Tests for Type 18 are stable.
Diffstat (limited to 'test')
-rw-r--r--test/schwehr.aivdm19
-rw-r--r--test/schwehr.aivdm.chk1
2 files changed, 20 insertions, 0 deletions
diff --git a/test/schwehr.aivdm b/test/schwehr.aivdm
index ea40ab51..aa027df3 100644
--- a/test/schwehr.aivdm
+++ b/test/schwehr.aivdm
@@ -126,6 +126,8 @@
# destination: NEW YORK
# dte: 0
# Spare: 0
+#
+# This sentence is slightly malformed -- extra data at the end.
!AIVDM,1,1,,B,9wsh:3?h>TdcWHftni=J0d5fs?8WT852,5*74
# MessageID: 9
# RepeatIndicator: 3
@@ -144,3 +146,20 @@
# state_syncstate: 2
# state_slottimeout: 3
# state_slotoffset: 12839
+!AIVDM,1,1,,A,B52K>;h00Fc>jpUlNV@ikwpUoP06,0*4C
+# MessageID: 18
+# RepeatIndicator: 0
+# UserID: 338087471
+# Reserved1: 0
+# SOG: 0.1
+# PositionAccuracy: 0
+# longitude: -74.07213166666666666666666667
+# latitude: 40.68454
+# COG: 79.6
+# TrueHeading: 511
+# TimeStamp: 49
+# RegionalReserved: 0
+# Spare: 0
+# RAIM: True
+# CommStateSelector: 1
+# CommState: 393222
diff --git a/test/schwehr.aivdm.chk b/test/schwehr.aivdm.chk
index 2eb8bf52..dbc5ad7c 100644
--- a/test/schwehr.aivdm.chk
+++ b/test/schwehr.aivdm.chk
@@ -5,3 +5,4 @@
4,0,003669702,2007:05:14T19:57:39Z,1,36.8838,-76.3524,Surveyed,0,82ef
4,0,003669702,2007:05:14T19:57:39Z,1,36.8838,-76.3524,Surveyed,0,82ef
9,3,1069287948,4032,932,1,177.3001,106.3532,256.2,48,5b,1,3,2cf227
+18,0,338087471,0,0.1,0,-74.0721,40.6845,79.6,511,49,0,23,1e0006