summaryrefslogtreecommitdiff
path: root/gpsd.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-12-03 07:43:49 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-12-03 07:43:49 +0000
commit769cad9f1bed947bef534bf868eb0e4259319fab (patch)
tree1bdb86a1c33e00476d970c65d3c5a98aace05641 /gpsd.xml
parent7fdbd0d4d3b8aab64edda14a3a5aa481a92802c9 (diff)
downloadgpsd-769cad9f1bed947bef534bf868eb0e4259319fab.tar.gz
gpspipe exposed an orthogonality failure.
Fix it by adding a json switch separate from watch enable. This involved moving where fake NMEA is generated to a different place, treating it as just another form of report generation rather than a side effect of receiving a sentence. Also, some client-side code had to be changed to use the json flag. A side effect is that some binary-protocol devicers generate fake $GPGSA sentences somewhat more often than they used to, and this meant rebuilding four more regression tests.
Diffstat (limited to 'gpsd.xml')
-rw-r--r--gpsd.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/gpsd.xml b/gpsd.xml
index cca34e9a..7ad84f43 100644
--- a/gpsd.xml
+++ b/gpsd.xml
@@ -1310,6 +1310,13 @@ DEVICES object.</para>
is true.</entry>
</row>
<row>
+ <entry>json</entry>
+ <entry>No</entry>
+ <entry>boolean</entry>
+ <entry>Enable (true) or disable (false) dumping of JSON reports.
+ Default is false.</entry>
+</row>
+<row>
<entry>nmea</entry>
<entry>No</entry>
<entry>boolean</entry>