Download
#!/bin/sh
if [ -z "$DEVICE" ]
then
DEVICE=/dev/ttyUSB0
fi
gpsbabel -w -i garmin -f "$DEVICE" -o gpx -F -
gpsbabel -t -i garmin -f "$DEVICE" -o gpx -F -
Upload
- Takes a single file argument
#!/bin/sh
if [ -z "$DEVICE" ]
then
DEVICE=/dev/ttyUSB0
fi
gpsbabel -t -w -i gpx -f $* -o garmin -F "$DEVICE"
Serial Pins
Serial connector is poor.
At a guess pins are:
CE p0 p1 p2 p3 FCC
3mm jack: end is p2, middle is p1
Links