[ gpsdrive ] bluetooth gps
Charles Curley
charlescurley at charlescurley.com
Sun Oct 25 16:05:24 AKDT 2009
On Thu, 22 Oct 2009 09:49:17 +1300
Andrew Walbran <qwandor at gmail.com> wrote:
> The way bluetooth GPS receivers generally work is that they show up as
> a bluetooth serial port. The first step, then, is to connect to this.
> Assuming your bluetooth adapter is working properly, you should be
> able to run
> $ hcitool inq
> to scan for all available bluetooth devices. From this copy the MAC
> address of your GPS receiver (a MAC address looks something like
> 01:23:45:67:89:ab), and run a command like this (substituting the
> correct MAC address):
> $ rfcomm connect 0 01:23:45:67:89:ab
> That will connect to your GPS receiver and call the serial port
> /dev/rfcomm0. You can then start gpsd on this serial port as usual:
> $ gpsd /dev/rfcomm0
> And after all that, assuming there are no errors, start GPSdrive and
> it should connect to gpsd and get your fix.
I see a file, gpsdrive-trunk/Documentation/ README.Bluetooth, which has
a different procedure for doing this. I also see
gpsdrive-trunk/scripts/gpsd-connect-bluetooth.sh, which looks promising.
As I don't have any Bluetooth peripherals I can't comment on which, if
any, is preferable.
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
More information about the GPSdrive
mailing list