2014-08-21 10:23:15

by Marcin Kraglak

[permalink] [raw]
Subject: [PATCH] android/pts: Update GAP PTS test results

---
android/pts-gap.txt | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/android/pts-gap.txt b/android/pts-gap.txt
index 3076310..05a2ddb 100644
--- a/android/pts-gap.txt
+++ b/android/pts-gap.txt
@@ -172,10 +172,17 @@ TC_BOND_NBON_BV_02_C PASS haltest: gattc register_client
bluetooth create_bond <address>
bluetooth remove_bond <address>
TC_BOND_NBON_BV_03_C PASS haltest: gattc listen
-TC_BOND_BON_BV_01_C INC gattc register_client
- gattc listen 1
- bluetooth create_bond <pts_bdaddr>
- JIRA #BA-68
+TC_BOND_BON_BV_01_C PASS #12503 however it is possible to pass it without
+ entering securid (Bonding - No MITM):
+ btmgmt power on
+ btmgmt le on
+ btmgmt ssp on
+ btmgmt connectable on
+ btmgmt discov on
+ btmgmt advertising on
+ btmgmt pairable on
+ To bond with PTS execute
+ btmgmt pair -t 0x01 -c 0x03 <PTS addr>
TC_BOND_BON_BV_02_C PASS
TC_BOND_BON_BV_03_C PASS gattc register_client
gattc listen 1
--
1.9.3



2014-08-22 08:21:09

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/pts: Update GAP PTS test results

Hi Marcin,

On Thursday 21 of August 2014 12:23:15 Marcin Kraglak wrote:
> ---
> android/pts-gap.txt | 15 +++++++++++----
> 1 file changed, 11 insertions(+), 4 deletions(-)
>
> diff --git a/android/pts-gap.txt b/android/pts-gap.txt
> index 3076310..05a2ddb 100644
> --- a/android/pts-gap.txt
> +++ b/android/pts-gap.txt
> @@ -172,10 +172,17 @@ TC_BOND_NBON_BV_02_C PASS haltest: gattc register_client
> bluetooth create_bond <address>
> bluetooth remove_bond <address>
> TC_BOND_NBON_BV_03_C PASS haltest: gattc listen
> -TC_BOND_BON_BV_01_C INC gattc register_client
> - gattc listen 1
> - bluetooth create_bond <pts_bdaddr>
> - JIRA #BA-68
> +TC_BOND_BON_BV_01_C PASS #12503 however it is possible to pass it without
> + entering securid (Bonding - No MITM):
> + btmgmt power on
> + btmgmt le on
> + btmgmt ssp on
> + btmgmt connectable on
> + btmgmt discov on
> + btmgmt advertising on
> + btmgmt pairable on
> + To bond with PTS execute
> + btmgmt pair -t 0x01 -c 0x03 <PTS addr>
> TC_BOND_BON_BV_02_C PASS
> TC_BOND_BON_BV_03_C PASS gattc register_client
> gattc listen 1
>

Patch applied, thanks.

--
Best regards,
Szymon Janc

2014-08-19 17:33:31

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/pts: Update GAP PTS test results

Hi Marcin,

On Tuesday 19 of August 2014 09:50:55 Marcin Kraglak wrote:
> ---
> android/pts-gap.txt | 36 ++++++++++++++++++++++++++----------
> 1 file changed, 26 insertions(+), 10 deletions(-)
>
> diff --git a/android/pts-gap.txt b/android/pts-gap.txt
> index af75dff..6e0936a 100644
> --- a/android/pts-gap.txt
> +++ b/android/pts-gap.txt
> @@ -3,7 +3,7 @@ PTS test results for GAP
> PTS version: 5.2
> Tested: 01-August-2014
> Android version: 4.4.4
> -Kernel version: 3.17
> +Kernel version: 3.18
>
> Results:
> PASS test passed
> @@ -397,14 +397,30 @@ TC_DM_LEP_BV_05_C PASS btmgmt find -b
> TC_DM_LEP_BV_06_C PASS
> TC_DM_LEP_BV_07_C PASS
> TC_DM_LEP_BV_08_C PASS
> -TC_DM_LEP_BV_09_C INC JIRA #BA-64
> -TC_DM_LEP_BV_10_C INC haltest:
> - gattc listen 1
> - gattc listen 1 0
> +TC_DM_LEP_BV_09_C PASS haltest:
> + bluetooth enable
> + bluetooth set_adapter_property
> + BT_PROPERTY_ADAPTER_SCAN_MODE
> + BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
> + gattc register_client
> bluetooth start_discovery
> - bluetooth cancel_discovery
> - gattc listen 1
> - gattc listen 1 0
> - bluetooth create_bond
> -TC_DM_LEP_BV_11_C INC
> + gattc connect
> + l2test -n -P 31 <PTS addr>
> + disconnect
> +TC_DM_LEP_BV_10_C PASS haltest:
> + bluetooth enable
> + bluetooth set_adapter_property
> + BT_PROPERTY_ADAPTER_SCAN_MODE
> + BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
> + gattc register_client
> + gattc listen
> + bluetooth start_discovery
> + l2test -n -P 31 <PTS addr>
> +TC_DM_LEP_BV_11_C PASS haltest:
> + bluetooth enable
> + bluetooth set_adapter_property
> + BT_PROPERTY_ADAPTER_SCAN_MODE
> + BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
> + gattc register_client
> + gattc connect
> ---------------------------------------------------------------------------
> ----

Applied, thanks.

--
BR
Szymon Janc