Forrest logo
back to the hcitool tool

hcitool:tldr:7364f

hcitool: Check the link quality to a Bluetooth device.
$ hcitool lq ${bdaddr}
try on your machine

The command "hcitool lq ${bdaddr}" is used to check the link quality of a Bluetooth device with the specified Bluetooth Address (bdaddr).

Here's a breakdown of the command:

  • "hcitool" is a command-line utility in Linux used for various Bluetooth operations.
  • "lq" is the command or option used with hcitool to check the link quality.
  • "${bdaddr}" is a placeholder for the Bluetooth Address (also known as BD_ADDR or MAC address) of the Bluetooth device you want to check the link quality for.

When you run this command with the specific Bluetooth Address, it sends a request to the Bluetooth device, and the device responds with the current link quality measurement. The link quality value represents the signal strength and reliability of the Bluetooth connection between the device and your system. Higher values indicate better link quality and performance.

By using this command, you can assess the current link quality of a Bluetooth device and determine how well the connection is established and functioning.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the hcitool tool