jair@x1:/etc/default$ bluetooth
bluetoothctl bluetoothd
jair@x1:/etc/default$ bluetoothctl --help
Usage:
bluetoothctl [OPTION...]
Help Options:
-h, --help Show help options
Application Options:
-v, --version Show version information and exit
-a, --agent=CAPABILITY Register agent handler
jair@x1:/etc/default$ bluetoothctl -a
[NEW] Controller 44:85:00:73:70:6B ChromeLinux_6A27 [default]
Agent registered
[bluetooth]# help
Available commands:
list List available controllers
show [ctrl] Controller information
select <ctrl> Select default controller
devices List available devices
paired-devices List paired devices
power <on/off> Set controller power
pairable <on/off> Set controller pairable mode
discoverable <on/off> Set controller discoverable mode
agent <on/off/capability> Enable/disable agent with given capability
default-agent Set agent as the default one
set-scan-filter-uuids [uuid1 uuid2 ...] Set scan filter uuids
set-scan-filter-rssi [rssi] Set scan filter rssi, and clears pathloss
set-scan-filter-pathloss [pathloss] Set scan filter pathloss, and clears rssi
set-scan-filter-transport [transport] Set scan filter transport
set-scan-filter-clear Clears discovery filter.
scan <on/off> Scan for devices
info [dev] Device information
pair [dev] Pair with device
trust [dev] Trust device
untrust [dev] Untrust device
block [dev] Block device
unblock [dev] Unblock device
remove <dev> Remove device
connect <dev> Connect device
disconnect [dev] Disconnect device
list-attributes [dev] List attributes
select-attribute <attribute> Select attribute
attribute-info [attribute] Select attribute
read Read attribute value
write <data=[xx xx ...]> Write attribute value
notify <on/off> Notify attribute value
register-profile <UUID ...> Register profile to connect
unregister-profile Unregister profile
version Display version
quit Quit program
[bluetooth]# list
Controller 44:85:00:73:70:6B ChromeLinux_6A27 [default]
[bluetooth]# devices
[NEW] Device FA:FC:D6:3F:14:19 MX Anywhere 2
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00001812-0000-1000-8000-00805f9b34fb
[CHG] Device FA:FC:D6:3F:14:19 UUIDs: 00010000-0000-1000-8000-011f2000046d
[CHG] Device FA:FC:D6:3F:14:19 Appearance: 0x03c2
[CHG] Device FA:FC:D6:3F:14:19 Icon: input-mouse
[CHG] Device FA:FC:D6:3F:14:19 Modalias: usb:v046DpB013d0007
[bluetooth]# devices
Device FA:FC:D6:3F:14:19 MX Anywhere 2
[bluetooth]# pair
Missing device address argument
[bluetooth]# pair ?
Device ? not available
[bluetooth]# pair FA:FC:D6:3F:14:19 MX Anywhere 2
Device FA:FC:D6:3F:14:19 MX Anywhere 2 not available
[CHG] Device FA:FC:D6:3F:14:19 Connected: no
[CHG] Device FA:FC:D6:3F:14:19 Connected: yes
[MX Anywhere 2]# pair FA:FC:D6:3F:14:19 MX Anywhere 2
Device FA:FC:D6:3F:14:19 MX Anywhere 2 not available
[MX Anywhere 2]# pair FA:FC:D6:3F:14:19
Attempting to pair with FA:FC:D6:3F:14:19
[CHG] Device FA:FC:D6:3F:14:19 Paired: yes
Pairing successful
[MX Anywhere 2]# connect FA:FC:D6:3F:14:19
Attempting to connect to FA:FC:D6:3F:14:19
Connection successful
[MX Anywhere 2]#