Ubuntu 8-04
11. September 2008 - 15:38

Reading tracks from the Wintec WBT-201

Via USB

First, you need a recent-enough gpsbabel version with support for the WBT-201. Then, don't forget to switch the device on (when on USB, the Power LED will light up even if the device is switched off).

With "dmesg" you can see where the device is mounted, normally /dev/ttyUSB0.

If the device is connected to the USB port, do the following

gpsbabel -t -w -r -i wbt -f /dev/ttyUSB0 -o gpx -F track.gpx (gpx Format)
gpsbabel -t -w -r -i wbt -f /dev/ttyUSB0 -o kml -F track.kml (kml Format)

Via Bluetooth

Connect a Bluetooth GPS receiver to Ubuntu8.04

hcitool scan

You should get one or more device listings returned. Note the MAC address registered to your bluetooth GPS device.

00:11:67:80:xx:xx       iNav GPS

Taking the address, you now need to create a serial port connection to your GPS device.

sdptool browse 00:11:67:80:xx:xx

Which then returns output describing your new shiny virtual serial port.

And then by editing this file.

sudo gedit /etc/bluetooth/rfcomm.conf

And adding this text.

rfcomm4 {
   bind yes;
   device 00:11:67:80:xx:xx;
   channel 1;
   comment “Serial Port”;
}

You artfully create a way to invoke your serial port quickly and painlessly by typing:

rfcomm connect 4

To read the data type:

gpsbabel -t -w -r -i wbt -f /dev/rfcomm4 -o gpx -F track.gpx (gpx Format)
gpsbabel -t -w -r -i wbt -f /dev/rfcomm4 -o kml -F track.kml (kml Format)