diff options
author | Jon Schlueter <jschlueter@redhat.com> | 2016-01-05 00:24:14 -0500 |
---|---|---|
committer | Jon Schlueter <jschlueter@redhat.com> | 2016-01-05 02:10:08 -0500 |
commit | 4a08a3c9e8f54d8dd1b8bc0c3b1176b24bcccab0 (patch) | |
tree | 01f3844cc26cc210b3c321be2c97e96737339c73 /test/sample.aivdm.ju.chk | |
parent | db5a1d5c9d23ce0e3ff8eab219c91ff425def344 (diff) | |
download | gpsd-4a08a3c9e8f54d8dd1b8bc0c3b1176b24bcccab0.tar.gz |
[aivdm] Expand driver type=20 to handle length 186
Full parsing not guarenteed but it at least parses more of
the data that is pressent for several of these messages
there are 28 bits not being processed out of this message
but it doesn't match up with the 12+4+3+11=30 bits that
the repeated data set is currently using
Looks like other messages of type 20 have data in the
last 28 bits but it's not decoded anywhere right now
186 bits long
!AIVDM,1,1,,2,D02E34iFTg6D000000000000002gjG2,0*75
20|0|002442003|1385|2|7|1125|0|0|0|0|0|0|0|0|0|0|0|0
186 bits long
!AIVDM,1,1,,2,D02=VVA8`N?`>4N01L=Nfp1>AA0,0*75
20|0|002320025|1162|1|7|250|225|1|7|0|1475|5|7|750|19|9|0|1296
shorter
!AIVDM,1,1,,A,D028rqP<QNfp000000000000000,2*0C
20|0|002243302|200|5|7|750|0|0|0|0|0|0|0|0|0|0|0|0
Diffstat (limited to 'test/sample.aivdm.ju.chk')
-rw-r--r-- | test/sample.aivdm.ju.chk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sample.aivdm.ju.chk b/test/sample.aivdm.ju.chk index 42eb3540..f650c9b7 100644 --- a/test/sample.aivdm.ju.chk +++ b/test/sample.aivdm.ju.chk @@ -90,3 +90,6 @@ {"class":"AIS","device":"stdin","type":8,"repeat":0,"mmsi":2711009,"scaled":false,"dac":1,"fid":16,"data":"720:00025e8d136025bd890d5520b2ff0ac000000070202580430d4bbf003f000001027cc3302597b60d4b15003f000000c5c4a9802584cf0d3f45803f000000f47ba58025cdf40d4391003f0000010272bb00258e5f0d44f7c9ff0a"}
{"class":"AIS","device":"stdin","type":21,"repeat":0,"mmsi":4000003,"scaled":false,"aid_type":30,"aid_type_text":"Special Mark","name":"IBC G BUOY","accuracy":true,"lon":75943336,"lat":22448680,"to_bow":2,"to_stern":2,"to_port":2,"to_starboard":2,"epfd":1,"epfd_text":"GPS","second":31,"regional":0,"off_position":false,"raim":false,"virtual_aid":false}
{"class":"AIS","device":"stdin","type":16,"repeat":0,"mmsi":439952844,"scaled":false,"mmsi1":315920,"offset1":2049,"increment1":681,"mmsi2":230137673,"offset2":424,"increment2":419}
+{"class":"AIS","device":"stdin","type":20,"repeat":0,"mmsi":2442003,"scaled":false,"offset1":1385,"number1":2,"timeout1":7,"increment1":1125,"offset2":0,"number2":0,"timeout2":0,"increment2":0,"offset3":0,"number3":0,"timeout3":0,"increment3":0,"offset4":0,"number4":0,"timeout4":0,"increment4":0}
+{"class":"AIS","device":"stdin","type":20,"repeat":0,"mmsi":2320025,"scaled":false,"offset1":1162,"number1":1,"timeout1":7,"increment1":250,"offset2":225,"number2":1,"timeout2":7,"increment2":0,"offset3":1475,"number3":5,"timeout3":7,"increment3":750,"offset4":19,"number4":9,"timeout4":0,"increment4":1296}
+{"class":"AIS","device":"stdin","type":20,"repeat":0,"mmsi":2243302,"scaled":false,"offset1":200,"number1":5,"timeout1":7,"increment1":750,"offset2":0,"number2":0,"timeout2":0,"increment2":0,"offset3":0,"number3":0,"timeout3":0,"increment3":0,"offset4":0,"number4":0,"timeout4":0,"increment4":0}
|