Skip to content

Master HCItool for Enhanced Bluetooth Connectivity

Discover the power of HCItool for managing and optimizing Bluetooth device interactions. From connecting to devices, assessing signal quality, to managing connections, this guide covers all you need to know for effective Bluetooth device management.


It is required to install net-wireless/bluez with deprecated useflag to get hcitool command

echo "net-wireless/bluez deprecated" >> /etc/portage/package.use/bluez
emerge --ask --changed-use net-wireless/bluez

Connect to device via hcitool

hcitool -i hci0 cc 14:3F:A6:35:AE:17

Print transmit level

hcitool tpl 14:3F:A6:35:AE:17

Print device name

hcitool name 14:3F:A6:35:AE:17

Show manufacturer of dev ice

hcitool info 14:3F:A6:35:AE:17 |grep -i Company

Print signal quality

hcitool lq 14:3F:A6:35:AE:17

Display local devices

hcitool dev

Inquire remote devices

hcitool inq

Scan for remote devices

hcitool scan

Get name from remote device

hcitool name

Get information from remote device

hcitool info <mac_addr>

Start periodic inquiry

hcitool spinq

Exit periodic inquiry

hcitool epinq

Submit arbitrary HCI commands

hcitool cmd

Display active connections

hcitool con

Create connection to remote device

hcitool cc

Disconnect from remote device

hcitool dc

Switch master/slave role

hcitool sr

Change connection packet type

hcitool cpt

Display link quality

hcitool lq

Display transmit power level

hcitool tpl

Display AFH channel map

hcitool afh

Display local devices

hcitool dev

Inquire remote devices

hcitool inq

Scan for remote devices

hcitool scan

Get name from remote device

hcitool name

Get information from remote device

hcitool info

Start periodic inquiry

hcitool spinq

Exit periodic inquiry

hcitool epinq

Submit arbitrary HCI commands

hcitool cmd

Display active connections

hcitool con

Create connection to remote device

hcitool cc

Disconnect from remote device

hcitool dc

Switch master/slave role

hcitool sr

Change connection packet type

hcitool cpt

Display link quality

hcitool lq

Display transmit power level

hcitool tpl

Display AFH channel map

hcitool afh