Compartir a través de


Bluetooth API Tests (Compact 2013)

3/26/2014

The aim of this test is to verify whether the common Bluetooth APIs are functioning as expected.

Test Prerequisites

Your device must meet the following requirements before you run this test.

Hardware Prerequisites:

1. Windows Embedded Compact device (DUT) running Microsoft Bluetooth stack.

2. A desktop computer (PEER) running Windows XP SP2 or later or Windows Vista equipped with Bluetooth radio.

Subtests

This test has no subtests.

Setting Up the Test

1. Boot an image on the DUT and PEER

2. Assure that the DUT and the PEER are not paired. Drop all pairings from the user interface.

3. Obtain the Bluetooth address of the PEER. (Method is unique to the reference implementation).

Example: To get the Bluetooth address of the PEER, go to to Device Manager, and expand "Bluetooth Radios".

Right-click one of the Bluetooth radios listed and select Properties.

In the Properties window, click the Advanced tab.

If there is no Advanced tab, try the next Bluetooth radio in the list. Note down the address, without the colons and brackets.

4. Make the DUT and PEER Bluetooth radio discoverable. (Method is unique to the reference implementation).

Example: Go to Control Panel and open "Bluetooth Devices".

Click the "Options" tab and make sure "Turn discovery on" is selected.

Running the Test

1. From the DUT execute " s tux -o -d bthapitst_tk.dll -c "-s <PEER BT MAC Addressr>" -x 1001-1036

2. From the DUT verify the Tux tests are running

Verifying the Test

All the tests must pass.

Troubleshooting the Test

1. If the DUT tux fails for parsing the command line:

* Make sure the PEER BT MAC address does not have a preceding 0x. Example (000a3a7321e5)

* Make sure the PEER BT MAC address is the correct length

See Also

Other Resources

Networking - Bluetooth, Modem, Wireless Tests