aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-03-28 11:27:47 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-29 09:18:04 +0200
commitad8a40f8aa26d8a4b92b275f01dd015425f817d8 (patch)
treea622096cb1fb6dcfa3d11499e6a37568a09086fd
parent2bf61649d81fc1f9821f467454fe29a5b1ced15c (diff)
api,dbus: update the fields retrievable in the raw GPS location source
Currently just provide the time of measurement, latitude, longitude and altitude.
-rw-r--r--introspection/org.freedesktop.ModemManager1.Modem.Location.xml17
1 files changed, 6 insertions, 11 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Location.xml b/introspection/org.freedesktop.ModemManager1.Modem.Location.xml
index b19283e1..42e2b767 100644
--- a/introspection/org.freedesktop.ModemManager1.Modem.Location.xml
+++ b/introspection/org.freedesktop.ModemManager1.Modem.Location.xml
@@ -175,6 +175,11 @@
The allowed key/value pairs and their formats are:
</para>
<variablelist>
+ <varlistentry><term><literal>"utc-time"</literal></term>
+ <listitem>
+ (Required) UTC time in ISO 8601 format, given as a string value (signature <literal>"s"</literal>). e.g. <literal>203015</literal>.
+ </listitem>
+ </varlistentry>
<varlistentry><term><literal>"latitude"</literal></term>
<listitem>
(Required) Latitude in Decimal Degrees (positive numbers mean N quadrasphere, negative mean S quadrasphere), given as a double value (signature <literal>"d"</literal>). e.g. <literal>38.889722</literal>, meaning 38d 53' 22" N.
@@ -190,16 +195,6 @@
(Optional) Altitude above sea level in meters, given as a double value (signature <literal>"d"</literal>). e.g. <literal>33.5</literal>.
</listitem>
</varlistentry>
- <varlistentry><term><literal>"horizontal-velocity"</literal></term>
- <listitem>
- (Optional) Horizontal velocity in meters-per-second, given as a double value (signature <literal>"d"</literal>). e.g. <literal>0.5</literal>.
- </listitem>
- </varlistentry>
- <varlistentry><term><literal>"vertical-velocity"</literal></term>
- <listitem>
- (Optional) Vertical velocity in meters-per-second, given as a double value (signature <literal>"d"</literal>). e.g. <literal>0.01</literal>.
- </listitem>
- </varlistentry>
</variablelist>
</listitem>
</varlistentry>
@@ -229,7 +224,7 @@
</literal></para>
If the device then sends a <literal>$GPGSA</literal> sentence about 5 seconds later, the
<literal>$GPGSA</literal> sentence is added to the string (since no <literal>$GPGSA</literal> sentence was
- literalviously received in this session), the updated string would be:
+ obviously received in this session), the updated string would be:
<para><literal>
$GPRMC,134526.92,V,,,,,,,030136,,,N*76&lt;CR&gt;&lt;LF&gt;$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45&lt;CR&gt;&lt;LF&gt;$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
</literal></para>