Author: Tomáš Janoušek http://work.lisk.in/, Andrea Bittau a.bittau@cs.ucl.ac.uk
This is a modified version of GPSd from Barbelo, which turns your phone with internal GPS into a Bluetooth GPS that can be used from a computer, for example. Example applications include wardriving using just your phone and notebook, etc.
$ sdptool records <bt address> or $ sdptool search SP
Service Name: NMEA-GPS
Service RecHandle: 0x1000e
Service Class ID List:
UUID 128: 94262f12-5458-11dd-923c-001a730654bb
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 5
$ rfcomm connect rfcomm5 <bt address> <channel number>/dev/rfcomm5 is connected and using cu -l /dev/rfcomm5 one may look at the raw NMEA data./etc/bluetooth/rfcomm.conf, if you want./dev/rfcomm5. This was in /etc/default/gpsd on my Debian box.Hopefully all devices with Mobile Java, MIDP 2.0, JSR-179 (Location API), JSR-082 (Bluetooth API) and an internal GPS (well, Symbian lets you configure location source so internal GPS may not be required, but what's the point then?).
It has been tested on the following phones (if your phone isn't listed and meets the requirements, it means nothing, it should work anyway):
If you like this software, feel free to donate to the author ![]()