Jump to content
Compatible Support Forums
news

Introducing gps-share

Recommended Posts

Hi,

 

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

https://github.com/zeenix/gps-share/releases/tag/0.1.0

 

----

 

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

gps-share.

 

## 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.

 

--

Regards,

 

Zeeshan Ali

 

[1] https://en.wikipedia.org/wiki/Gpsd

[2] https://gypsy.freedesktop.org/wiki/

[3] https://gypsy.freedesktop.org/why-not-gpsd.html

_______________________________________________

 

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×