diff options
author | Jon Schlueter <jschlueter@redhat.com> | 2016-01-05 00:05:34 -0500 |
---|---|---|
committer | Jon Schlueter <jschlueter@redhat.com> | 2016-01-05 02:09:34 -0500 |
commit | db5a1d5c9d23ce0e3ff8eab219c91ff425def344 (patch) | |
tree | e7b3a27db8dc06d661592ba15d370377a586ed1e /packet_states.h | |
parent | 39d128cc124bfe0f85b1d7752bbf3fcefce7c425 (diff) | |
download | gpsd-db5a1d5c9d23ce0e3ff8eab219c91ff425def344.tar.gz |
[aivdm] Expand driver type 16 to handle 168 bits
Found a live sample that was not handled
right by the ais driver for type=16
max size had to be increased to 168 bits from 144
this looks sane as the samples of this type of message
as follows shows that the increment1, mmsi2, offset2,
and increment2 have a value.
It also matches results from http://www.aggsoft.com/ais-decoder.htm
test/sample.aivdm.js.chk
42:{"class":"AIS","device":"stdin","type":16,"repeat":0,"mmsi":2053501,"scaled":true,"mmsi1":224251000,"offset1":200,"increment1":0,"mmsi2":0,"offset2":0,"increment2":0}
92:{"class":"AIS","device":"stdin","type":16,"repeat":0,"mmsi":439952844,"scaled":true,"mmsi1":315920,"offset1":2049,"increment1":681,"mmsi2":230137673,"offset2":424,"increment2":419}
Diffstat (limited to 'packet_states.h')
0 files changed, 0 insertions, 0 deletions