tldr/pages/linux/bluetoothctl.md

37 lines
597 B
Markdown
Raw Normal View History

2019-11-19 12:01:22 +00:00
# bluetoothctl
> Manage Bluetooth devices.
> More information: <https://bitbucket.org/serkanp/bluetoothctl>.
2019-11-19 12:01:22 +00:00
- Enter the `bluetoothctl` shell:
2019-11-19 12:01:22 +00:00
`bluetoothctl`
- List all known devices:
2019-11-19 12:01:22 +00:00
`bluetoothctl devices`
2019-11-19 12:01:22 +00:00
- Power the Bluetooth controller on or off:
2019-11-19 12:01:22 +00:00
`bluetoothctl power {{on|off}}`
- Pair with a device:
`bluetoothctl pair {{mac_address}}`
2019-11-19 12:01:22 +00:00
- Remove a device:
`bluetoothctl remove {{mac_address}}`
- Connect to a paired device:
`bluetoothctl connect {{mac_address}}`
2019-11-19 12:01:22 +00:00
- Disconnect from a paired device:
2019-11-19 12:01:22 +00:00
`bluetoothctl disconnect {{mac_address}}`
2019-11-19 12:01:22 +00:00
- Display help:
2019-11-19 12:01:22 +00:00
`bluetoothctl help`