* [PATCH BlueZ] android/hog: Fix using invalid range for external report
@ 2014-06-25 11:49 Luiz Augusto von Dentz
2014-06-26 7:45 ` Szymon Janc
0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2014-06-25 11:49 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
---
android/hog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/android/hog.c b/android/hog.c
index 652c374..4f1a4a8 100644
--- a/android/hog.c
+++ b/android/hog.c
@@ -303,7 +303,7 @@ static void external_report_reference_cb(guint8 status, const guint8 *pdu,
DBG("External report reference read, external report characteristic "
"UUID: 0x%04x", uuid16);
bt_uuid16_create(&uuid, uuid16);
- gatt_discover_char(hog->attrib, 0x00, 0xff, &uuid,
+ gatt_discover_char(hog->attrib, 0x0001, 0xffff, &uuid,
external_service_char_cb, hog);
}
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH BlueZ] android/hog: Fix using invalid range for external report
2014-06-25 11:49 [PATCH BlueZ] android/hog: Fix using invalid range for external report Luiz Augusto von Dentz
@ 2014-06-26 7:45 ` Szymon Janc
0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-06-26 7:45 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hi Luiz,
On Wednesday 25 of June 2014 14:49:07 Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> ---
> android/hog.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/android/hog.c b/android/hog.c
> index 652c374..4f1a4a8 100644
> --- a/android/hog.c
> +++ b/android/hog.c
> @@ -303,7 +303,7 @@ static void external_report_reference_cb(guint8 status, const guint8 *pdu,
> DBG("External report reference read, external report characteristic "
> "UUID: 0x%04x", uuid16);
> bt_uuid16_create(&uuid, uuid16);
> - gatt_discover_char(hog->attrib, 0x00, 0xff, &uuid,
> + gatt_discover_char(hog->attrib, 0x0001, 0xffff, &uuid,
> external_service_char_cb, hog);
> }
>
Applied, thanks.
--
Best regards,
Szymon Janc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-26 7:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25 11:49 [PATCH BlueZ] android/hog: Fix using invalid range for external report Luiz Augusto von Dentz
2014-06-26 7:45 ` Szymon Janc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox