summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-30 14:06:17 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-30 14:06:17 +0000
commitd213c63d067320061ccb6e69c63358b8df1b2880 (patch)
tree019890f396f0dcedf90a1753d0cb6d19d1264c84 /test
parent8fb255aee64c310f8b174cf4636d396895bd3917 (diff)
downloadgpsd-d213c63d067320061ccb6e69c63358b8df1b2880.tar.gz
Added regression-test loads for AIS message types 12-14.
Diffstat (limited to 'test')
-rw-r--r--test/schwehr.aivdm73
-rw-r--r--test/schwehr.aivdm.chk9
2 files changed, 80 insertions, 2 deletions
diff --git a/test/schwehr.aivdm b/test/schwehr.aivdm
index f4b14f19..4e4df86d 100644
--- a/test/schwehr.aivdm
+++ b/test/schwehr.aivdm
@@ -1,7 +1,7 @@
# Sample AIVDM data sentences provided from real data by Kurt Schwehr
-# and Mike Greene.
+# Mike Greene, and Neal Arundale.
#
-# The text dumps following are (mostly) producerd by the parsers in
+# The text dumps following are (mostly) produced by the parsers in
# Kurt's noaadata.py toolkit, and are here so they can be eyeball-checked
# against gpsdecode's output.
#
@@ -256,6 +256,75 @@
# state_slottimeout: 0
# state_slotoffset: 0
#
+# Type 12:
+# From AIS Hub via Neal Arundale. Dumps by ais.py.
+!AIVDM,1,1,,A,<02:oP0kKcv0@<51C5PB5@?BDPD?P:?2?EB7PDB16693P381>>5<PikP,0*37
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 2275200
+# Sequence Number : 0
+# Destination MMSI : 215724000
+# Retransmit flag : 0
+# Text : PLEASE REPORT TO JOBOURG TRAFFIC CHANNEL 13
+!AIVDM,1,1,,A,<5?SIj1;GbD07??4,0*38
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 351853000
+# Sequence Number : 0
+# Destination MMSI : 316123456
+# Retransmit flag : 0
+# Text : GOOD
+!AIVDM,1,1,,A,<5?SIj5Cp;NPD81>H0,4*4C
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 351853000
+# Sequence Number : 1
+# Destination MMSI : 351809000
+# Retransmit flag : 0
+# Text : THANX
+!AIVDM,1,1,,A,<42Lati0W:Ov=C7P6B?=Pjoihhjhqq0,2*2B
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 271002099
+# Sequence Number : 0
+# Destination MMSI : 271002111
+# Retransmit flag : 1
+# Text : MSG FROM 271002099
+!AIVDM,1,1,,A,<CR3B@<0TO3j5@PmkiP31BCPphPDB13;CPihkP=?D?PmP3B5GPpn,0*3A
+# Message Type : 12
+# Repeat Indicator : 1
+# MMSI : 237032000
+# Sequence Number : 3
+# Destination MMSI : 2391100
+# Retransmit flag : 1
+# Text : EP 531 CARS 80 TRACKS 103 MOTO 5 CREW 86
+!AIVDM,1,1,,A,<9NS8O1ROcS0>9P81?f31<<PD5CD,0*46
+# Message Type : 12
+# Repeat Indicator : 0
+# MMSI : 636012668
+# Sequence Number : 0
+# Destination MMSI : 413118000
+# Retransmit flag : 0
+# Text : NI HAO.CALL TEST
+#
+# Type 14:
+# From AIS Hub via Neal Arundale. Dumps by ais.py.
+!AIVDM,1,1,,A,>5?Per18=HB1U:1@E=B0m<L,2*51
+# Message Type : 14
+# Repeat Indicator : 0
+# MMSI : 351809000
+# Text : RCVD YR TEST MSG
+!AIVDM,1,1,,A,>3R1p10E3;;R0USCR0HO>0@gN10kGJp,2*7F
+# Message Type : 14
+# Repeat Indicator : 0
+# MMSI : 237008900
+# Text : EP228 IX48 FG3 DK7 PL56.
+!AIVDM,1,1,,A,>4aDT81@E=@,2*2E
+# Message Type : 14
+# Repeat Indicator : 0
+# MMSI : 311764000
+# Text : TEST
+#
# Type 15:
# From Mike Greene
!AIVDM,1,1,,A,?5OP=l00052HD00,2*5B
diff --git a/test/schwehr.aivdm.chk b/test/schwehr.aivdm.chk
index b5604196..50cc4687 100644
--- a/test/schwehr.aivdm.chk
+++ b/test/schwehr.aivdm.chk
@@ -13,6 +13,15 @@
10,0,366814480,366832740
10,0,440882000,366972000
11,0,304137000,2009:05:22T02:22:40Z,1,-56644610,17045470,1,0,0x0
+12,0,002275200,0,215724000,0,PLEASE REPORT TO JOBOURG TRAFFIC CHANNEL 13
+12,0,351853000,0,316123456,0,GOOD
+12,0,351853000,1,351809000,0,THANX
+12,0,271002099,0,271002111,1,MSG FROM 271002099
+12,1,237032000,3,2391100,1,EP 531 CARS 80 TRACKS 103 MOTO 5 CREW 86
+12,0,636012668,0,413118000,0,NI HAO.CALL TEST
+14,0,351809000,RCVD YR TEST MSG
+14,0,237008900,EP228 IX48 FG3 DK7 PL56.
+14,0,311764000,TEST
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
18,0,338088483,0,0,0,-42486718,25869335,1716,511,20,0x0,1,0,1,1,1,1,0xe0006