Find the mac address of the Espruino + HC-05
hcitool scan
Scanning ...
00:13:12:25:33:77 HC-05
Configure /etc/bluetooth/rfcomm.conf
rfcomm0 {
bind no;
device 00:13:12:25:33:77;
channel 1;
comment "Espruino";
}
Pair it
bluetooth-agent --adapter hci0 1234&
You can now connect it
sudo rfcomm connect 0&
Then create a symbolic link to get the espruino IDE to work (see: http://forum.espruino.com/conversations/444/)
sudo ln -s /dev/rfcomm0 /dev/ttySpruino
Now, for the next time you want to connect, do the following
bluetooth-agent --adapter hci0 1234&
sudo rfcomm connect 0&
sudo ln -s /dev/rfcomm0 /dev/ttySpruino
bluetooth-agent --adapter hci0 1234&
Can't register agent
Already Exists