bluetooth

The bluetooth test evaluates the availability and capabilities of v3, v4, and v5, 5.x, and 6 controllers. You can run this test to verify that your system can successfully scan, discover, pair with, and trust other Bluetooth devices.

What the test covers
The bluetooth test is supported on systems with a bluetooth v3, v4, or v5, 5.x, or 6 controller.
RHEL version supported
  • RHEL 8
  • RHEL 9
  • RHEL 10
What the test does
The test uses rfkill command to check the availability of bluetooth controller in the system. It then runs hciconfig or btmgmt command to get the bluetooth controller version. Afterward, the test verifies if the controller can scan, discover, pair with, select, and trust another selected and aligned bluetooth device.

The test uses the bluetoothctl command tool to verify support for bluetooth v3, v4, or v5 devices. If the HUT has multiple bluetooth controllers, the bluetooth test is planned automatically for each bluetooth controller.

Preparing for the test

Before you begin the test, ensure to:

  • Have a device that supports the same or later versions of Bluetooth as the controller.
  • Enable Bluetooth on both the HUT and the pairing device.
  • Pair the devices manually by using the settings application to confirm connectivity.
  • Unpair the devices.
Running the test

The test is interactive. Run the following command and then select the appropriate bluetooth test name from the list that displays.

 rhcert-run

Then, select the device for which you want to test the bluetooth functionality.

Run time
The test takes around 5 minutes to complete. However, the time can vary depending on the bluetooth network connectivity.