Running echo . | nc -u 192.168.10.2 49171
is enough to get and print raw NMEA data from UmTRX. Stop here if it's all you need.
Clone this repo and run make
(it installs pynmea2
library):
git clone git@gist.github.com:/8f75b9596bb2ee979cdf.git umtrx-gps
cd umtrx-gps
make
Parsing time and coordinates:
echo . | nc -u 192.168.10.2 49171 | ./gpslog
The same, but for remote UmTRX (attached to <hostname>
):
echo . | ssh <hostname> nc -u 192.168.10.2 49171 | ./gpslog
@ati cool!