diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-09-16 12:37:03 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-09-16 12:37:03 -0400 |
commit | 3fae4f0bef5ec7a45b6267f934cc4fd0849ebebf (patch) | |
tree | 96093c46064f1ccc3ce606cf3de1665f1378d0d0 /driver_ais.c | |
parent | ead799c133ceb654e50b5d21214b0d9f5b3d0cc0 (diff) | |
download | gpsd-3fae4f0bef5ec7a45b6267f934cc4fd0849ebebf.tar.gz |
Document ITU-R 1371 change point.
Diffstat (limited to 'driver_ais.c')
-rw-r--r-- | driver_ais.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/driver_ais.c b/driver_ais.c index 2baec1b6..d482aadc 100644 --- a/driver_ais.c +++ b/driver_ais.c @@ -876,15 +876,15 @@ bool ais_binary_decode(struct ais_t *ais, } ais->type24.shiptype = UBITS(40, 8); /* - * In ITU-R 1371-4, there are new model and serial fields + * In ITU-R 1371-4, there are new model and serial fields * carved out of the right-hand end of vendorid, which is - * reduced from 7 chars to 3. It is not clear in which - * minor revision this change took place. To cope with - * older AIS implementations, unpack the trailing bits - * *both* ways; truly revision-4-conformant implementations - * will have up to four characters of trailing garbage on - * the vendorid, and older implementations will have - * garbafe in the model and serial fields. + * reduced from 7 chars to 3. To cope with older AIS + * implementations conforming to revision 3 and older, + * unpack the trailing bits *both* ways; truly + * revision-4-conformant implementations will have up to + * four characters of trailing garbage on the vendorid, + * and older implementations will have garbafe in the + * model and serial fields. */ UCHARS(48, ais->type24.vendorid); ais->type24.model = UBITS(66, 4); |