gpsd
Original author(s) | Remco Treffkorn, Derrick Brashear |
---|---|
Developer(s) | Eric S. Raymond |
Stable release |
3.16
/ January 8, 2016 |
Development status | Mature |
Written in | C, Python |
Operating system | Linux, *BSD, Mac OS X, Android |
Platform | Any |
Size | ~110K LOC |
Available in | English |
Type | GPS |
License | BSD |
Website |
www |
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 the 3-clause BSD 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). Multiple clients can use gpsd's service in parallel, thus allowing multiple applications to use the data in parallel.
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
- ↑ Debian packages of gpsd
- ↑ Fedora package of gpsd
- ↑ gpsd FreeBSD from the FreeBSD ports archive
- 1 2 gpsd manual page 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
- ↑ GPSD CHANGELOG
- ↑ GPSD History
- ↑ Bad Code Offsets: Open Web Innovation