Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] android/gatt: Update GATT test results
@ 2014-05-30 11:51 Eva Kolanska
  2014-05-30 12:27 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Eva Kolanska @ 2014-05-30 11:51 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Eva Kolanska

---
 android/pts-gatt.txt |   36 +++++++++++++++++++++++++++++++++---
 1 file changed, 33 insertions(+), 3 deletions(-)

diff --git a/android/pts-gatt.txt b/android/pts-gatt.txt
index 5c8fca9..4a650e2 100644
--- a/android/pts-gatt.txt
+++ b/android/pts-gatt.txt
@@ -842,7 +842,12 @@ TC_GAW_SR_BI_25_C	PASS	haltest:
 				gatts add_descriptor: <permmisions> 17
 				gatts start_service
 				gatts send_response: <status> 1
-TC_GAW_SR_BI_26_C	INC
+TC_GAW_SR_BI_26_C	PASS	haltest:
+				gatts add_service
+				gatts add_characteristic:
+						<properties> 10 <permissions> 17
+				gatts add_descriptor: <permmisions> 1
+				gatts start_service
 TC_GAW_SR_BI_27_C	INC
 TC_GAW_SR_BI_29_C	PASS	haltest:
 				gatts add_service
@@ -951,8 +956,33 @@ TC_GPA_CL_BV_08_C	PASS	haltest:
 				gattc connect
 				test_command: <cmd> 224 [u1] 8
 				gattc disconnect
-TC_GPA_CL_BV_11_C	INC	gatttool required
-TC_GPA_CL_BV_12_C	INC	gatttool required
+TC_GPA_CL_BV_11_C	PASS	haltest:
+				gattc connect
+				Repeat following steps 5 times:
+				1.Find Characteristic Aggregate Format
+				gattc test_command <cmd> 224 [u1] 8
+				2.Read aggregate descriptor
+				gattc test_command <cmd> 224 [u1] 10
+				3.Read 3 handles from aggregate descriptor
+									value
+				gattc test_command <cmd> 224 [u1] 10
+				4.Compare descriptors values
+				gattc disconnect
+
+TC_GPA_CL_BV_12_C	PASS	haltest:
+				gattc connect
+				Repeat following steps 5 times:
+				1.Find Characteristic Presentation Format
+				gattc test_command <cmd> 224 [u1] 8
+				2.Find characteristic in this range
+				gattc test_command <cmd> 224 <uuid> 2803 [u1] 8
+				3.Read characteristic declaration
+				gattc test_command <cmd> 224 [u1] 10
+				4.Read characteristic value
+				gattc test_command <cmd> 224 [u1] 10
+				5.Compare characteristic value and
+							presentation format
+				gattc disconnect
 TC_GPA_SR_BV_01_C	PASS
 TC_GPA_SR_BV_02_C	PASS	haltest:
 				gatts add_service
-- 
1.7.9.5


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

* Re: [PATCH] android/gatt: Update GATT test results
  2014-05-30 11:51 [PATCH] android/gatt: Update GATT test results Eva Kolanska
@ 2014-05-30 12:27 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-05-30 12:27 UTC (permalink / raw)
  To: Eva Kolanska; +Cc: linux-bluetooth

Hi Eva,

On Friday 30 of May 2014 13:51:49 Eva Kolanska wrote:
> ---
>  android/pts-gatt.txt |   36 +++++++++++++++++++++++++++++++++---
>  1 file changed, 33 insertions(+), 3 deletions(-)
> 
> diff --git a/android/pts-gatt.txt b/android/pts-gatt.txt
> index 5c8fca9..4a650e2 100644
> --- a/android/pts-gatt.txt
> +++ b/android/pts-gatt.txt
> @@ -842,7 +842,12 @@ TC_GAW_SR_BI_25_C	PASS	haltest:
>  				gatts add_descriptor: <permmisions> 17
>  				gatts start_service
>  				gatts send_response: <status> 1
> -TC_GAW_SR_BI_26_C	INC
> +TC_GAW_SR_BI_26_C	PASS	haltest:
> +				gatts add_service
> +				gatts add_characteristic:
> +						<properties> 10 <permissions> 17
> +				gatts add_descriptor: <permmisions> 1
> +				gatts start_service
>  TC_GAW_SR_BI_27_C	INC
>  TC_GAW_SR_BI_29_C	PASS	haltest:
>  				gatts add_service
> @@ -951,8 +956,33 @@ TC_GPA_CL_BV_08_C	PASS	haltest:
>  				gattc connect
>  				test_command: <cmd> 224 [u1] 8
>  				gattc disconnect
> -TC_GPA_CL_BV_11_C	INC	gatttool required
> -TC_GPA_CL_BV_12_C	INC	gatttool required
> +TC_GPA_CL_BV_11_C	PASS	haltest:
> +				gattc connect
> +				Repeat following steps 5 times:
> +				1.Find Characteristic Aggregate Format
> +				gattc test_command <cmd> 224 [u1] 8
> +				2.Read aggregate descriptor
> +				gattc test_command <cmd> 224 [u1] 10
> +				3.Read 3 handles from aggregate descriptor
> +									value
> +				gattc test_command <cmd> 224 [u1] 10
> +				4.Compare descriptors values
> +				gattc disconnect
> +
> +TC_GPA_CL_BV_12_C	PASS	haltest:
> +				gattc connect
> +				Repeat following steps 5 times:
> +				1.Find Characteristic Presentation Format
> +				gattc test_command <cmd> 224 [u1] 8
> +				2.Find characteristic in this range
> +				gattc test_command <cmd> 224 <uuid> 2803 [u1] 8
> +				3.Read characteristic declaration
> +				gattc test_command <cmd> 224 [u1] 10
> +				4.Read characteristic value
> +				gattc test_command <cmd> 224 [u1] 10
> +				5.Compare characteristic value and
> +							presentation format
> +				gattc disconnect
>  TC_GPA_SR_BV_01_C	PASS
>  TC_GPA_SR_BV_02_C	PASS	haltest:
>  				gatts add_service
> 

Applied, thanks.

-- 
Best regards, 
Szymon Janc

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

end of thread, other threads:[~2014-05-30 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-30 11:51 [PATCH] android/gatt: Update GATT test results Eva Kolanska
2014-05-30 12:27 ` Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox