2014-06-17 14:53:27

by Sebastian Chlad

[permalink] [raw]
Subject: [PATCH 1/2] android/pts: PTS test results for HDP

---
android/pts-hdp.txt | 110 ++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 85 insertions(+), 25 deletions(-)

diff --git a/android/pts-hdp.txt b/android/pts-hdp.txt
index 1dec18c..bdf8eca 100644
--- a/android/pts-hdp.txt
+++ b/android/pts-hdp.txt
@@ -1,7 +1,7 @@
PTS test results for HDP

PTS version: 5.1
-Tested: not tested
+Tested: 17-June-2014
Android version: 4.4.2

Results:
@@ -13,18 +13,51 @@ N/A test is disabled due to PICS setup
-------------------------------------------------------------------------------
Test Name Result Notes
-------------------------------------------------------------------------------
-TC_SRC_CON_BV_01_I INC
-TC_SRC_CON_BV_02_I INC
-TC_SRC_CON_BV_03_I INC
-TC_SRC_CON_BV_04_I INC
-TC_SRC_CON_BV_05_I INC
-TC_SRC_CON_BV_06_I INC
-TC_SRC_CON_BV_07_I INC
-TC_SRC_CON_BV_08_I INC
-TC_SRC_CON_BV_09_I INC
-TC_SRC_CON_BV_10_I INC
-TC_SRC_CC_BV_01_C INC
-TC_SRC_CC_BV_02_C INC
+TC_SRC_CON_BV_01_I PASS haltest:
+ bluetooth enable
+
+ bluetooth set_adapter_property
+ BT_PROPERTY_ADAPTER_SCAN_MODE
+ BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
+
+ hl register_application <args>
+ for instance:
+ hl register_application health intel heartrate
+ heartrate-monitor 1 BTHL_MDEP_ROLE_SOURCE 4100
+ BTHL_CHANNEL_TYPE_RELIABLE testing
+
+ when prompted:
+ bluetooth ssp_reply <args>
+ for instance:
+ bluetooth ssp_reply <bdaddr>
+ BT_SSP_VARIANT_CONSENT 1
+TC_SRC_CON_BV_02_I PASS
+TC_SRC_CON_BV_03_I PASS when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_04_I PASS haltest:
+ hl connect_channel <app_id> <bd_addr>
+ <mdep_cfg_index>
+
+ when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_05_I PASS when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_06_I PASS haltest:
+ hl connect_channel <app_id> <bd_addr>
+ <mdep_cfg_index>
+
+ when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_07_I PASS when prompted: bluetooth start_discovery
+TC_SRC_CON_BV_08_I PASS when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_09_I PASS haltest:
+ hl connect_channel <app_id> <bd_addr>
+ <mdep_cfg_index>
+
+ when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_10_I N/A
+TC_SRC_CC_BV_01_C PASS haltest:
+ hl connect_channel <app_id> <bd_addr>
+ <mdep_cfg_index>
+
+ when prompted: bluetooth ssp_reply <args>
+TC_SRC_CC_BV_02_C PASS when prompted: bluetooth ssp_reply <args>
TC_SRC_CC_BV_03_C INC
TC_SRC_CC_BV_05_C INC
TC_SRC_CC_BV_07_C INC
@@ -41,18 +74,45 @@ TC_SRC_DE_BV_01_I INC
TC_SRC_DE_BV_02_I INC
TC_SRC_DEP_BV_01_I INC
TC_SRC_DEP_BV_02_I N/A
-TC_SNK_CON_BV_01_I INC
-TC_SNK_CON_BV_02_I INC
-TC_SNK_CON_BV_03_I INC
-TC_SNK_CON_BV_04_I INC
-TC_SNK_CON_BV_05_I INC
-TC_SNK_CON_BV_06_I INC
-TC_SNK_CON_BV_07_I INC
-TC_SNK_CON_BV_08_I INC
-TC_SNK_CON_BV_09_I INC
-TC_SNK_CON_BV_10_I INC
-TC_SNK_CC_BV_01_C INC
-TC_SNK_CC_BV_02_C INC
+TC_SNK_CON_BV_01_I PASS haltest:
+ hl register_application <args>
+ for instance:
+ hl register_application health intel heartrate
+ heartrate-monitor 1 BTHL_MDEP_ROLE_SINK 4100
+ BTHL_CHANNEL_TYPE_RELIABLE testing
+
+ when prompted:
+ bluetooth ssp_reply <args>
+ for instance:
+ bluetooth ssp_reply <bdaddr>
+ BT_SSP_VARIANT_CONSENT 1
+TC_SNK_CON_BV_02_I PASS
+TC_SNK_CON_BV_03_I PASS when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_04_I PASS haltest:
+ hl connect_channel <app_id> <bd_addr>
+ <mdep_cfg_index>
+
+ when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_05_I PASS when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_06_I PASS haltest:
+ hl connect_channel <app_id> <bd_addr>
+ <mdep_cfg_index>
+
+ when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_07_I PASS when prompted: bluetooth start_discovery
+TC_SNK_CON_BV_08_I PASS when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_09_I PASS haltest:
+ hl connect_channel <app_id> <bd_addr>
+ <mdep_cfg_index>
+
+ when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_10_I N/A
+TC_SNK_CC_BV_01_C PASS haltest:
+ hl connect_channel <app_id> <bd_addr>
+ <mdep_cfg_index>
+
+ when prompted: bluetooth ssp_reply <args>
+TC_SNK_CC_BV_02_C PASS when prompted: bluetooth ssp_reply <args>
TC_SNK_CC_BV_04_C INC
TC_SNK_CC_BV_06_C INC
TC_SNK_CC_BV_08_C INC
--
1.8.3.2

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



