summaryrefslogtreecommitdiff
path: root/gpsd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.xml')
-rw-r--r--gpsd.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/gpsd.xml b/gpsd.xml
index 797041cc..7862b6cc 100644
--- a/gpsd.xml
+++ b/gpsd.xml
@@ -284,6 +284,22 @@ client was attached, and multiple devices were not supported.)</para>
</varlistentry>
<varlistentry>
+<term>g</term>
+<listitem>
+<para>With =, accepts a single argument which may have either of the
+values 'gps' or 'rtcm104', with case ignored. This specifies the
+type of information the client wants and forces a device assignment.
+Without =, forces a device assignment but doesn't force the type.
+This command is optional; if it is not given, the client will be
+bound to whatever available device the daemon finds first.</para>
+
+<para>This command returns either '?' if no device of the specified
+type(s) could be assigned, otherwise a string ('GPS' or 'RTCM104')
+identifying the kind of information the attached device returns.</para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
<term>i</term>
<listitem><para>Returns a text string identifying the GPS. The string
may contain spaces and is terminated by CR-LF. This command will