iPAQ h3975 running Familiar Linux 0.8.2
BlueZ tools –should be pre-installed
Setting up the Software
The Bluez tools should be installed in the default image. You can verify that the following packages are installed using Package Manager
The good news it pretty much works out the box if you’re using GPE (only need to set up rfcomm) but for you OPIE users you’ll need to do some tweaking
If that’s all good you should be able to add the Bluetooth applet to the taskbar using the launcher application.
In theory, the bluepin utility should either use the PIN in /etc/bluetooth/pin or prompt you when it needs a PIN.
However, on Familiar, the PIN exchange silently fails. So, we need to replace bluepin with a script
Then we set the pin_helper line in /etc/bluetooth/hcid.conf:
You should ‘discover’ the GPS as you can see about the GPS replied with it’s name and MAC address. Take note of the MAC you’ll need it below
Now we know the MAC address of the device, we can set up our system to automatically bind to it every reboot. This is accomplished by editing the file /etc/bluetooth/rfcomm.conf. In that file identifiers are listed with parameters enclosed in curly braces.
By setting bind yes; we are making it bind every time the system starts up. This is not creating a connection, but instead binding /dev/bluetooth/rfcomm/0 (major 216 minor 0) to the address listed in device on the specified channel. Then when anything tries to access /dev/bluetooth/rfcomm/0 it will create the bluetooth link at that point. To bind the device to this connection without rebooting all that is needed is the following command
You should see NMEA 0813 output from the GPS.