I am trying to use a Bluetooth Bluesmirf to exchange message between Ubuntu and code running on an Arduino via rosserial. If I use a USB cable, I can communicate with the Arduino, but when I try to do that via bluetooth it fails.
I have tried to simplify things to have a simple program running on the Arduino that sits and waits for a "H" or "L" to switch the state of an LED on the Arduino. I am able to use the Bluetooth Devices interface on Ubuntu to connect the Bluesmirf. The interface says that it is connected and assigned to /dev/rfcomm0. When I try running Putty to connect to /dev/rfcomm0 (at various baud rates), it immediately fails with two messages - Unable to open connection and then Unable to open serial connection.
When I do a "ll /dev/rfcomm0", I see:
crw-rw---- 1 root dialout 216, 0 2012-02-20 23:21 /dev/rfcomm0
When I do a rfcomm show /dev/rfcomm0 I see
rfcomm0: 00:24:7E:30:E7:1A -> 00:06:66:00:69:F4 channel 1 connected [reuse-dlc tty-attached]
00:06:66:00:69:F4 is the mac address of the Bluesmirf, but I have no idea what device 00:24:7E:30:E7:1A references.
Has anyone used a Bluesmirf or other Bluetooth dongel to communicate between a program running on Ubuntu with code running on Arduino. If you have done this, what is the magic to get it to work?
Thanks
Chuck