bluetooth
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| bluetooth [2016-04-12 22:50:00] – Externe Bearbeitung 127.0.0.1 | 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 | ||
| - | # /etc/init.d/bluetooth restart | + | Installation in " |
| + | # apt install bluez bluez-tools bluez-hcidump | ||
| + | |||
| + | # service | ||
| # hcitool dev | # hcitool dev | ||
| # hciconfig --all | # hciconfig --all | ||
| 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 147: | Zeile 152: | ||
| __**Wenn man seine Musik über das Bluetooth-Gerät hören will, | __**Wenn man seine Musik über das Bluetooth-Gerät hören will, | ||
| - | dann stellt man die Ausgabe seines Musikplayers | + | dann stellt man die Ausgabe seines Musikplayers |
| 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.1460501400.txt · Zuletzt geändert: von 127.0.0.1
