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.
Original author(s) | Remco Treffkorn, Derrick Brashear |
---|---|
Developer(s) | Eric S. Raymond |
Stable release | 3.22[1]
/ 9 January 2021 |
Repository | |
Written in | C, Python |
Operating system | Linux, *BSD, Mac OS X, Android |
Platform | Any |
Size | ~120K LOC |
Available in | English |
Type | GPS software |
License | BSD license |
Website | gpsd |
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
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
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
- "gpsd version 3.22 is released". 9 January 2021. Retrieved 7 February 2021.
- Debian packages of gpsd
- Fedora package of gpsd Archived 2011-10-02 at the Wayback Machine
- gpsd FreeBSD from the FreeBSD ports archive
- gpsd manual page Archived 2011-07-18 at the Wayback Machine gpsd project, retrieved 2011-07-11
- 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
- GPSD CHANGELOG Archived 2007-09-28 at the Wayback Machine
- GPSD History Archived 2006-10-14 at the Wayback Machine
- Bad Code Offsets: Open Web Innovation