mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 17:41:40 +00:00
42 lines
753 B
Plaintext
42 lines
753 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# hcitool
|
|
|
|
> Monitor, configure connections, and send special commands to Bluetooth devices.
|
|
> More information: <https://manned.org/hcitool>.
|
|
|
|
- Scan for Bluetooth devices:
|
|
|
|
`hcitool scan`
|
|
|
|
- Output the name of a device, returning its MAC address:
|
|
|
|
`hcitool name {{bdaddr}}`
|
|
|
|
- Fetch information about a remote Bluetooth device:
|
|
|
|
`hcitool info {{bdaddr}}`
|
|
|
|
- Check the link quality to a Bluetooth device:
|
|
|
|
`hcitool lq {{bdaddr}}`
|
|
|
|
- Modify the transmit power level:
|
|
|
|
`hcitool tpl {{bdaddr}} {{0|1}}`
|
|
|
|
- Display the link policy:
|
|
|
|
`hcitool lp`
|
|
|
|
- Request authentication with a specific device:
|
|
|
|
`hcitool auth {{bdaddr}}`
|
|
|
|
- Display local devices:
|
|
|
|
`hcitool dev`
|