1
0
Fork 0
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:
marchersimon 2021-11-10 23:42:48 +01:00 committed by GitHub
parent 1eb7603197
commit a77ff935a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`