From f58d049144f6b5ec9d9c45a99f5b0ef64f42076f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 20 Aug 2014 08:50:40 -0400 Subject: Add an AIS to-do item. --- TODO | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index daef080b..cbcb4f03 100644 --- a/TODO +++ b/TODO @@ -156,6 +156,16 @@ message 6 and 8 subtypes - specifically, 6/23, 8/21, 8/22, 8/24, and We'd need machinery to shift a byte array 30 bits left... +**** AIS struct needs a 'structured' bit detected by the driver **** + +Turns out that dispatching JSON dump on Types 6 and 8 by DAC/FID +isn't reliable, because sometimes unstructured Type 8s can +false-match with a structured type. Observed in the wild with +an unstructured Type 8 misconstrued as an Inland AIS Type 10. +To fix this, the driver needs to store the 'structured' bit in +the AIS structure. Will require a library bump, but afterwards +some code can be removed from the JSON dumper. + ** To do: *** On next API bump *** -- cgit v1.2.1