User Tools

Site Tools


informatique:linux:bluetooth

This is an old revision of the document!


Je pose ça là : commandes à lacner pour apairer un périphérique bluetooth en CLI (ligne de commande) :

# trouver l'interface bluetooth installée sur la machine
hcitool dev
Devices:
        hci0    00:1A:7D:00:11:22
 
# scanner les alentours à la recherche d'une enceinte par exemple
hcitool -i hci0 scan
Scanning ...
        30:9F:78:22:11:00       METRONIC-SP15
 
# ajouter le périphérique de confiance
bluetoothctl trust 30:9F:78:22:11:00
bluetoothctl connect 30:9F:78:22:11:00
# à la fin seulement...
bluetoothctl disconnect 30:9F:78:22:11:00
informatique/linux/bluetooth.1667748482.txt.gz · Last modified: 2022/11/06 15:28 by pteu