Benutzer-Werkzeuge

Webseiten-Werkzeuge


bluetooth

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
bluetooth [2022-02-03 12:22:45] – [Bluetooth-Installation] manfredbluetooth [2025-08-10 01:35:10] (aktuell) manfred
Zeile 1: Zeile 1:
 ====== Bluetooth ====== ====== Bluetooth ======
  
-[[http://wiki.ubuntuusers.de/Bluetooth/Einrichtung]]+  * [[http://wiki.ubuntuusers.de/Bluetooth/Einrichtung]] 
 +  * [[https://www.makeuseof.com/manage-bluetooth-linux-with-bluetoothctl/]]
  
  
-===== Bluetooth-Installation =====+===== Bluetooth-Installation (Ubuntu 14.04) =====
  
-  apt install bluez bluez-utils bluez-hcidump+Installation "früher": 
 +  aptitude install bluez bluez-utils bluez-hcidump 
 + 
 +Installation in "Ubuntu 20.04": 
 +  # apt install bluez bluez-tools bluez-hcidump
  
   # service bluetooth restart   # service bluetooth restart
Zeile 71: Zeile 76:
  
 ein Skript, mit dem man die Anwesenheit eines bekannten Bluetooth-Gerätes ermitteln kann: ein Skript, mit dem man die Anwesenheit eines bekannten Bluetooth-Gerätes ermitteln kann:
-  > vi /home/sbin/bluez_ping.sh+  > vi /root/bin/bluez_ping.sh
 <file> <file>
 #!/bin/bash #!/bin/bash
Zeile 149: Zeile 154:
 dann stellt man die Ausgabe seines Musikplayers auf "''ALSA''" dann stellt man die Ausgabe seines Musikplayers auf "''ALSA''"
 und sonst stellt man die Ausgabe auf "''PulseAudio''" ein.**__ und sonst stellt man die Ausgabe auf "''PulseAudio''" ein.**__
 +
 +
 +===== Beispiel mit Debian 11.5 + Cinnamon =====
 +
 +  > bluetoothctl help
 +
 +  > bluetoothctl list
 +  Controller 58:FB:84:27:CD:EF wanderer [default]
 +
 +  > bluetoothctl scan on
 +  Discovery started
 +  [CHG] Controller 58:FB:84:27:CD:EF Discovering: yes
 +  [NEW] Device CC:B1:1A:E5:F4:19 [TV] Samsung 5 Series (32)
 +  [NEW] Device 14:3F:A6:7E:B5:1B LE_WH-XB900N
 +  [CHG] Device 4C:87:5D:5D:92:B4 RSSI: -40
 +  [CHG] Device 4C:87:5D:5D:92:B4 TxPower: -10
 +  [CHG] Device 4C:87:5D:5D:92:B4 Name: LE-Bose Frames
 +  [CHG] Device 4C:87:5D:5D:92:B4 Alias: LE-Bose Frames
 +  [CHG] Device 4C:87:5D:5D:92:B4 ManufacturerData Key: 0x2001
 +  [CHG] Device 4C:87:5D:5D:92:B4 ManufacturerData Value:
 +    01 10 39 80 76 71 47                             ..9.vqG         
 +
 +  > bluetoothctl pair 4C:87:5D:5D:92:B4
 +  Attempting to pair with 4C:87:5D:5D:92:B4
 +  [CHG] Device 4C:87:5D:5D:92:B4 Connected: yes
 +  [NEW] Primary Service (Handle 0x2d5d)
 +  /org/bluez/hci1/dev_4C_87_5D_5D_92_B3/service0001
 +  0000febe-0000-1000-8000-00805f9b34fb
 +  Bose Corporation
 +  ...
 +  [CHG] Device 4C:87:5D:5D:92:B4 ServicesResolved: yes
 +  [CHG] Device 4C:87:5D:5D:92:B4 Name: LE-Bose Frames
 +  [CHG] Device 4C:87:5D:5D:92:B4 Alias: LE-Bose Frames
 +  Pairing successful
 +
 +  > bluetoothctl connect 4C:87:5D:5D:92:B4
 +  Attempting to connect to 4C:87:5D:5D:92:B4
 +  Connection successful
 +  [CHG] Device CC:B1:1A:E5:F4:19 RSSI: -69
 +  [CHG] Device CC:B1:1A:E5:F4:19 RSSI: -58
 +
 +  > bluetoothctl info 4C:87:5D:5D:92:B4
 +  Device 4C:87:5D:5D:92:B4 (public)
 +  Name: Bose Frames
 +  Alias: Bose Frames
 +  Class: 0x00240418
 +  Icon: audio-card
 +  Paired: yes
 +  Trusted: yes
 +  Blocked: no
 +  Connected: yes
 +  LegacyPairing: no
  
  
/home/http/wiki/data/attic/bluetooth.1643890965.txt · Zuletzt geändert: von manfred