|
@@ -0,0 +1,17 @@
|
|
|
+Installa il bluetooth
|
|
|
+ apt-get install -y bluetooth bluez-utils blueman
|
|
|
+ sudo apt-get install python-bluez
|
|
|
+
|
|
|
+
|
|
|
+Per scannerizzare i dispositivi bluetooth
|
|
|
+hcitool scan
|
|
|
+
|
|
|
+
|
|
|
+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)
|
|
|
+
|
|
|
+
|