← 返回命令列表

Linux command

hcitool 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Scan

hcitool scan

Example

hcitool name [bdaddr]

Example

hcitool info [bdaddr]

Example

hcitool lq [bdaddr]

Example

hcitool tpl [bdaddr] [0|1]

Example

hcitool lp

Example

hcitool auth [bdaddr]

Example

hcitool dev

说明

hcitool is a Bluetooth Host Controller Interface tool for monitoring, configuring connections, and sending commands to Bluetooth devices. It provides low-level access to Bluetooth functionality for diagnostics and advanced configuration. The tool can discover nearby devices, query device information, manage connections, and configure link parameters. It operates at the HCI layer, below the higher-level profiles like A2DP or HFP.

参数

scan
Scan for discoverable Bluetooth devices
dev
List local Bluetooth adapters
name _bdaddr_
Get remote device name
info _bdaddr_
Get remote device information
lq _bdaddr_
Get link quality
tpl _bdaddr_ _type_
Get/set transmit power level
lp
Display link policy
auth _bdaddr_
Request authentication
con
Display active connections
cc _bdaddr_
Create connection
dc _bdaddr_
Disconnect

FAQ

What is the hcitool command used for?

hcitool is a Bluetooth Host Controller Interface tool for monitoring, configuring connections, and sending commands to Bluetooth devices. It provides low-level access to Bluetooth functionality for diagnostics and advanced configuration. The tool can discover nearby devices, query device information, manage connections, and configure link parameters. It operates at the HCI layer, below the higher-level profiles like A2DP or HFP.

How do I run a basic hcitool example?

Run `hcitool scan` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does scan do in hcitool?

Scan for discoverable Bluetooth devices