Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/2] android/pics-hogp: Fix having both types of discover set
@ 2014-06-23 12:46 Luiz Augusto von Dentz
  2014-06-23 12:46 ` [PATCH BlueZ 2/2] android/pics-hogp: Do not set Suspend feature Luiz Augusto von Dentz
  2014-06-24  7:51 ` [PATCH BlueZ 1/2] android/pics-hogp: Fix having both types of discover set Szymon Janc
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2014-06-23 12:46 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

Currently the code discover by service handle and not by UUID.
---
 android/pics-hogp.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/pics-hogp.txt b/android/pics-hogp.txt
index 81e182c..6544b54 100644
--- a/android/pics-hogp.txt
+++ b/android/pics-hogp.txt
@@ -330,10 +330,10 @@ TSPC_HOGP_13_1	True		Attribute Protocol supported over LE Transport
 				(M)
 TSPC_HOGP_13_2	True		Generic Attribute Profile Client (M)
 TSPC_HOGP_13_3	True		Discover All Primary Services (C.1)
-TSPC_HOGP_13_4	True		Discover Primary Services by Service UUID (C.1)
+TSPC_HOGP_13_4	False		Discover Primary Services by Service UUID (C.1)
 TSPC_HOGP_13_5	True		Find Included Services (M)
 TSPC_HOGP_13_6	True		Discover All Characteristics of a Service (C.2)
-TSPC_HOGP_13_7	True		Discover Characteristics by UUID (C.2)
+TSPC_HOGP_13_7	False		Discover Characteristics by UUID (C.2)
 TSPC_HOGP_13_8	True		Discover All Characteristic Descriptors (M)
 TSPC_HOGP_13_9	True		Read Characteristic Value (M)
 TSPC_HOGP_13_10	True		Read using Characteristic UUID (O)
-- 
1.9.3


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

* [PATCH BlueZ 2/2] android/pics-hogp: Do not set Suspend feature
  2014-06-23 12:46 [PATCH BlueZ 1/2] android/pics-hogp: Fix having both types of discover set Luiz Augusto von Dentz
@ 2014-06-23 12:46 ` Luiz Augusto von Dentz
  2014-06-24  7:51 ` [PATCH BlueZ 1/2] android/pics-hogp: Fix having both types of discover set Szymon Janc
  1 sibling, 0 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2014-06-23 12:46 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This requires integration with Android power management so leave it out
for now.
---
 android/pics-hogp.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/android/pics-hogp.txt b/android/pics-hogp.txt
index 6544b54..aefdf2b 100644
--- a/android/pics-hogp.txt
+++ b/android/pics-hogp.txt
@@ -244,11 +244,11 @@ TSPC_HOGP_11_11a True		Report characteristic configuration with 0x0000
 
 TSPC_HOGP_11_12	True		Read HID Information characteristic
 					(M)
-TSPC_HOGP_11_13	True		Suspend State (O)
-TSPC_HOGP_11_14	True		Exit Suspend State (C.1)
-TSPC_HOGP_11_15	True		Write HID Control Point characteristic: Suspend
+TSPC_HOGP_11_13	False		Suspend State (O)
+TSPC_HOGP_11_14	False		Exit Suspend State (C.1)
+TSPC_HOGP_11_15	False		Write HID Control Point characteristic: Suspend
 					command (C.1)
-TSPC_HOGP_11_16	True		Write HID Control Point characteristic: Exit
+TSPC_HOGP_11_16	False		Write HID Control Point characteristic: Exit
 					Suspend command (C.1)
 TSPC_HOGP_11_17	True		Read Protocol Mode characteristic: Get Protocol
 					command (O)
-- 
1.9.3


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

* Re: [PATCH BlueZ 1/2] android/pics-hogp: Fix having both types of discover set
  2014-06-23 12:46 [PATCH BlueZ 1/2] android/pics-hogp: Fix having both types of discover set Luiz Augusto von Dentz
  2014-06-23 12:46 ` [PATCH BlueZ 2/2] android/pics-hogp: Do not set Suspend feature Luiz Augusto von Dentz
@ 2014-06-24  7:51 ` Szymon Janc
  1 sibling, 0 replies; 3+ messages in thread
From: Szymon Janc @ 2014-06-24  7:51 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hi Luiz,

On Monday 23 of June 2014 15:46:16 Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> Currently the code discover by service handle and not by UUID.
> ---
>  android/pics-hogp.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/android/pics-hogp.txt b/android/pics-hogp.txt
> index 81e182c..6544b54 100644
> --- a/android/pics-hogp.txt
> +++ b/android/pics-hogp.txt
> @@ -330,10 +330,10 @@ TSPC_HOGP_13_1	True		Attribute Protocol supported over LE Transport
>  				(M)
>  TSPC_HOGP_13_2	True		Generic Attribute Profile Client (M)
>  TSPC_HOGP_13_3	True		Discover All Primary Services (C.1)
> -TSPC_HOGP_13_4	True		Discover Primary Services by Service UUID (C.1)
> +TSPC_HOGP_13_4	False		Discover Primary Services by Service UUID (C.1)
>  TSPC_HOGP_13_5	True		Find Included Services (M)
>  TSPC_HOGP_13_6	True		Discover All Characteristics of a Service (C.2)
> -TSPC_HOGP_13_7	True		Discover Characteristics by UUID (C.2)
> +TSPC_HOGP_13_7	False		Discover Characteristics by UUID (C.2)
>  TSPC_HOGP_13_8	True		Discover All Characteristic Descriptors (M)
>  TSPC_HOGP_13_9	True		Read Characteristic Value (M)
>  TSPC_HOGP_13_10	True		Read using Characteristic UUID (O)
> 

Both patches applied. Thanks.

-- 
Best regards, 
Szymon Janc

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

end of thread, other threads:[~2014-06-24  7:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-23 12:46 [PATCH BlueZ 1/2] android/pics-hogp: Fix having both types of discover set Luiz Augusto von Dentz
2014-06-23 12:46 ` [PATCH BlueZ 2/2] android/pics-hogp: Do not set Suspend feature Luiz Augusto von Dentz
2014-06-24  7:51 ` [PATCH BlueZ 1/2] android/pics-hogp: Fix having both types of discover set Szymon Janc

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