tldr/pages/linux/bluetoothctl.md

29 lines
493 B
Markdown

# bluetoothctl
> Manage Bluetooth devices from the command-line.
> More information: <https://www.npmjs.com/package/bluetoothctl>.
- Enter the bluetoothctl shell:
`bluetoothctl`
- List devices:
`bluetoothctl -- devices`
- Pair a device:
`bluetoothctl -- pair {{mac_address}}`
- Remove a device:
`bluetoothctl -- remove {{mac_address}}`
- Connect a paired device:
`bluetoothctl -- connect {{mac_address}}`
- Disconnect a paired device:
`bluetoothctl -- disconnect {{mac_address}}`