diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-03-30 01:26:52 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-03-30 01:26:52 +0000 |
commit | 577ab695bf4fc3a9414d8e264344958844a0e617 (patch) | |
tree | 1181d6adb48c170e71864e4c4ab51e6b68eb21cd /libgpsd.xml | |
parent | 133ca14fe9fc75749151224738a9e9ee06af6c9f (diff) | |
download | gpsd-577ab695bf4fc3a9414d8e264344958844a0e617.tar.gz |
gpsd.py goes away.
It couldn't be keept up to date with the C library, and only gpsprobe
was using it.
Diffstat (limited to 'libgpsd.xml')
-rw-r--r-- | libgpsd.xml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/libgpsd.xml b/libgpsd.xml index 5a91f82c..42802fcc 100644 --- a/libgpsd.xml +++ b/libgpsd.xml @@ -53,22 +53,6 @@ C: <paramdef>const char * <parameter>fmt</parameter></paramdef> <paramdef><parameter>...</parameter></paramdef> </funcprototype> - -<funcsynopsisinfo> -Python: - -import gpsd - -session = gpsd.gpsd(device="/dev/gps", logger=None) -session.activate() - -session.deactivate() - -session.poll() - -del session -</funcsynopsisinfo> -</funcsynopsis> </refsynopsisdiv> <refsect1 id='description'><title>DESCRIPTION</title> @@ -92,12 +76,6 @@ certainly what you want.</para> <function>gpsd_init()</function> initializes a session structure to hold the data collected by the GPS.</para> -<para>You must specify a device type by key letter; to list key -letters, run <command>gpsd -h</command>. It is generally safe to -specify 'n', as most modern GPSes speak NMEA. (The Python binding -no longer requires setting a device type; this is a future direction -for the C binding)</para> - <para>You may optionally specify a DGPS server, either as a string containing a server name or a string containining server name followed by a colon and a port name or number. To specify no DGPS, pass the @@ -155,14 +133,6 @@ ends the session, implicitly performing a The library will use this to issue ordinary status messages. Use first argument of 0 for errors, 1 for ordinary status messages, and 2 or higher for debugging messages.</para> - -<para>The Python implementation supports the same facilities as the C -library, but only for straight NMEA devices with a 1-second send cycle -(no SiRF, Zodiac or Garmin binary-protocol support). Support for DGPS -is also omitted. <function>gps_init()</function> is replaced by the -initialization of a gpsd session object; the other calls are methods -of that object. Resources within the session object will be properly -released when it is garbage-collected.</para> </refsect1> <refsect1 id='see_also'><title>SEE ALSO</title> |