summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-27 05:12:11 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-27 05:12:11 -0400
commit720c77615731fbecfce63c727c35762ab7336cad (patch)
treeb296232cc71ca4e1399878be48a689793f624f5d /TODO
parentce4f7e0a1d0b121d76f4b5c539944a23dbd84914 (diff)
downloadgpsd-720c77615731fbecfce63c727c35762ab7336cad.tar.gz
Add a caution about use of tag blocks.
Diffstat (limited to 'TODO')
-rw-r--r--TODO21
1 files changed, 21 insertions, 0 deletions
diff --git a/TODO b/TODO
index b3784a49..28d55db1 100644
--- a/TODO
+++ b/TODO
@@ -52,6 +52,27 @@ Ed W. writes:
>really this is just adding it to the NMEA sentence output options via
>the TAG structure
+However, Iván Sánchez Ortega notes:
+
+>There is one *big* problem with using TAG blocks to timestamp the sentences.
+>The standards (as far as I/we know) say that the timestamp is **either** the
+>number of seconds **or** milliseconds since the UNIX epoch, but we do **not**
+>know if the initial state should be secs, msecs, or nothing. We do not know
+>how clients reading that TAGblocked NMEA stream should ask GPSD to switch the
+>timestamp units (or enable/disable them).
+>
+>There are a few sentences introduced in NMEA 4.00 that supposedly allow that -
+>the client sends a sentence to the server, and then the server starts
+>TAGblocking sentences. But, alas, there are no examples anywhere.
+>
+>>From my personal experience, the way to know if a TAGblocked timestamp is in
+>seconds or milliseconds is ask the people in charge of setting up the
+>device/service. Perhaps some devices output only secs/msecs, and some other
+>accept the NMEA 4.00 TAGblock configuration sentences.
+>
+>I, for one, would like to see the secs/msecs problem solved before GPSD
+>embarks on the enterprise of writing TAGblocks.
+
*** RFC2783 bugs
**** detangle TIOCMIWAIT and RFC2783