2014-06-17 18:25:01

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH 1/2] android/pts: PTS test results for HDP

Hi Sebastian,

On Tuesday 17 June 2014 17:53:27 Sebastian Chlad wrote:
> ---
> android/pts-hdp.txt | 110
> ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 85
> insertions(+), 25 deletions(-)
>
> diff --git a/android/pts-hdp.txt b/android/pts-hdp.txt
> index 1dec18c..bdf8eca 100644
> --- a/android/pts-hdp.txt
> +++ b/android/pts-hdp.txt
> @@ -1,7 +1,7 @@
> PTS test results for HDP
>
> PTS version: 5.1
> -Tested: not tested
> +Tested: 17-June-2014
> Android version: 4.4.2
>
> Results:
> @@ -13,18 +13,51 @@ N/A test is disabled due to PICS setup
> ---------------------------------------------------------------------------
> ---- Test Name Result Notes
> ---------------------------------------------------------------------------
> ---- -TC_SRC_CON_BV_01_I INC
> -TC_SRC_CON_BV_02_I INC
> -TC_SRC_CON_BV_03_I INC
> -TC_SRC_CON_BV_04_I INC
> -TC_SRC_CON_BV_05_I INC
> -TC_SRC_CON_BV_06_I INC
> -TC_SRC_CON_BV_07_I INC
> -TC_SRC_CON_BV_08_I INC
> -TC_SRC_CON_BV_09_I INC
> -TC_SRC_CON_BV_10_I INC
> -TC_SRC_CC_BV_01_C INC
> -TC_SRC_CC_BV_02_C INC
> +TC_SRC_CON_BV_01_I PASS haltest:
> + bluetooth enable
> +
> + bluetooth set_adapter_property
> + BT_PROPERTY_ADAPTER_SCAN_MODE
> + BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
> +
> + hl register_application <args>
> + for instance:
> + hl register_application health intel heartrate
> + heartrate-monitor 1 BTHL_MDEP_ROLE_SOURCE 4100
> + BTHL_CHANNEL_TYPE_RELIABLE testing
> +
> + when prompted:
> + bluetooth ssp_reply <args>
> + for instance:
> + bluetooth ssp_reply <bdaddr>
> + BT_SSP_VARIANT_CONSENT 1
> +TC_SRC_CON_BV_02_I PASS
> +TC_SRC_CON_BV_03_I PASS when prompted: bluetooth ssp_reply <args>
> +TC_SRC_CON_BV_04_I PASS haltest:
> + hl connect_channel <app_id> <bd_addr>
> + <mdep_cfg_index>
> +
> + when prompted: bluetooth ssp_reply <args>
> +TC_SRC_CON_BV_05_I PASS when prompted: bluetooth ssp_reply <args>
> +TC_SRC_CON_BV_06_I PASS haltest:
> + hl connect_channel <app_id> <bd_addr>
> + <mdep_cfg_index>
> +
> + when prompted: bluetooth ssp_reply <args>
> +TC_SRC_CON_BV_07_I PASS when prompted: bluetooth start_discovery
> +TC_SRC_CON_BV_08_I PASS when prompted: bluetooth ssp_reply <args>
> +TC_SRC_CON_BV_09_I PASS haltest:
> + hl connect_channel <app_id> <bd_addr>
> + <mdep_cfg_index>
> +
> + when prompted: bluetooth ssp_reply <args>
> +TC_SRC_CON_BV_10_I N/A
> +TC_SRC_CC_BV_01_C PASS haltest:
> + hl connect_channel <app_id> <bd_addr>
> + <mdep_cfg_index>
> +
> + when prompted: bluetooth ssp_reply <args>
> +TC_SRC_CC_BV_02_C PASS when prompted: bluetooth ssp_reply <args>
> TC_SRC_CC_BV_03_C INC
> TC_SRC_CC_BV_05_C INC
> TC_SRC_CC_BV_07_C INC
> @@ -41,18 +74,45 @@ TC_SRC_DE_BV_01_I INC
> TC_SRC_DE_BV_02_I INC
> TC_SRC_DEP_BV_01_I INC
> TC_SRC_DEP_BV_02_I N/A
> -TC_SNK_CON_BV_01_I INC
> -TC_SNK_CON_BV_02_I INC
> -TC_SNK_CON_BV_03_I INC
> -TC_SNK_CON_BV_04_I INC
> -TC_SNK_CON_BV_05_I INC
> -TC_SNK_CON_BV_06_I INC
> -TC_SNK_CON_BV_07_I INC
> -TC_SNK_CON_BV_08_I INC
> -TC_SNK_CON_BV_09_I INC
> -TC_SNK_CON_BV_10_I INC
> -TC_SNK_CC_BV_01_C INC
> -TC_SNK_CC_BV_02_C INC
> +TC_SNK_CON_BV_01_I PASS haltest:
> + hl register_application <args>
> + for instance:
> + hl register_application health intel heartrate
> + heartrate-monitor 1 BTHL_MDEP_ROLE_SINK 4100
> + BTHL_CHANNEL_TYPE_RELIABLE testing
> +
> + when prompted:
> + bluetooth ssp_reply <args>
> + for instance:
> + bluetooth ssp_reply <bdaddr>
> + BT_SSP_VARIANT_CONSENT 1
> +TC_SNK_CON_BV_02_I PASS
> +TC_SNK_CON_BV_03_I PASS when prompted: bluetooth ssp_reply <args>
> +TC_SNK_CON_BV_04_I PASS haltest:
> + hl connect_channel <app_id> <bd_addr>
> + <mdep_cfg_index>
> +
> + when prompted: bluetooth ssp_reply <args>
> +TC_SNK_CON_BV_05_I PASS when prompted: bluetooth ssp_reply <args>
> +TC_SNK_CON_BV_06_I PASS haltest:
> + hl connect_channel <app_id> <bd_addr>
> + <mdep_cfg_index>
> +
> + when prompted: bluetooth ssp_reply <args>
> +TC_SNK_CON_BV_07_I PASS when prompted: bluetooth start_discovery
> +TC_SNK_CON_BV_08_I PASS when prompted: bluetooth ssp_reply <args>
> +TC_SNK_CON_BV_09_I PASS haltest:
> + hl connect_channel <app_id> <bd_addr>
> + <mdep_cfg_index>
> +
> + when prompted: bluetooth ssp_reply <args>
> +TC_SNK_CON_BV_10_I N/A
> +TC_SNK_CC_BV_01_C PASS haltest:
> + hl connect_channel <app_id> <bd_addr>
> + <mdep_cfg_index>
> +
> + when prompted: bluetooth ssp_reply <args>
> +TC_SNK_CC_BV_02_C PASS when prompted: bluetooth ssp_reply <args>
> TC_SNK_CC_BV_04_C INC
> TC_SNK_CC_BV_06_C INC
> TC_SNK_CC_BV_08_C INC

