mirror of https://github.com/CrimsonTome/tldr.git
hcitool: add page (#6311)
parent
3e4c519004
commit
d27d2eff5a
|
@ -0,0 +1,36 @@
|
||||||
|
# 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`
|
Loading…
Reference in New Issue