Linux

bluetoothctl

interaktiven Bluetooth-Modus starten

sudo bluetoothctl

zeige alle Bluetooth-Geräte an

scan on

Bluetooth-Adapter sichtbar machen

sudo bluetoothctl discoverable on

Bluetooth-Adapter unsichtbar machen

sudo bluetoothctl discoverable off

zeige verbundene Geräte an

sudo bluetoothctl paired-devices

zeigt bekannte Geräte an

sudo bluetoothctl devices

Verbindung zu einem Gerät herstellen

sudo bluetoothctl pair [mac]
sudo bluetoothctl connect [mac]

Verbindung zu einem Gerät beenden

sudo bluetoothctl remove [mac]
sudo bluetoothctl disconnect [mac]

vertrauensvolle Verbindung mit Auto-Start

sudo bluetoothctl trust [mac]

vertrauensvolle Verbindung löschen

sudo bluetoothctl untrust [mac]

Gerät blockieren

sudo bluetoothctl block [mac]

Quelle

https://www.makeuseof.com/manage-bluetooth-linux-with-bluetoothctl/

weitere Bluetooth-Befehle

systemctl