summaryrefslogtreecommitdiff
path: root/test/sample.aivdm.chk
diff options
context:
space:
mode:
authorJon Schlueter <jschlueter@redhat.com>2015-10-06 03:26:00 -0400
committerJon Schlueter <jschlueter@redhat.com>2015-10-07 22:37:53 -0400
commit780c8a9c6bcdd1f8c904eaf28c11ceb317a0a2f7 (patch)
tree62a42c2509f5de6780379707ae07da14b846e148 /test/sample.aivdm.chk
parent51916a197a0a4d88938e1bf7dfa6136b0cc29bce (diff)
downloadgpsd-780c8a9c6bcdd1f8c904eaf28c11ceb317a0a2f7.tar.gz
AIS:refine parsing of type 8 DAC 1 FID 16 messages
- Type 8, DAC = 1 FID = 16: This should only be decoded as "Persons on board" if the message length is either 72 or 136 bits long (if even then). - Type 8, DAC = 1 FID = 16: If decoded, the json output should use the ais->type8.dac1fid16.persons field and not the type6 field Was not able to locate entry that had persons actually populated in AISHub sample data file added sample data that should not be decoded to sample.aivdm had to regenerate large sample file as it had multiple entries for this Identified by: Stefan Roels <sroels-gpsd-dev@42solutions.nl> type 8 dac 1 fid 16 can have either data or persons had to add logic to detect structured vs not structured for type 8 FID 16 messages
Diffstat (limited to 'test/sample.aivdm.chk')
-rw-r--r--test/sample.aivdm.chk2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sample.aivdm.chk b/test/sample.aivdm.chk
index ff37743e..bae01919 100644
--- a/test/sample.aivdm.chk
+++ b/test/sample.aivdm.chk
@@ -86,3 +86,5 @@
8|0|002766080|1|11|1382800|3532000|20T18:30Z|0|0|0|0|0|0|0|0|0|0|0|0|255|0|0|0|0|0|0|0|0|3|0|0|0|0|0|1|0|0|0
6|0|002053507|2|244670500|0|200|3|16:3200
8|0|366999607|366|57|510:7ffdef068fbded3c0a1943dfb997b4a10fadec21e6e0a6608f0f44b686a8747ff71e595dcb5ec5b4e05221d886233d2e4916f6eb6fe8ecd38d69792816f3a2d0
+8|0|002391100|1|16|240:0000e56a780022b4440a903c3bbf00000130ac568022bab80ad35f803f00
+8|0|002711009|1|16|720:00025e8d136025bd890d5520b2ff0ac000000070202580430d4bbf003f000001027cc3302597b60d4b15003f000000c5c4a9802584cf0d3f45803f000000f47ba58025cdf40d4391003f0000010272bb00258e5f0d44f7c9ff0a