Cac/InstallazioneBluetooth.txt
2015-12-02 02:34:08 +01:00

19 lines
508 B
Text

Installa il bluetooth
apt-get install -y bluetooth bluez-utils blueman
sudo apt-get install python-bluez
Per scannerizzare i dispositivi bluetooth
hcitool scan
per capire che adattatore devo usare:
root@raspberrypi /home/pi/script/cac/utils # hcitool dev
Fare pairing
root@raspberrypi /home/pi/script/cac/utils # bluez-simple-agent hci0 98:D3:31:B2:35:33
RequestPinCode (/org/bluez/2451/hci0/dev_98_D3_31_B2_35_33)
Enter PIN Code: 1234
Release
New device (/org/bluez/2451/hci0/dev_98_D3_31_B2_35_33)