OSDN Git Service

DO NOT MERGE ANYWHERE: Disable the use of GATT cache by default.
authorJacky Cheung <jackyc@google.com>
Tue, 7 Nov 2017 19:17:38 +0000 (11:17 -0800)
committerZheng Zhang <zhzh@google.com>
Thu, 30 Nov 2017 20:31:41 +0000 (20:31 +0000)
commitb050cd5d9a8021e925fbfdf98a5326ff1f8dc8d5
tree40e7990227b12852e188dbc59eb07ed1109a839a
parente69e6e0fabeb18145e5d193fda68249b363373d7
DO NOT MERGE ANYWHERE: Disable the use of GATT cache by default.

When a set of GATT services of a bonded device is cached locally,
an application needs to call BluetoothGatt.refresh() to clear it out
and to trigger a new service discovery.  By disabling local caching,
a service discovery is performed on every connection and that prevents
an application from getting staled GATT services.

bug: 68954828
Change-Id: I2c07404c3d56a5c8a0ffc86bc65d36480f3c46f2
bta/gatt/bta_gattc_cache.c
include/bt_target.h