Difference between revisions of "Bluetooth"
From RobolaboWiki
Line 35: | Line 35: | ||
</pre> | </pre> | ||
or use rfcomm.conf | or use rfcomm.conf | ||
+ | |||
+ | <h1> More info </h1> | ||
+ | http://www.pezzino.ch/serial-port-to-bluetooth-chip-to-pc/ |
Latest revision as of 18:08, 22 January 2016
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