Differences

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

Link to this comparison view

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