Jump to content

gpsd

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 91.122.216.81 (talk) at 11:35, 3 October 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

gpsd
Original author(s)Remco Treffkorn, Derrick Brashear
Developer(s)Eric S. Raymond
Stable release
3.00 / 2011-08-19
Preview release
3.00 / 2011-08-19
Repository
Written inC, Python
Operating systemLinux, *BSD, Mac OS X
PlatformAny
Size~36K LOC
Available inEnglish
TypeGPS
LicenseBSD
Websitehttp://www.catb.org/gpsd/

gpsd is a daemon that receives data from a GPS receiver, and provides the data back to multiple applications such as Kismet or GPS navigation software. It thus provides a unified interface to receivers of different types, and allows concurrent access by multiple applications.

It is commonly used on Linux and FreeBSD systems [1] [2] [3]. Distributed under a permissive free software license, gpsd is free software.

Design

gpsd provides a TCP/IP service by binding to port 2947[4]. It accepts commands from that socket, and returns results back to it. These commands use a JSON-based syntax and return JSON responses[4] (older, now obsolete versions used single-letter commands). Concurrent operation is supported. Most GPS receivers are supported, whether serial, USB, or Bluetooth. Starting in 2009, GPSD supports AIS receivers as well.[5] Additionally gpsd supports interfacing with the UNIX network time protocol daemon ntpd via shared memory to enable setting the host platform's time via the GPS clock.

Authors

gpsd was originally written by Remco Treffkorn with Derrick Brashear, then maintained by Russell Nelson,[6]. It is now maintained by Eric S. Raymond.[7][8]

References