OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e3ca9
)
android/hal-gatt: Fix sending get characteristic cmd
author
Jakub Tyszkowski
<jakub.tyszkowski@tieto.com>
Tue, 25 Mar 2014 12:53:01 +0000
(13:53 +0100)
committer
Szymon Janc
<szymon.janc@tieto.com>
Tue, 25 Mar 2014 13:05:28 +0000
(14:05 +0100)
android/hal-gatt.c
patch
|
blob
|
history
diff --git
a/android/hal-gatt.c
b/android/hal-gatt.c
index
8a8ce9c
..
51caf8d
100644
(file)
--- a/
android/hal-gatt.c
+++ b/
android/hal-gatt.c
@@
-646,7
+646,7
@@
static bt_status_t get_characteristic(int conn_id, btgatt_srvc_id_t *srvc_id,
cmd->conn_id = conn_id;
srvc_id_to_hal(&cmd->srvc_id, srvc_id);
-
len += sizeof(cmd->srvc_id)
;
+
cmd->number = 0
;
if (start_char_id) {
gatt_id_to_hal(&cmd->gatt_id[0], start_char_id);