OSDN Git Service

GATT: Expose opportunistic client API to Java
authorJack He <siyuanh@google.com>
Thu, 29 Jun 2017 20:58:47 +0000 (13:58 -0700)
committerJack He <siyuanh@google.com>
Tue, 11 Jul 2017 21:41:23 +0000 (14:41 -0700)
commite6f40cd3d9f7285b657512bd9715c7c066e85b9e
tree0dc3a06b714371c2147007e83caabf8835c7b556
parent864cb9d2db55337d883c13aaaed5fb272e87ee9a
GATT: Expose opportunistic client API to Java

* Opportunistic GATT connection allows system service to subscribe to
  characteristic notifications without holding the BLE connection
* Exposing this flag to Java allows Android applications to use it

Bug: 63347806
Test: make, test on Android App
Change-Id: Ic470acd63bf45d1c33696abed1e93b30746fb7a2
Merged-In: Ic470acd63bf45d1c33696abed1e93b30746fb7a2
(cherry picked from commit 5120fedf20eb29fa65cef561c475d18d51197b25)
btif/src/btif_gatt_client.cc
service/hal/fake_bluetooth_gatt_interface.cc
service/low_energy_client.cc