B2G/QA/Bluetooth PTS

From MozillaWiki
< B2G‎ | QA
Revision as of 05:45, 19 June 2014 by Echang (talk | contribs)
Jump to navigation Jump to search


  • Driver installation for PTS dongle.
    • Disable bluetooth on your laptop to avoid confusion.
    • Specify driver for the unknown device in C:\Program Files(x86)\Bluetooth SIG\Bluetooth PTS\PTS Driver, DO NOT let Windows install driver by itself.
    • If CSR BlueCoreBluetooth shown, you are good to go.

CSRBlueCoreBluetoothInDeviceManager.png


  • Setup before testing
    • Create a new Workspace
    • Add mac address of testing device(IUT) to workspace, you can turn on bluetooth and let PTS find it.

NewWorkspaceDeviceAddress.png

    • Select the profiles you need to test to the right column, then save the workspace and quit if you have specific .PICSX to use for testing.

NewWorkspaceSelectTestSuite.png

    • (optional) Put specific <profile>.PICSX files to correspong C:\Program Files(x86)\Bluetooth SIG\Bluetooth PTS\My Workspace\<workspace name>\<profile>\, then launch the PTS and open your workspace.
    • Set the profile active and modify PIXIT as needed, for HFP, we need 3 phones for testing, PIXIT needs to have the other 2 extra phones' number in it. Your testing device is IUT(Implementation Under Test).

PIXIT.png


  • Testing
    • You need to follow direction shown on the pop up exactly in order to pass a test.
    • Choose a small set to run it.

Run.png

  • Terminology
    • TG: Target
    • CT: Controller
    • AG: Audio Gateway
    • SCO: Synchronous Connection Oriented Link (For audio transfer, disconnect/connect to bluetooth headset)
    • ACL: Asynchronous Connectionless Link (For data transfer)
    • IUT: Implementation Under Test
    • SLC: Service Link Connection


  • PTS Test Cases
    • HFP AG_IIA_BV_01_I - Currently no good way to de-register a phone from cell network.
    • HFP AG_IID_BV_03_I - Currently no good way to de-register a phone from cell network.
    • HFP TC_AG_PSI_BV_03_I - Unable to change battery level - skipping.
    • HFP TC_AG_TWC_BV_04_I - SIM of IUT should have 3 way calling enabled.
    • HFP TC_AG_TWC_BV_05_I - 主動連線的TWC
    • HFP TC_AG_IID_BV_03_I - Unable to change battery level - skipping.
    • HFP TC_AG_IID_BV_04_I - Unable to change battery level - skipping.
    • HSP TC_AG_OAC_BV_01_I - Make outgoing call instead of incoming one.
    • OPP TC_CLIENT_OPH_BV_01_I - Turn on Bluetooth, send a photo from Gallery.
    • OPP TC_CLIENT_OPH_BV_02_I - Turn on Bluetooth, send a photo from Gallery.
    • OPP TC_CLIENT_OPH_BV_34_I - Turn on Bluetooth, send a photo from Gallery.