Difference between revisions of "GPS"

From Pandora Wiki
Jump to: navigation, search
(New page: == Setting up your GPS == === Bluetooth GPS === First, turn on Bluetooth on your Pandora. Now, open up terminal and do: <pre>hcitool scan</pre> This scans for bluetooth devices. Find your ...)
 
(Bluetooth GPS)
Line 11: Line 11:
 
<pre>sudo nano /etc/bluetooth/rfcomm.conf</pre>
 
<pre>sudo nano /etc/bluetooth/rfcomm.conf</pre>
  
Fill in the file using this template and the information you found using the steps listed above:
+
Fill in the ''rfcomm.conf'' using the following template and the information you found using the steps listed above:
  
 
<pre>
 
<pre>

Revision as of 07:54, 22 July 2010

Setting up your GPS

Bluetooth GPS

First, turn on Bluetooth on your Pandora. Now, open up terminal and do:

hcitool scan

This scans for bluetooth devices. Find your GPS device on the list and make a note of it's MAC address (it is in the form xx:xx:xx:xx:xx:xx).

Now you want to find the channel for your bluetooth GPS, run the command (replacing the example MAC address with your own):

sdptool browse xx:xx:xx:xx:xx:xx

Now you need to edit /etc/bluetooth/rfcomm.conf. In this example I use nano, but you can use whatever editor you like. Do:

sudo nano /etc/bluetooth/rfcomm.conf

Fill in the rfcomm.conf using the following template and the information you found using the steps listed above:

rfcomm0 {
bind no;
device xx:xx:xx:xx:xx:xx;
channel 1;
comment “GPS”;
}

Now connecting to your GPS is as simple as running the command:

sudo rfcomm connect 0

USB GPS

Someone with a USB GPS will need to fill in this section

Software

gpsd

Installation

Installing gpsd is a requirement for using many GPS related programs. It can be installed through opkg:

sudo opkg install gpsd
Configuration

todo.

TangoGPS

tangoGPS running on a Pandora
Installation

Until someone makes a PND, you can use opkg:

sudo opkg install tangogps