bluetooth
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| bluetooth [2022-02-03 12:22:03] – [Audio-Ausgabe umschalten] manfred | bluetooth [2025-08-10 01:35:10] (aktuell) – manfred | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Bluetooth ====== | ====== Bluetooth ====== | ||
| - | [[http:// | + | * [[http:// |
| + | * [[https:// | ||
| - | ===== Bluetooth-Installation ===== | + | ===== Bluetooth-Installation |
| + | Installation " | ||
| # aptitude install bluez bluez-utils bluez-hcidump | # aptitude install bluez bluez-utils bluez-hcidump | ||
| + | |||
| + | Installation in " | ||
| + | # 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/ | + | > vi /root/bin/ |
| < | < | ||
| #!/bin/bash | #!/bin/bash | ||
| Zeile 149: | Zeile 154: | ||
| dann stellt man die Ausgabe seines Musikplayers auf "'' | dann stellt man die Ausgabe seines Musikplayers auf "'' | ||
| und sonst stellt man die Ausgabe auf "'' | und sonst stellt man die Ausgabe auf "'' | ||
| + | |||
| + | |||
| + | ===== Beispiel mit Debian 11.5 + Cinnamon ===== | ||
| + | |||
| + | > bluetoothctl help | ||
| + | |||
| + | > bluetoothctl list | ||
| + | Controller 58: | ||
| + | |||
| + | > bluetoothctl scan on | ||
| + | Discovery started | ||
| + | [CHG] Controller 58: | ||
| + | [NEW] Device CC: | ||
| + | [NEW] Device 14: | ||
| + | [CHG] Device 4C: | ||
| + | [CHG] Device 4C: | ||
| + | [CHG] Device 4C: | ||
| + | [CHG] Device 4C: | ||
| + | [CHG] Device 4C: | ||
| + | [CHG] Device 4C: | ||
| + | 01 10 39 80 76 71 47 | ||
| + | |||
| + | > bluetoothctl pair 4C: | ||
| + | Attempting to pair with 4C: | ||
| + | [CHG] Device 4C: | ||
| + | [NEW] Primary Service (Handle 0x2d5d) | ||
| + | / | ||
| + | 0000febe-0000-1000-8000-00805f9b34fb | ||
| + | Bose Corporation | ||
| + | ... | ||
| + | [CHG] Device 4C: | ||
| + | [CHG] Device 4C: | ||
| + | [CHG] Device 4C: | ||
| + | Pairing successful | ||
| + | |||
| + | > bluetoothctl connect 4C: | ||
| + | Attempting to connect to 4C: | ||
| + | Connection successful | ||
| + | [CHG] Device CC: | ||
| + | [CHG] Device CC: | ||
| + | |||
| + | > bluetoothctl info 4C: | ||
| + | Device 4C: | ||
| + | Name: Bose Frames | ||
| + | Alias: Bose Frames | ||
| + | Class: 0x00240418 | ||
| + | Icon: audio-card | ||
| + | Paired: yes | ||
| + | Trusted: yes | ||
| + | Blocked: no | ||
| + | Connected: yes | ||
| + | LegacyPairing: | ||
/home/http/wiki/data/attic/bluetooth.1643890923.txt · Zuletzt geändert: von manfred
