GPSD for GeoClue2 using NMEA over TCP.
- Copy the XML file to
/etc/avahi/services/nmea-0183.service
. - Run
glue.py
in order to start the service (listens on10110/tcp
). - Optionally create a service (systemd or the like) for it to start at boot.
- Optionally disable all GeoClue2 sources except
network-nmea
to use GPS only.
- Make sure you have GPSD enabled (
sudo systemctl enable --now gpsd.socket
). - Make sure you have a hardware GPS connected and configured in GPSD.
- This version doesn't handle reconnections to GPSD yet.