I've setup Bluetooth on my RaspPi and attempted to connect to my BlueSmirf from Sparkfun.
I can send text to my BlueSmirf from the RaspberryPi using:
echo "Testing" > /dev/rfcomm0
Now the red led on my BlueSmirf indicates its not paired with a device, only when I use
cat /dev/rfcomm0 the raspberryPi will start a Pairing session with the BlueSmirf (and the led turns green).
I now can send and receive text from both sides, the problem is that I manually need to invoke
cat /dev/rfcomm0. I would like that the RaspberryPi looks for my BlueSmirf at startup and starts a pairing session automatically.