OSDN Git Service

Add new HAL method get_gatt_db
authorJakub Pawlowski <jpawlowski@google.com>
Fri, 22 Jan 2016 07:26:11 +0000 (23:26 -0800)
committerJakub Pawlowski <jpawlowski@google.com>
Fri, 29 Jan 2016 21:07:18 +0000 (13:07 -0800)
commit533fdbf46fb623aefbe4d0107b5cccd41aec097a
tree494cc7214928b7f0a99106e2abdd5e209b6dc3f1
parent20c68408686ba4fd4d17e21957616e1c60a913b3
Add new HAL method get_gatt_db

Currently getting GATT database from HAL requires multiple calls
and iterating over each element. This is long, unnecessary
complicated process, error prone process. This patch adds new
method, get_gatt_db that can be used to grab whole GATT database
for remote device just in one call.

Change-Id: Ib5d88fbc28d09d5c191e7c0152ca61d6a34f7a81
bta/gatt/bta_gattc_api.c
bta/gatt/bta_gattc_cache.c
bta/gatt/bta_gattc_int.h
bta/include/bta_gatt_api.h
btif/src/btif_gatt_client.c