diff options
Diffstat (limited to 'gpsd_json.xml')
-rw-r--r-- | gpsd_json.xml | 42 |
1 files changed, 7 insertions, 35 deletions
diff --git a/gpsd_json.xml b/gpsd_json.xml index 7772ab69..4e2313b5 100644 --- a/gpsd_json.xml +++ b/gpsd_json.xml @@ -107,13 +107,6 @@ Others may be reported or not depending on the fix quality.</para> <entry>Fixed: "TPV"</entry> </row> <row> - <entry>tag</entry> - <entry>No</entry> - <entry>string</entry> - <entry>Type tag associated with this GPS sentence; from an NMEA - device this is just the NMEA sentence type.</entry> -</row> -<row> <entry>device</entry> <entry>No</entry> <entry>string</entry> @@ -233,7 +226,7 @@ field actually received; see gps.h for bitmask names and values.</para> <para>Here's an example:</para> <programlisting> -{"class":"TPV","tag":"MID2","device":"/dev/pts/1", +{"class":"TPV","device":"/dev/pts/1", "time":"2005-06-08T10:34:48.283Z","ept":0.005, "lat":46.498293369,"lon":7.567411672,"alt":1343.127, "eph":36.000,"epv":32.321, @@ -267,13 +260,6 @@ yet, only the "class" field will reliably be present.</para> <entry>Fixed: "SKY"</entry> </row> <row> - <entry>tag</entry> - <entry>No</entry> - <entry>string</entry> - <entry>Type tag associated with this GPS sentence; from an NMEA - device this is just the NMEA sentence type.</entry> -</row> -<row> <entry>device</entry> <entry>No</entry> <entry>string</entry> @@ -423,7 +409,7 @@ will assert the SATELLITE_SET bit in the top-level set member.</para> <para>Here's an example:</para> <programlisting> -{"class":"SKY","tag":"MID2","device":"/dev/pts/1", +{"class":"SKY","device":"/dev/pts/1", "time":"2005-07-08T11:28:07.114Z", "xdop":1.55,"hdop":1.24,"pdop":1.99, "satellites":[ @@ -463,13 +449,6 @@ will assert the SATELLITE_SET bit in the top-level set member.</para> <entry>Fixed: "GST"</entry> </row> <row> - <entry>tag</entry> - <entry>No</entry> - <entry>string</entry> - <entry>Type tag associated with this GPS sentence; from an NMEA -device this is just the NMEA sentence type.</entry> -</row> -<row> <entry>device</entry> <entry>No</entry> <entry>string</entry> @@ -541,7 +520,7 @@ corrections).</entry> <para>Here's an example:</para> <programlisting> -{"class":"GST","tag":"GST","device":"/dev/ttyUSB0", +{"class":"GST","device":"/dev/ttyUSB0", "time":"2010-12-07T10:23:07.096Z","rms":2.440, "major":1.660,"minor":1.120,"orient":68.989, "lat":1.600,"lon":1.200,"alt":2.520} @@ -559,7 +538,7 @@ readings. Because such sensors are often bundled as part of marine-navigation systems, the ATT response may also include water depth.</para> -<para>The "class", "mode", and "tag" fields will reliably be present. Others +<para>The "class" and "mode" fields will reliably be present. Others may be reported or not depending on the specific device type.</para> <table frame="all" pgwide="0"><title>ATT object</title> @@ -580,13 +559,6 @@ may be reported or not depending on the specific device type.</para> <entry>Fixed: "ATT"</entry> </row> <row> - <entry>tag</entry> - <entry>Yes</entry> - <entry>string</entry> - <entry>Type tag associated with this GPS sentence; from an NMEA - device this is just the NMEA sentence type.</entry> -</row> -<row> <entry>device</entry> <entry>Yes</entry> <entry>string</entry> @@ -783,7 +755,7 @@ will assert ATT_IS.</para> <para>Here's an example:</para> <programlisting> -{"class":"ATT","tag":"PTNTHTM","time":1270938096.843, +{"class":"ATT","time":1270938096.843, "heading":14223.00,"mag_st":"N", "pitch":169.00,"pitch_st":"N", "roll":-43.00,"roll_st":"N", "dip":13641.000,"mag_x":2454.000} @@ -1120,11 +1092,11 @@ will be reported with a mode field of zero.</para> <programlisting> {"class":"POLL","time":"2010-06-04T10:31:00.289Z","active":1, - "tpv":[{"class":"TPV","tag":"MID41","device":"/dev/ttyUSB0", + "tpv":[{"class":"TPV","device":"/dev/ttyUSB0", "time":"2010-09-08T13:33:06.095Z", "ept":0.005,"lat":40.035093060, "lon":-75.519748733,"track":99.4319,"speed":0.123,"mode":2}], - "sky":[{"class":"SKY","tag":"MID41","device":"/dev/ttyUSB0", + "sky":[{"class":"SKY","device":"/dev/ttyUSB0", "time":1270517264.240,"hdop":9.20, "satellites":[{"PRN":16,"el":55,"az":42,"ss":36,"used":true}, {"PRN":19,"el":25,"az":177,"ss":0,"used":false}, |