B2G/QA/Bluetooth PTS: Difference between revisions
Jump to navigation
Jump to search
| Line 47: | Line 47: | ||
== PTS Test Cases == | == PTS Test Cases == | ||
N.B. You can search through bugzilla to see test case related bugs. | N.B. You can search through bugzilla to see test case related bugs. | ||
* A2DP | |||
** '''TC_SRC_CC_BV_09_I''' - ([https://bugzilla.mozilla.org/show_bug.cgi?id=906279] bug 906279) | |||
* ACRCP | * ACRCP | ||
** '''TC_TG_NFY_BV_04_C''' - Stop the music, not just pause it. ([https://bugzilla.mozilla.org/show_bug.cgi?id=924775 bug 924775], [https://bugzilla.mozilla.org/show_bug.cgi?id=953034 bug 953034]) | ** '''TC_TG_NFY_BV_04_C''' - Stop the music, not just pause it. ([https://bugzilla.mozilla.org/show_bug.cgi?id=924775 bug 924775], [https://bugzilla.mozilla.org/show_bug.cgi?id=953034 bug 953034]) | ||
Revision as of 06:20, 15 September 2014
- What is Bluetooth Profile Tuning Suite (PTS)?
You will need
- A computer with Windows 7 installed(either x64 or x86).
- A bluetooth.org account(use your mozilla.com to register).
- Download & install PTS Login or Register here.
- A Bluetooth PTS Radio Module.
- A device with Firefox OS that needs to be tested.
Driver installation for PTS dongle
- Disable bluetooth on your laptop to avoid confusion.
- How to stop Windows 7 automatically installing drivers | MS KB2500967
- 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.
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.
- 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.
- (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).
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.
Reference
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
N.B. You can search through bugzilla to see test case related bugs.
- A2DP
- TC_SRC_CC_BV_09_I - ([1] bug 906279)
- ACRCP
- TC_TG_NFY_BV_04_C - Stop the music, not just pause it. (bug 924775, bug 953034)
- TC_TG_RCR_BV_02_C - Playing music with >512kb metadata
- TC_TG_RCR_BV_04_C - Playing music with >512kb metadata
- HFP
- TC_AG_TRS_BV_01_I - The test case requires to turn off cellular network but keeps BT on. Our current UI doesn't support such action so this case is unable to test.
- TC_AG_PSI_BV_03_I - Unable to change battery level - skipping.
- TC_AG_TWC_BV_04_I - SIM of IUT should have 3 way calling enabled.
- TC_AG_TWC_BV_05_I - 主動連線的TWC
- TC_AG_IIA_BV_01_I - Currently no way to de-register a phone from cell network.
- TC_AG_IIA_BV_02_I - Unable to change battery level - skipping.
- TC_AG_IIA_BV_05_I - Unable to change battery level - skipping.
- TC_AG_IID_BV_03_I - Unable to change battery level - skipping.
- TC_AG_IID_BV_04_I - Unable to change battery level - skipping.
- TC_AG_IIC_BV_02_I - Unable to change battery level - skipping.
- TC_AG_IIC_BV_03_I - Currently no way to de-register a phone from cell network.
- HSP
- HSP TC_AG_OAC_BV_01_I - Make outgoing call instead of incoming one.
- OPP
- 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.

