summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-29 00:21:00 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-29 00:21:00 -0400
commit586ca31bcedfd3bc9fd8e012d2510a65a585b1d4 (patch)
treed6f714f872718906fb4ebb00df9ee70bc198ed79
parent7199a3c8aa872c0151415a89908b13daaf73cdb2 (diff)
downloadgpsd-586ca31bcedfd3bc9fd8e012d2510a65a585b1d4.tar.gz
Reading from udp:// listening addresses works. All regression tests pass.
-rw-r--r--NEWS2
-rw-r--r--gpsd.xml10
-rw-r--r--test/daemon/et-332.log7
3 files changed, 18 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 1104ff9b..5d350c97 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@
the udev magic and added a troubleshooting note in INSTALL. cgps
now displays epx/epy rather than eph. Speed is now always reported
if our last two fixes were good, even if the GPs didn't compute it.
+ Reading packets from UDP datagrams by specifying a listening address
+ and port is now supported.
* Tue Apr 20 2010 Eric S. Raymond <esr@snark.thyrsus.com> - 2.94
Error-checking in the 50bps subframe code has been greatly improved.
diff --git a/gpsd.xml b/gpsd.xml
index 9b96713a..30043b03 100644
--- a/gpsd.xml
+++ b/gpsd.xml
@@ -248,6 +248,16 @@ be interpreted as though they had been issued by a serial device. Example:
</listitem>
</varlistentry>
<varlistentry>
+<term>UDP feed</term>
+<listitem>
+<para>A URI with the prefix "udp://", followed by a hostname, a
+colon, and a port number. The daemon will open a socket listening for
+UDP datagrams arriving on the indicated address and port, which will
+be interpreted as though they had been issued by a serial device. Example:
+<filename>udp://127.0.0.1:5000</filename>.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
<term>Ntrip caster</term>
<listitem>
<para>A URI with the prefix "ntrip://" followed by the name of an
diff --git a/test/daemon/et-332.log b/test/daemon/et-332.log
index 5a76dc7c..50e62186 100644
--- a/test/daemon/et-332.log
+++ b/test/daemon/et-332.log
@@ -3,11 +3,16 @@
# Submitted-by: Val Schmidt <vschmidt@ccom.unh.edu>
# Date: 25 Apr 2010
# Location: Newark, DE
+# Transport: UDP
#
# The bard lives inside a Gavia AUV <http://www.gavia.is/>, which was
# placed in the parking log of a university laboratory for the capture
# of this data. It was completely stationary. Also, this sample
-# contains strings that indicate the date.
+# contains strings that indicate the date.
+#
+# The contents of the Transport header tell the gpsd test framework to
+# ship the file to the subordinate gpsd via IP datagrams. The source
+# is passed in as a udp:// URL.
#
# This file is Copyright (c) 2010 by the GPSD project
# BSD terms apply: see the file COPYING in the distribution root for details.