Bluetooth/Discovery

From OLPC
< Bluetooth
Revision as of 02:39, 3 July 2014 by Quozl (talk | contribs) (Created page with 'Using an XO laptop for Bluetooth device discovery. On 13.2.1 on an XO-4 sudo yum install -y python-pip bluez-libs-devel python-devel gcc sudo pip install pybluez sudo hc…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Using an XO laptop for Bluetooth device discovery.

On 13.2.1 on an XO-4

sudo yum install -y python-pip bluez-libs-devel python-devel gcc
sudo pip install pybluez
sudo hciconfig hci0 up

On 12.1.0 on an XO-1.75

sudo yum install -y python-pip bluez bluez-libs-devel python-devel
sudo pip install pybluez
sudo hciconfig hci0 up
#!/usr/bin/python
import bluetooth
print bluetooth.discover_devices(lookup_names=True)