ubuntu-session

Differences between revisions 4 and 5
Revision 4 as of 2015-08-12 12:43:46
Size: 1505
Editor: pD9ED6913
Comment:
Revision 5 as of 2015-08-13 08:42:58
Size: 1766
Editor: pD9ED6BC5
Comment:
Deletions are marked like this. Additions are marked like this.
Line 57: Line 57:

=== HCI ===

Run the HCI tester with
{{{
$ hci-tester
}}}
Afterwards we have to evaluate the output. Failed commands with status 0x1 (Unknown HCI command) can be ignored as those are then just not supported by the Bluetooth version the device supports

Description

This is a test plan for bluez as used by Ubuntu Touch. It does not cover scenarios and/or test cases for bluez installed on the desktop.

NOTE: This only covers BlueZ 5.x and doesn't respect 4.x in any way.

Dependants/Clients

Test Plan

Test target device: Nexus 4, BQ Aquaris E4.5 Secondary/backup device: TBD

Initial set up:

  • Install latest image on phone
  • Install BlueZ from the silo PPA
  • Reboot the phone

Manual Tests

Kernel Bluetooth Management Layer tests

BlueZ comes with several utilities to test the in-kernel bluetooth management layer. Those are

  • bnep-tester
  • gap-tester
  • hci-tester
  • l2cap-tester
  • mgmt-tester
  • rfcomm-tester
  • sco-tester
  • smp-tester
  • userchan-tester

Each of them tests a different functionality part of the kernel bluetooth management layer. We're going to run all of them as part of this test plan.

As preparation for some of them we have to do the following:

  • Stop the bluetoothd daemon

$ sudo service bluetooth stop
  • Make sure bluetooth is turned off but rfkill not blocked.

$ sudo rfkill unblock bluetooth
$ sudo hciconfig hci0 down
  • Load VHCI kernel module

$ sudo insmod /lib/modules/hci_vhci.ko

HCI

Run the HCI tester with

$ hci-tester

Afterwards we have to evaluate the output. Failed commands with status 0x1 (Unknown HCI command) can be ignored as those are then just not supported by the Bluetooth version the device supports

Process/Merges/TestPlans/ubuntu-session (last edited 2017-09-05 10:17:00 by jibel)