From 7e82d36d697d7fac55e24515861f109e4cb4e327 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 Mar 2009 21:22:44 +0000 Subject: We now have a working regression test for AIS Type 8 messages... ...and evidence that (alas) Type 6 is broken. --- test/schwehr.aivdm | 26 ++++++++++++++++++++++++++ test/schwehr.aivdm.chk | 1 + 2 files changed, 27 insertions(+) (limited to 'test') diff --git a/test/schwehr.aivdm b/test/schwehr.aivdm index aa027df3..684037ba 100644 --- a/test/schwehr.aivdm +++ b/test/schwehr.aivdm @@ -127,6 +127,31 @@ # dte: 0 # Spare: 0 # +# DOES NOT PASS yet -- some grief with the data offset. +# Text decode for this one came from regrouping the binary data dump from Kurt's +# ais_msg_6.py on one of his test sentences. It's unknown what's in the binary +# data block. +#!AIVDM,1,1,,B,6B?n;be:cbapalgc;i6?Ow4,2*4A +# MessageID: 6 +# RepeatIndicator: 1 +# UserID: 150834090 +# SeqNum: 3 +# DestinationID: 313240222 +# RetransmitFlag: False +# Spare: 0 +# ApplicationID: 42827 +# Data: 50:3acbc463dffc4 +# +# 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 +# data block. +!AIVDM,1,1,,A,85Mwp`1Kf3aCnsNvBWLi=wQuNhA5t43N`5nCuI=pTdcWHftni=J0d5fs?8WT852,5*74 # MessageID: 9 @@ -146,6 +171,7 @@ # state_syncstate: 2 # state_slottimeout: 3 # state_slotoffset: 12839 +# !AIVDM,1,1,,A,B52K>;h00Fc>jpUlNV@ikwpUoP06,0*4C # MessageID: 18 # RepeatIndicator: 0 diff --git a/test/schwehr.aivdm.chk b/test/schwehr.aivdm.chk index f09ffa86..4cdbb480 100644 --- a/test/schwehr.aivdm.chk +++ b/test/schwehr.aivdm.chk @@ -4,5 +4,6 @@ 3,1,563808000,Moored,0,0.0,1,-76.3275,36.9100,2520,352,35,0,0,0 4,0,003669702,2007:05:14T19:57:39Z,1,36.8838,-76.3524,Surveyed,0,105df 4,0,003669702,2007:05:14T19:57:39Z,1,36.8838,-76.3524,Surveyed,0,105df +8,0,366999712,23480,256:3a53dbb7be4a773137f87d7b0445f040dea05d93f593783194ae9b9d9dbe05fb 9,3,1069287948,4032,932,1,177.3001,106.3532,256.2,48,5b,1,1,2cf227 18,0,338087471,0,0.1,0,-74.0721,40.6845,79.6,511,49,0,1,e0006 -- cgit v1.2.1