TS-7840 GPS
From embeddedTS Manuals
The GPS uses an embedded Telit SL869 module with an externally accessible SMA antenna. This is accessible at /dev/ttyS3 where the GPS provides NMEA strings.
A typical way of interfacing with the GPS is using gpsd. For example, under Debian:
apt install gpsd gpsd-clients -y
Then edit /etc/default/gpsd and change these two options:
# Devices gpsd should collect to at boot time. # They need to be read/writeable, either by user gpsd or the group dialout. DEVICES="/dev/ttyS3" # Other options you want to pass to gpsd GPSD_OPTIONS="-b -n"
Then restart gpsd:
service gpsd restart
This allows clients from command line, or from most programming languages to interface with the GPS through gpsd:
For testing run "gpsmon" to see lock, coordinates, and time information.