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>
Mon, 10 Jul 2017 17:36:14 +0000 (10:36 -0700)
commit5120fedf20eb29fa65cef561c475d18d51197b25
tree4818f8c654864552997dedbe411ca16db75c71dd
parent29f359181ab141023968cdd5a11a0de01ab7541d
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: 35874078
Test: make, test on Android App
Change-Id: Ic470acd63bf45d1c33696abed1e93b30746fb7a2
btif/src/btif_gatt_client.cc
service/hal/fake_bluetooth_gatt_interface.cc
service/low_energy_client.cc