echo "Read waypoints from GARMIN GPS receiver"
echo "Be sure that:"
echo "o gpsd is not running"
echo "o /dev/gps is a link to the serial device"
echo "o GARMIN GPS is set to GARMIN transfer mode"
echo "After finished, eventualy set GARMIN back to NMEA mode and restart gpsd"

cd $HOME/.gpsdrive
garble -w >x.tmp
wpcvt x.tmp  way-wpget.txt
rm x.tmp
echo "Download of waypoints finished, you find your waypoints in:"
echo "$HOME/.gpsdrive/way-wpget.txt"
echo


