Jean-Michel.Bouffard, who is at CRC in Canada says that he's using
the Socket Bluetooth GPS receiver with gpsd. Here are his notes. The
Bluetooth protocol is including a serial profile that makes the use of
the Bluetooth GPS almost like a serial GPS.
- First, the Bluez protcol stack must be installed and all the
documentation can be found on http://bluez.sourceforge.net/.
In my case, I installed it on a Linux PC with a BT USB dongle but I'm
still trying to install it on my 3850 iPaq with a BT Sleeve. But once
BT is installed, the rest is the same.
- Install bluetooth for your device with the "rfcomm" module which is
the Serial profile (http://bluez.sourceforge.net/).
- Next, load the modules :
# modprobe hci_xxx (xxx depend on your type of device)
# modprobe bluez
# modprobe l2cap
# modprobe rfcomm
- Note : you must be the root user for the next part...
- If the modules have loaded successfully, type "hciconfig" and you
should see your BT device listed under the "hci0" name.
- Create the BT serial device (To do once, it will still be there after
a reboot):
# mknod /dev/rfcomm0 c 216 0
- Start your device and scan for remote BT device:
# hciconfig hci0 up
# hcitool scan
- Write down the adress of the newly found BT GPS receiver (looks like
xx:xx:xx:xx:xx:xx)
- Connect to the device:
# hcitool cc xx:xx:xx:xx:xx:xx
- You can chack if the connection is done by doing :
# hcitool con
- Start the serial protocol over BT :
# rfcomm /dev/rfcomm0 xx:xx:xx:xx:xx:xx
- After that, your BT GPS should be connected to /dev/rfcomm0 and you can
check by doing :
# cat /dev/rfcomm0
to see the NMEA GPS output
- You can then start gpsd like this:
# gpsd -p /dev/rfcomm0
to specify the path of the GPS and it will work exactly like a serial GPS
If something is unclear, write me back and I will try to help you...
Jean-Michel Bouffard