Introducing gps-share


I just tagged the very first release of gps-share:


gps-share is a utility to share your GPS device on local network. It
has two goals:

* Share your GPS device on the local network so that all machines in
your home or office can make use of it.
* Enable support for standalone (i-e not part of a cellular modem) GPS
devices in Geoclue. Since Geoclue has been able to make use of network
NMEA sources since 2015, gps-share works out of the box with Geoclue.

The latter means that it is a replacement for GPSD[1] and Gypsy[2].
While "why not GPSD?" has already been documented[3], Gypsy has been
unmaintained for many years now. I did not feel like reviving a dead
project and I really wanted to code in Rust so I decided to create

## Dependencies

While cargo manages the Rust crates gps-share depend on, you'll also
need the following on your host:

* libdbus
* libudev
* libcap
* xz-libs

## Supported devices

gps-share currently only supports GPS devices that present themselves as serial
port (RS232). Many USB are expected to work out of the box but bluetooth devices
need manual intervention to be mounted as serial port devices through rfcomm
command. The following command worked on my Fedora 25 machine for a TomTom
Wireless GPS MkII.

    sudo rfcomm connect 0 00:0D:B5:70:54:75

gps-share can autodetect the device to use if it's already mounted as a serial
port but it assumes a baudrate of 38400. You can manually set the device node to
use by passing the device node path as argument and set the baudrate using the
'-b' commandline option. Pass '--help' for a full list of supported options.


Zeeshan Ali


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]