linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] android/pts: Rerun TC_GAW_CL* testes using gatttool
@ 2014-05-22 21:26 Lukasz Rymanowski
  2014-05-23 14:29 ` Lukasz Rymanowski
  0 siblings, 1 reply; 2+ messages in thread
From: Lukasz Rymanowski @ 2014-05-22 21:26 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: szymon.janc, Lukasz Rymanowski

---
 android/pts-gatt.txt | 210 ++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 175 insertions(+), 35 deletions(-)

diff --git a/android/pts-gatt.txt b/android/pts-gatt.txt
index 86b2555..67912c9 100644
--- a/android/pts-gatt.txt
+++ b/android/pts-gatt.txt
@@ -171,45 +171,185 @@ TC_GAR_SR_BI_32_C	INC
 TC_GAR_SR_BI_33_C	INC
 TC_GAR_SR_BI_34_C	INC
 TC_GAR_SR_BI_35_C	INC
-TC_GAW_CL_BV_01_C	INC
+TC_GAW_CL_BV_01_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-cmd uuid value
+				disconnect
 TC_GAW_CL_BV_02_C	INC
-TC_GAW_CL_BV_03_C	INC
-TC_GAW_CL_BI_02_C	INC
-TC_GAW_CL_BI_03_C	INC
-TC_GAW_CL_BI_04_C	INC
-TC_GAW_CL_BI_05_C	INC
-TC_GAW_CL_BI_06_C	INC
-TC_GAW_CL_BV_05_C	INC
-TC_GAW_CL_BI_07_C	INC
-TC_GAW_CL_BI_08_C	INC
+TC_GAW_CL_BV_03_C	PASS 	 gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_02_C	PASS	 gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_03_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_04_C	PASS 	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_05_C	PASS	 gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_06_C	PASS	 gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BV_05_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_07_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_08_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
 TC_GAW_CL_BI_09_C	INC
-TC_GAW_CL_BI_11_C	INC
-TC_GAW_CL_BI_12_C	INC
-TC_GAW_CL_BI_13_C	INC
-TC_GAW_CL_BV_06_C	INC
-TC_GAW_CL_BI_14_C	INC
-TC_GAW_CL_BI_15_C	INC
-TC_GAW_CL_BI_17_C	INC
-TC_GAW_CL_BI_18_C	INC
-TC_GAW_CL_BI_19_C	INC
-TC_GAW_CL_BV_08_C	INC
-TC_GAW_CL_BI_20_C	INC
-TC_GAW_CL_BI_21_C	INC
-TC_GAW_CL_BI_22_C	INC
-TC_GAW_CL_BI_23_C	INC
-TC_GAW_CL_BI_24_C	INC
-TC_GAW_CL_BV_09_C	INC
-TC_GAW_CL_BI_25_C	INC
-TC_GAW_CL_BI_26_C	INC
+TC_GAW_CL_BI_11_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_12_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_13_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BV_06_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_14_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_15_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_17_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_18_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_19_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BV_08_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_20_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_21_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_22_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_23_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_24_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BV_09_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_25_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_26_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
 TC_GAW_CL_BI_27_C	INC
-TC_GAW_CL_BI_29_C	INC
-TC_GAW_CL_BI_30_C	INC
-TC_GAW_CL_BI_31_C	INC
+TC_GAW_CL_BI_29_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_30_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_31_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
 TC_GAW_CL_BI_32_C	INC
-TC_GAW_CL_BI_33_C	INC
-TC_GAW_CL_BI_34_C	INC
-TC_GAW_CL_BI_35_C	INC
-TC_GAW_CL_BI_36_C	INC
+TC_GAW_CL_BI_33_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_34_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
+TC_GAW_CL_BI_35_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid value
+				disconnect
+TC_GAW_CL_BI_36_C	PASS	gatttool:
+				./gatttool -I -b pts_addr
+				connect
+				char-write-req uuid long_value
+				disconnect
 TC_GAW_SR_BV_01_C	INC
 TC_GAW_SR_BV_02_C	INC
 TC_GAW_SR_BI_01_C	INC
-- 
1.8.4


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

* Re: [PATCH] android/pts: Rerun TC_GAW_CL* testes using gatttool
  2014-05-22 21:26 [PATCH] android/pts: Rerun TC_GAW_CL* testes using gatttool Lukasz Rymanowski
@ 2014-05-23 14:29 ` Lukasz Rymanowski
  0 siblings, 0 replies; 2+ messages in thread
