From b3ef5ca3f62667c8bc7895cafec5b1d92234c22c Mon Sep 17 00:00:00 2001 From: Jakub Tyszkowski Date: Thu, 29 May 2014 12:34:07 +0200 Subject: [PATCH] android/gatt: Support read by group in test commands 'u2' command parameter is used as start handle, 'u3' as end handle and uuid as group type. --- android/gatt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/gatt.c b/android/gatt.c index e425d619c..9b51ab1ef 100644 --- 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"); -- 2.47.3