InstallazioneBluetooth.txt 508 B

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