summaryrefslogtreecommitdiff
path: root/gpsd.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-05-25 17:19:42 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-05-25 17:19:42 +0000
commit56a4a454d8360ec4f863fe2fc880dd37cf35ca6e (patch)
tree2ea69d95ba0308a987651ac4f0ac16818058bccb /gpsd.xml
parentf6bc7e7ab6da3c6ff504882b30d482f2089302dc (diff)
downloadgpsd-56a4a454d8360ec4f863fe2fc880dd37cf35ca6e.tar.gz
Add ! command for gpsd control socket. Rationalize xgps and xgpsspeed options.
Diffstat (limited to 'gpsd.xml')
-rw-r--r--gpsd.xml18
1 files changed, 13 insertions, 5 deletions
diff --git a/gpsd.xml b/gpsd.xml
index 7f1e3557..ac16ddc2 100644
--- a/gpsd.xml
+++ b/gpsd.xml
@@ -547,11 +547,19 @@ device name followed by LF or CR-LF. Thus, to point the daemon at
that a device has been disconnected and is no longer available, send a
minus sign ('-') followed by the device name followed by LF or
CR-LF. Thus, to remove <filename>/dev/foo</filename> from the search
-list. send "-/dev/foo\n". Your client may await a response, which
-will be a line beginning with either "OK" or "ERROR". An ERROR reponse
-to an add command means the device did not emit data recognizable as
-GPS packets; an ERROR response to a remove command means the specified
-device was not in <application>gpsd</application>'s device list.</para>
+list. send "-/dev/foo\n".</para>
+
+<para>To send a control string to a specified device, write to the
+control socket a '!', followed by the device name, followed by '=',
+followed by the control string.</para>
+
+<para>Your client may await a response, which will be a line beginning
+with either "OK" or "ERROR". An ERROR reponse to an add command means
+the device did not emit data recognizable as GPS packets; an ERROR
+response to a remove command means the specified device was not in
+<application>gpsd</application>'s device list. An ERROR response to a
+! command means the daemon did not recognize the devicename
+specified.</para>
<para>The control socket is intended for use by hotplug scripts and
other device-discovery services. This control channel is separate