summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-01-20 19:04:20 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-01-20 19:04:20 +0000
commitf828ece0a9a1ccb1c5699d25479ad3d8e2c64a34 (patch)
tree2c92e649a06980eda558f179fab13e4d6c3a7147
parent607f804cd1a681c720a6620061e2d280d9d9a2a6 (diff)
downloadgpsd-f828ece0a9a1ccb1c5699d25479ad3d8e2c64a34.tar.gz
Show PPS in the hardware table.
-rw-r--r--gpscap.ini15
-rw-r--r--gpscap.py5
2 files changed, 13 insertions, 7 deletions
diff --git a/gpscap.ini b/gpscap.ini
index 710d3403..0013588e 100644
--- a/gpscap.ini
+++ b/gpscap.ini
@@ -507,6 +507,7 @@ vendor = Garmin
reference = http://www.garmin.com/manuals/GPS18_TechnicalSpecification.pdf
uses = Garmin
interfaces = RS232
+pps = True
tested = 2.5
nmea = 2.0 and 2.3
notes = The RS232 versions emit NMEA and are found by normal autoconfiguration.
@@ -1187,11 +1188,11 @@ subtype = TIM-LP
interfaces = UART
tested = 2.34
notes = OEM module, available in small quantities from Tri-M
- systems. The ANTARIS chipset is End-of-Life. This module works
- in NMEA mode; gpsd also supports the UBX binary
- protocol. Firmware updates are available from uBlox; the update
- is strongly recommended as it fixes a number of UBX bugs, and
- adds useful new features.
+ systems. The ANTARIS chipset is obsolere, replaced by
+ ANTARIS4. This module works in NMEA mode; gpsd also supports the
+ UBX binary protocol. Firmware updates are available from uBlox;
+ the update is strongly recommended as it fixes a number of UBX
+ bugs, and adds useful new features.
[GM-38/12V]
type = device
@@ -1269,7 +1270,8 @@ vendor = Trimble
packaging = OEM module
reference = http://www.trimble.com/lasseniq.shtml
engine = Colossus RF ASIC, IO-C33 (Epson C33 RISC)
-interfaces = USB
+interfaces = USB,RS232
+pps = True
usbchip = Silicon Labs CP2102
tested = regression
status = good
@@ -1286,6 +1288,7 @@ reference = http://www.u-blox.com/products/lea_4h.html
uses = ANTARIS4
tested = regression
interfaces = RS232
+pps = True
notes = Reported by Andreas Stricker &lt;andreas.stricker@fela.ch&gt;
[ANTARIS LEA-4S]
diff --git a/gpscap.py b/gpscap.py
index d7632649..ade51afb 100644
--- a/gpscap.py
+++ b/gpscap.py
@@ -96,7 +96,10 @@ class GPSDictionary(ConfigParser.RawConfigParser):
if self.has_option(dev, "subtype"):
engine += " (" + self.get(dev, "subtype") + ")"
ofp.write("<td>%s</td>\n" % engine)
- ofp.write("<td>%s</td>\n" % self.get(dev, "interfaces"))
+ interfaces = self.get(dev, "interfaces")
+ if self.has_option(dev, "pps"):
+ interfaces += ",PPS"
+ ofp.write("<td>%s</td>\n" % interfaces)
tested = ""
if self.get(dev, "status") == "broken":
tested = "Broken"