LinuxCommandLibrary

bluetoothctl

Handling bluetooth devices from the shell.

TLDR

Enter the bluetoothctl shell

$ bluetoothctl
copy

List all known devices
$ bluetoothctl devices
copy

Power the Bluetooth controller on or off
$ bluetoothctl power [on|off]
copy

Pair with a device
$ bluetoothctl pair [mac_address]
copy

Remove a device
$ bluetoothctl remove [mac_address]
copy

Connect to a paired device
$ bluetoothctl connect [mac_address]
copy

Disconnect from a paired device
$ bluetoothctl disconnect [mac_address]
copy

Display help
$ bluetoothctl help
copy

DESCRIPTION

bluetoothctl ver 5.49 Usage:

bluetoothctl [options]

OPTIONS

--agent

Register agent handler: <capability>

--timeout

Timeout in seconds for non-interactive mode

--version

Display version

--help

Display help

Copied to clipboard