Both patches (fixed version of 2/2) applied, thanks.

--
Szymon K. Janc
[email protected]

2014-06-17 14:53:28

by Sebastian Chlad

[permalink] [raw]
Subject: [PATCH 2/2] android/pts: Adjust PICS for HDP

---
android/pics-hdp.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/pics-hdp.txt b/android/pics-hdp.txt
index 3d8020d..73ff6fc 100644
--- a/android/pics-hdp.txt
+++ b/android/pics-hdp.txt
@@ -47,7 +47,7 @@ TSPC_HDP_2_7 True (*) Supports General Inquiry (C.5) (C.4)
TSPC_HDP_2_8 True Supports Acceptance of Bonding requests (M)
TSPC_HDP_2_9 True (*) Supports Initiation of Bonding (O)
TSPC_HDP_2_10 True (*) Supports Extended Inquiry Response (C.7)
-TSPC_HDP_2_11 True (*) Supports use of Health Class of Device (O)
+TSPC_HDP_2_11 False Supports use of Health Class of Device (O)
-------------------------------------------------------------------------------
C.1: Mandatory if TSPC_HDP_2_9 is supported, otherwise Optional.
C.2: Mandatory if Security Mode 2, 3, or 4 is supported, otherwise Optional.
@@ -191,7 +191,7 @@ TSPC_HDP_8_7 True Supports General Inquiry (M) C.4)
TSPC_HDP_8_8 True Supports Acceptance of Bonding requests (M)
TSPC_HDP_8_9 Ture (*) Supports Initiation of Bonding (O)
TSPC_HDP_8_10 True (*) Supports Extended Inquiry Response (C.5) (C.6)
-TSPC_HDP_8_11 True (*) Supports use of Health Class of Device (O)
+TSPC_HDP_8_11 Fale Supports use of Health Class of Device (O)
-------------------------------------------------------------------------------
C.1: Mandatory if TSPC_HDP_8_9 is supported, otherwise Optional.
C.2: Mandatory if Security Mode 2, 3, or 4 is supported, otherwise Optional.
--
1.8.3.2

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.