OSDN Git Service

BTA GATT operation queue
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 30 Nov 2017 05:49:32 +0000 (21:49 -0800)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 7 Dec 2017 06:58:06 +0000 (22:58 -0800)
commit80c1e1c4949cdcbae8f58ce697f4cbf505f0642a
tree52a55d5044d1bf49384d5d31cae3491c5f3264d6
parent792a202b397a6e749c3e3459a4b45f628cfa6c6f
BTA GATT operation queue

Currently, HID BTA app have own GATT queue for scheduling reads/writes
during device setup. Such queue will also be needed for Hearing Aid.
This patch makes the GATT queue code generic and clean it up.

Test: manual, bond HID device
Bug: 69623109
Change-Id: Ic893d630ab5154f7c1875748f3e275cbad02a7b2
bta/Android.bp
bta/BUILD.gn
bta/gatt/bta_gattc_queue.cc [new file with mode: 0644]
bta/hh/bta_hh_le.cc
bta/include/bta_gatt_queue.h [new file with mode: 0644]