From: Lukasz Rymanowski @ 2014-05-23 14:29 UTC (permalink / raw)
  To: linux-bluetooth@vger.kernel.org; +Cc: Szymon Janc, Lukasz Rymanowski

Hi,



On 22 May 2014 23:26, Lukasz Rymanowski <lukasz.rymanowski@tieto.com> wrote:
> ---
>  android/pts-gatt.txt | 210 ++++++++++++++++++++++++++++++++++++++++++---------
>  1 file changed, 175 insertions(+), 35 deletions(-)
>
> diff --git a/android/pts-gatt.txt b/android/pts-gatt.txt
> index 86b2555..67912c9 100644
> --- a/android/pts-gatt.txt
> +++ b/android/pts-gatt.txt
> @@ -171,45 +171,185 @@ TC_GAR_SR_BI_32_C        INC
>  TC_GAR_SR_BI_33_C      INC
>  TC_GAR_SR_BI_34_C      INC
>  TC_GAR_SR_BI_35_C      INC
> -TC_GAW_CL_BV_01_C      INC
> +TC_GAW_CL_BV_01_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-cmd uuid value
> +                               disconnect
>  TC_GAW_CL_BV_02_C      INC
> -TC_GAW_CL_BV_03_C      INC
> -TC_GAW_CL_BI_02_C      INC
> -TC_GAW_CL_BI_03_C      INC
> -TC_GAW_CL_BI_04_C      INC
> -TC_GAW_CL_BI_05_C      INC
> -TC_GAW_CL_BI_06_C      INC
> -TC_GAW_CL_BV_05_C      INC
> -TC_GAW_CL_BI_07_C      INC
> -TC_GAW_CL_BI_08_C      INC
> +TC_GAW_CL_BV_03_C      PASS     gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_02_C      PASS     gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_03_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_04_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_05_C      PASS     gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_06_C      PASS     gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BV_05_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_07_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_08_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
>  TC_GAW_CL_BI_09_C      INC
> -TC_GAW_CL_BI_11_C      INC
> -TC_GAW_CL_BI_12_C      INC
> -TC_GAW_CL_BI_13_C      INC
> -TC_GAW_CL_BV_06_C      INC
> -TC_GAW_CL_BI_14_C      INC
> -TC_GAW_CL_BI_15_C      INC
> -TC_GAW_CL_BI_17_C      INC
> -TC_GAW_CL_BI_18_C      INC
> -TC_GAW_CL_BI_19_C      INC
> -TC_GAW_CL_BV_08_C      INC
> -TC_GAW_CL_BI_20_C      INC
> -TC_GAW_CL_BI_21_C      INC
> -TC_GAW_CL_BI_22_C      INC
> -TC_GAW_CL_BI_23_C      INC
> -TC_GAW_CL_BI_24_C      INC
> -TC_GAW_CL_BV_09_C      INC
> -TC_GAW_CL_BI_25_C      INC
> -TC_GAW_CL_BI_26_C      INC
> +TC_GAW_CL_BI_11_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_12_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_13_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BV_06_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_14_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_15_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_17_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_18_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_19_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BV_08_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_20_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_21_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_22_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_23_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_24_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BV_09_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_25_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_26_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
>  TC_GAW_CL_BI_27_C      INC
> -TC_GAW_CL_BI_29_C      INC
> -TC_GAW_CL_BI_30_C      INC
> -TC_GAW_CL_BI_31_C      INC
> +TC_GAW_CL_BI_29_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_30_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_31_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
>  TC_GAW_CL_BI_32_C      INC
> -TC_GAW_CL_BI_33_C      INC
> -TC_GAW_CL_BI_34_C      INC
> -TC_GAW_CL_BI_35_C      INC
> -TC_GAW_CL_BI_36_C      INC
> +TC_GAW_CL_BI_33_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_34_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
> +TC_GAW_CL_BI_35_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid value
> +                               disconnect
> +TC_GAW_CL_BI_36_C      PASS    gatttool:
> +                               ./gatttool -I -b pts_addr
> +                               connect
> +                               char-write-req uuid long_value
> +                               disconnect
>  TC_GAW_SR_BV_01_C      INC
>  TC_GAW_SR_BV_02_C      INC
>  TC_GAW_SR_BI_01_C      INC

Maybe lets wait with this  - new patch with haltest instructions will
come later.

BR
Lukasz
> --
> 1.8.4
>

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

end of thread, other threads:[~2014-05-23 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-22 21:26 [PATCH] android/pts: Rerun TC_GAW_CL* testes using gatttool Lukasz Rymanowski
2014-05-23 14:29 ` Lukasz Rymanowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).