OSDN Git Service

HID service discovery refactor
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 15 Mar 2016 22:35:38 +0000 (15:35 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 16 Mar 2016 19:17:00 +0000 (19:17 +0000)
commite8187e565382ae9afb52a7992e9a6ab1e3108999
tree573bd4c88def8db31a9043a4dfd0ae77893badd4
parent5204fd71b3ca799942c45a36548faeba4d89477d
HID service discovery refactor

This patch changes how HID is initialized.
Up till now, HID discovery was intricately chained,
to make sure two operations are not scheduled at same time.
From now on, all discovery is done and all operations are
scheduled for execution right away. There is separate set
of functions making sure all operations will be executed
without collisions.

This patch also removes BTA_HH_SCPP_INST_DEF, which was
used as hardcoded service id.

Bug: 27698756
Change-Id: I30a7388e129844c5e4727b2ed2b7c05867cc73a8
bta/hh/bta_hh_int.h
bta/hh/bta_hh_le.c
bta/include/bta_hh_co.h