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.18
/ October 3, 2018 |
Repository | |
Written in | C, Python |
Operating system | Linux, *BSD, Mac OS X, Android |
Platform | Any |
Size | ~120K LOC |
Available in | English |
Type | GPS |
License | BSD |
Website | gpsd |
Gpsd is commonly used on Unix-like operating systems.[1][2][3] 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.[4] It communicates via that socket by accepting commands, and returning results. These commands use a JSON-based syntax and provide JSON responses.[4] 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.[5]
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.[6] It is now maintained by Eric S. Raymond.[7][8]
References
- 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