All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] android/pts: Update GAP PTS test results
@ 2014-08-21 10:23 Marcin Kraglak
  2014-08-22  8:21 ` Szymon Janc
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Kraglak @ 2014-08-21 10:23 UTC (permalink / raw)
  To: linux-bluetooth

---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] android/pts: Update GAP PTS test results
  2014-08-21 10:23 [PATCH] android/pts: Update GAP PTS test results Marcin Kraglak
@ 2014-08-22  8:21 ` Szymon Janc
  0 siblings, 0 replies; 4+ messages in thread
From: Szymon Janc @ 2014-08-22  8:21 UTC (permalink / raw)
  To: Marcin Kraglak; +Cc: linux-bluetooth

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] android/pts: Update GAP PTS test results
  2014-08-19  7:50 Marcin Kraglak
@ 2014-08-19 17:33 ` Szymon Janc
  0 siblings, 0 replies; 4+ messages in thread
From: Szymon Janc @ 2014-08-19 17:33 UTC (permalink / raw)
  To: Marcin Kraglak; +Cc: linux-bluetooth

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] android/pts: Update GAP PTS test results
@ 2014-08-19  7:50 Marcin Kraglak
  2014-08-19 17:33 ` Szymon Janc
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Kraglak @ 2014-08-19  7:50 UTC (permalink / raw)
  To: linux-bluetooth

---
 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
 -------------------------------------------------------------------------------
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-22  8:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-21 10:23 [PATCH] android/pts: Update GAP PTS test results Marcin Kraglak
2014-08-22  8:21 ` Szymon Janc
  -- strict thread matches above, loose matches on Subject: below --
2014-08-19  7:50 Marcin Kraglak
2014-08-19 17:33 ` Szymon Janc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.