Blog Code Forum



Jump to: navigation, search
$ 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