There are still many questions on the web when it comes to RFCOMM connections. In this tutorial i will explain some of the basic methods to get you up and running with RFCOMM connection to an external bluetooth GPS and read NMEA data.
First, switch on the GPS and identify the BT address.
hcitool scan hci0
Now, edit /etc/bluetooth/rfcomm.conf
to appear like the image above.
Restart your BT services:
You should now be able to bind your GPS to /dev/rfcomm0
, like this:
root@ronnieflip:~$ rfcomm bind 0
Confirm your connection:
....watch the NMEA strings coming from your GPS: