From a77ff935a41e21801a128c2ae3a5afc40dcbb08e Mon Sep 17 00:00:00 2001 From: marchersimon <50295997+marchersimon@users.noreply.github.com> Date: Wed, 10 Nov 2021 23:42:48 +0100 Subject: [PATCH] bluetoothctl: add power and help examples (#7387) --- pages/linux/bluetoothctl.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/pages/linux/bluetoothctl.md b/pages/linux/bluetoothctl.md index 7f4d85c73f..56d18ab129 100644 --- a/pages/linux/bluetoothctl.md +++ b/pages/linux/bluetoothctl.md @@ -3,26 +3,34 @@ > Manage Bluetooth devices from the command-line. > More information: . -- Enter the bluetoothctl shell: +- Enter the `bluetoothctl` shell: `bluetoothctl` -- List devices: +- List all known devices: -`bluetoothctl -- devices` +`bluetoothctl devices` -- Pair a device: +- Power the Bluetooth controller on or off: -`bluetoothctl -- pair {{mac_address}}` +`bluetoothctl power {{on|off}}` + +- Pair with a device: + +`bluetoothctl pair {{mac_address}}` - Remove a device: -`bluetoothctl -- remove {{mac_address}}` +`bluetoothctl remove {{mac_address}}` -- Connect a paired device: +- Connect to a paired device: -`bluetoothctl -- connect {{mac_address}}` +`bluetoothctl connect {{mac_address}}` -- Disconnect a paired device: +- Disconnect from a paired device: -`bluetoothctl -- disconnect {{mac_address}}` +`bluetoothctl disconnect {{mac_address}}` + +- Display help: + +`bluetoothctl help`