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:
721d0c8
)
android/gatt: Support read by group in test commands
author
Jakub Tyszkowski
<jakub.tyszkowski@tieto.com>
Thu, 29 May 2014 10:34:07 +0000
(12:34 +0200)
committer
Szymon Janc
<szymon.janc@tieto.com>
Thu, 29 May 2014 11:23:28 +0000
(13:23 +0200)
'u2' command parameter is used as start handle, 'u3' as end handle and
uuid as group type.
android/gatt.c
patch
|
blob
|
history
diff --git
a/android/gatt.c
b/android/gatt.c
index
e425d61
..
9b51ab1
100644
(file)
--- a/
android/gatt.c
+++ b/
android/gatt.c
@@
-3470,6
+3470,8
@@
static uint8_t handle_test_command_read(bdaddr_t *bdaddr, bt_uuid_t *uuid,
length = enc_read_blob_req(u2, u3, pdu, mtu);
break;
case ATT_OP_READ_BY_GROUP_REQ:
+ length = enc_read_by_grp_req(u2, u3, uuid, pdu, mtu);
+ break;
case ATT_OP_READ_MULTI_REQ:
default:
error("gatt: Unknown read type");