Download
-
Outputs to stdout
!/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
| p0 | p1 | p2 | p3 | |:--- | -- | -- | --- | | +5V | Tx | Rx | Gnd |
3mm jack: end is p2, middle is p1