Bluetooth
From RobolaboWiki
Contents
RFCOMM does not allow to connect a user
sudo chmod u+s /usr/bin/rfcomm
Pairing bluetooth in command line
bluez-simple-agent hci# xx:xx:xx:xx:xx:xx
Replace # with the Bluetooth adapter number (e.g. hci0) and xx:xx:xx:xx:xx:xx with the MAC of our Bluetooth device
To get the number of our adapter
hciconfig
To get the MAC
hcitool scan
DE-Pairing bluetooth in command line
bluez-simple-agent hci# xx:xx:xx:xx:xx:xx remove
Connect to a bluetooth
rfcomm connect 0 xx:xx:xx:xx:xx:xx
or use rfcomm.conf