Once you have your RPi paired with another device you have a Bluetooth link, but you still need to set up another protocol over the Bluetooth called "RFCOMM" to provide an emulated serial connection between the two devices.

Setting The RPi to create a serial connection to a Bluetooth device at startup

Enter the command:

sudo nano /etc/bluetooth/rfcomm.conf

Add the connection details:

rfcomm1 {
    # Automatically bind the device at startup
    bind yes;

   # Bluetooth address of the device
    device xx:xx:xx:xx:xx:xx;

    # RFCOMM channel for the connection
    channel 1;

    # Description of the connection
    comment "My Bluetooth Connection";

Creating A Serial Link Via Bluetooth To A PC Running Windows

Follow the RPI steps to setup the rfcom link at its end.

Open the Windows Control Panel.  In search box, type "Bluetooth", and then click "Change Bluetooth settings".

In the Bluetooth Settings dialog box, click the COM Ports tab, select a port, and then click OK.  If no COM port is listed, then setup Windows to accept a connection by pressing "Add", and then select "Incoming".  OK and exit.  Windows should then see the RPi serial connection after a few seconds and create a serial port automatically for it (you see a taskbar message its happened and the new COM port appears in device manager).

Adding The RPi From Windows

In Devices and printers use 'Add Device' and if the RPi is in pairing mode it should find the RPi.

Once the device is added and windows has finished adding drivers (can take quite a a while – wait for the taskbar device added message), right click the RPi in device and select properties.  In the 'Services' tab there should be a servicee for serial, e.g. 'serial port SSP'.  Ensure it is enabled.  If there isn't then there is likely a problem. <<< We got stuck here and had to give up due to time constraints as this was the case for us

Send serial from the RPi command line

echo "Hello" > /dev/rfcomm0


We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.