Difference between revisions of "GPS"
(→Bluetooth GPS) |
(→Bluetooth GPS) |
||
Line 11: | Line 11: | ||
<pre>sudo nano /etc/bluetooth/rfcomm.conf</pre> | <pre>sudo nano /etc/bluetooth/rfcomm.conf</pre> | ||
− | Fill in | + | Fill in ''rfcomm.conf'' using the following template and the information you found using the steps listed above: |
<pre> | <pre> |
Revision as of 07:55, 22 July 2010
Contents
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 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
Installation
Until someone makes a PND, you can use opkg:
sudo opkg install tangogps