diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-03-29 05:23:23 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-03-29 05:23:23 +0000 |
commit | f94f5de72a1044e3a2833829f2750a974a39f029 (patch) | |
tree | 1719166a15dfc279fc9dd8e65252c35084cf5863 /HACKING | |
parent | a8d7c3dad55d8acea756d3bd8a3c8d5665936b7f (diff) | |
download | gpsd-f94f5de72a1044e3a2833829f2750a974a39f029.tar.gz |
Make sure all drivers set the packet tag field.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -191,6 +191,12 @@ Your packet parser must return field-validity mask bits (using the The watcher-mode logic relies on these as its way of knowing what to publish. +Your packet parser is also responsible for setting the tag field +in the gps_data_t structure. This is the string that will be emitted +as the first field of each $ record for profiling. The packet getter +will set the sentence-length for you; it will be raw byte length, +including both payload and header/trailer bytes. + Note, also, that all the timestamps your driver puts in the session structure should be UTC (with leap-second corrections) not just Unix seconds since the epoch. The report-generator function for D |