diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-02-13 06:50:36 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-02-13 06:50:36 +0000 |
commit | 5b769ec6080245a5fcb12707a30ecc0a3da163d3 (patch) | |
tree | efb6b3453577593e9714ec080d9d7d7c48d018d2 /gps.py | |
parent | 4955aa9e9788d4355fcd74a9aee6629cac413d07 (diff) | |
download | gpsd-5b769ec6080245a5fcb12707a30ecc0a3da163d3.tar.gz |
Integrate gpsfake.
Diffstat (limited to 'gps.py')
-rwxr-xr-x | gps.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -341,6 +341,11 @@ class SiRF: return SiRF.transport("".join(switcher)) to_NMEA = staticmethod(to_NMEA) + def reset(): + "Generate a GPS reset command." + return SiRF.transport("\x85\x00\x00\x00\x00\x00\x00\x00\x00") + reset = staticmethod(reset) + # EarthDistance code swiped from Kismet and corrected # (As yet, this stuff is not in the libgps C library.) |