diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-05-09 21:50:21 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-05-09 21:50:21 -0400 |
commit | d80e5bc67e99b8d30a3f18f5c30b3c1ce0bd5ac5 (patch) | |
tree | 046618393472729f1576448e775a5dcefc0720dc /test/sample.aivdm | |
parent | f238d407388b87470e25cb348465c2a6c34babbd (diff) | |
download | gpsd-d80e5bc67e99b8d30a3f18f5c30b3c1ce0bd5ac5.tar.gz |
Add Nirgal's tests for bad packet and AIS channel multiplexing.
Diffstat (limited to 'test/sample.aivdm')
-rw-r--r-- | test/sample.aivdm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/sample.aivdm b/test/sample.aivdm index e457303c..dd9c43cd 100644 --- a/test/sample.aivdm +++ b/test/sample.aivdm @@ -624,3 +624,15 @@ DGNSS data : 376:7c0556c07031febbf52924fe33fa2933ffa0fd2932fdb7062 # dimD: 1 # mothership: 16789633 # spare: 0 +# +# Invalid packet test +AIVDM,2,2,1,B,00000000000,2*26 +# That fragment misses part 1, yields nothing +# +# +# Channel multiplexing test: +# simultaneous use of buffers of channels A & B +!AIVDM,2,1,6,B,542M92h00001@<7;?G0PD4i@R0<tqA8tj37>220o0h:2240Ht50000000000,0*3B +!AIVDM,2,1,2,A,542M92h00001@<7;?G0PD4i@R0<tqA8tj37>220o0h:2240Ht500000000000000,0*3C +!AIVDM,2,2,2,A,0000002,2*24 +!AIVDM,2,2,6,B,00000000000,2*21 |