Jump to content

gpsd

From Wikipedia, the free encyclopedia
gpsd
Original author(s)Remco Treffkorn,
Derrick Brashear
Developer(s)Eric S. Raymond
Stable release
3.22[1] Edit this on Wikidata / 9 January 2021; 3 years ago (9 January 2021)
Repository
Written inC, Python
Operating systemLinux, *BSD, Mac OS X, Android
PlatformAny
Size~120K LOC
Available inEnglish
TypeGPS software
LicenseBSD license
Websitegpsd.gitlab.io/gpsd/

gpsd is a computer software program that collects data from a Global Positioning System (GPS) receiver and provides the data via an Internet Protocol (IP) network to potentially multiple client applications in a server-client application architecture. Gpsd may be run as a daemon to operate transparently as a background task of the server. The network interface provides a standardized data format for multiple concurrent client applications, such as Kismet or GPS navigation software.

Gpsd is commonly used on Unix-like operating systems.[2][3][4] It is distributed as free software under the 3-clause BSD license.

Design

[edit]

gpsd provides a TCP/IP service by binding to port 2947 by default.[5] It communicates via that socket by accepting commands, and returning results. These commands use a JSON-based syntax and provide JSON responses.[5] Multiple clients can access the service concurrently.

The application supports many types of GPS receivers with connections via serial ports, USB, and Bluetooth. Starting in 2009, gpsd also supports AIS receivers.[6]

gpsd supports interfacing with the Network Time Protocol (NTP) server ntpd via shared memory to enable setting the host platform's time via the GPS clock.

Authors

[edit]

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

References

[edit]
  1. ^ "gpsd version 3.22 is released". 9 January 2021. Retrieved 7 February 2021.
  2. ^ Debian packages of gpsd
  3. ^ Fedora package of gpsd Archived 2011-10-02 at the Wayback Machine
  4. ^ gpsd FreeBSD from the FreeBSD ports archive
  5. ^ a b gpsd manual page Archived 2011-07-18 at the Wayback Machine gpsd project, retrieved 2011-07-11
  6. ^ A Brief History of GPSD, "In July and August 2009 ESR redesigned the GPSD command protocol and gave gpsd the ability to read data from marine AIS receivers and pass it to clients."; retrieved 2011-05-01 Archived 2006-10-14 at the Wayback Machine
  7. ^ GPSD CHANGELOG Archived 2007-09-28 at the Wayback Machine
  8. ^ GPSD History Archived 2006-10-14 at the Wayback Machine
  9. ^ Bad Code Offsets: Open Web Innovation
[edit]