Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
it:bluetooth [2025/02/11 19:15] – [memo] vlpit:bluetooth [2026/08/31 08:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
-## Initialisation+====== Bluetooth ======
  
-  sudo apt-get -y install bluetooth bluez bluez-tools rfkill +===== Installation ===== 
-  sudo usermod -aG lp $USER +<code bash> 
-  newgrp lp+sudo apt-get -y install bluetooth bluez bluez-tools rfkill 
 +sudo usermod -aG lp $USER 
 +newgrp lp 
 +</code>
  
-si erreur sap, modifier le service systemd:+===== Désactiver le plugin SAP si nécessaire ===== 
 +Si le démon Bluetooth échoue à cause du plugin SAP, adapter l'unité systemd ou l'override local avec la ligne suivante :
  
-  ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sap +<code ini> 
-     +ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sap 
-relancer le daemon bluetooth+</code>
  
-## check si bt est activé:+Puis relancer le service Bluetooth.
  
-  rfkill +===== Vérifier si le Bluetooth est actif ===== 
-     +<code bash> 
-## se connecter+rfkill 
 +</code>
  
-  sudo bluetoothctl +===== Se connecter ===== 
-     +<code bash> 
-## les outils+sudo bluetoothctl 
 +</code>
  
-* bluetoothctl: outil de contrôle du Bluetooth +===== Outils utiles ===== 
-* hcitool: configurer les connexions Bluetooth et envoyer une commande spéciale aux périphériques  +  * `bluetoothctl` : contrôle interactif du Bluetooth. 
-* l2ping: envoie une requête d’écho L2CAP à l’adresse MAC Bluetooth BD_ADDR donnée en notation hexadécimale +  * `hcitool` : inspection de périphériques Bluetooth classiques. 
-* rfcomm: onfigurer, maintenir et inspecter la configuration RFCOMM du sous-système Bluetooth dans le noyau Linux +  * `l2ping` : test L2CAP vers une adresse BD_ADDR. 
-* gatttool: lire req bt (BLE) aka handles +  * `rfcomm` : gestion des liaisons RFCOMM. 
-* bluez-simple-agent: gérer l’appairage de périphériques Bluetooth +  * `gatttool` : lecture de périphériques BLE anciens. 
-  +  * `bluez-simple-agent` : appairage sur anciennes versions de BlueZ.
- +