mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
bluetoothctl: add power and help examples (#7387)
This commit is contained in:
parent
1eb7603197
commit
a77ff935a4
1 changed files with 18 additions and 10 deletions
|
@ -3,26 +3,34 @@
|
||||||
> Manage Bluetooth devices from the command-line.
|
> Manage Bluetooth devices from the command-line.
|
||||||
> More information: <https://www.npmjs.com/package/bluetoothctl>.
|
> More information: <https://www.npmjs.com/package/bluetoothctl>.
|
||||||
|
|
||||||
- Enter the bluetoothctl shell:
|
- Enter the `bluetoothctl` shell:
|
||||||
|
|
||||||
`bluetoothctl`
|
`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:
|
- 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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue