mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-28 13:23:53 +08:00
android/gatt: Support read request in test command
'u2' command parameter is used to pass attribute handle.
This commit is contained in:
parent
7f51fb8f4f
commit
d94367362d
@ -3461,6 +3461,8 @@ static uint8_t handle_test_command_read(bdaddr_t *bdaddr, bt_uuid_t *uuid,
|
||||
|
||||
switch (read_type) {
|
||||
case ATT_OP_READ_REQ:
|
||||
length = enc_read_req(u2, pdu, mtu);
|
||||
break;
|
||||
case ATT_OP_READ_BY_TYPE_REQ:
|
||||
case ATT_OP_READ_BLOB_REQ:
|
||||
case ATT_OP_READ_BY_GROUP_REQ:
|
||||
|
Loading…
Reference in New Issue
Block a user