Blog Code Forum

ArchLinux:Bluetooth:Headset

From Wiki.cyring.fr

(Difference between revisions)
Jump to: navigation, search
(Page créée avec « <syntaxhighlight lang="c"> $ yaourt bluez bluez-utils # systemctl start bluetooth # systemctl enable bluetooth $ systemctl status bluetooth $ $ bluetoothctl [NEW] Controll... »)
Line 7: Line 7:
$ bluetoothctl
$ bluetoothctl
[NEW] Controller 00:01:02:03:04:F0 CTRL-0 [default]
[NEW] Controller 00:01:02:03:04:F0 CTRL-0 [default]
-
</syntaxhighlight>
+
</syntaxhighlight><br>
<syntaxhighlight lang="ini">
<syntaxhighlight lang="ini">
-
 
[bluetooth]# power on
[bluetooth]# power on
Changing power on succeeded
Changing power on succeeded
Line 33: Line 32:
Connection successful
Connection successful
 +
[bluetooth]# trust 00:a5:b4:c3:d2:e1
 +
Changing 00:a5:b4:c3:d2:e1 trust succeeded
</syntaxhighlight>
</syntaxhighlight>

Revision as of 10:12, 26 December 2013

$ yaourt bluez bluez-utils
# systemctl start bluetooth
# systemctl enable bluetooth
$ systemctl status bluetooth
$
$ bluetoothctl
[NEW] Controller 00:01:02:03:04:F0 CTRL-0 [default]

[bluetooth]# power on
Changing power on succeeded
 
[bluetooth]# scan on
Discovery started
 
[bluetooth]# devices
Device 00:a5:b4:c3:d2:e1 Sennheiser MM400-X
[CHG] Device 00:a5:b4:c3:d2:e1 LegacyPairing: yes
 
[bluetooth]# agent on
Agent registered
 
[bluetooth]# pair 00:a5:b4:c3:d2:e1
Attempting to pair with 00:a5:b4:c3:d2:e1
[CHG] Device 00:a5:b4:c3:d2:e1 Paired: yes
Pairing successful
 
[bluetooth]# connect 00:a5:b4:c3:d2:e1
Attempting to connect to 00:a5:b4:c3:d2:e1
[CHG] Device 00:a5:b4:c3:d2:e1 Connected: yes
Connection successful
 
[bluetooth]# trust 00:a5:b4:c3:d2:e1
Changing 00:a5:b4:c3:d2:e1 trust succeeded
Personal tools