OSDN Git Service

gatt: Allow services to indicate eatt support
authorŁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>
Wed, 19 Aug 2020 12:29:37 +0000 (14:29 +0200)
committerJakub Pawlowski <jpawlowski@google.com>
Wed, 19 Aug 2020 17:39:27 +0000 (17:39 +0000)
commit24a42d12d5eb8af2b9b984aa8b74e5510c2b569f
tree3fce00e317785ddae2fadd820f66bd7ebe01f8b8
parent780ce642e5d30a16f27ce363a4a5a1ed61bd7eb6
gatt: Allow services to indicate eatt support

With this patch eatch client/server can decide if EATT support
should be enabled or not.
If eatt_support is set to true, and EATT is available, it will be used for services added.
If eatt_support is set to false, that means only ATT (CID 4) is used for services added.

Tag: #feature
Bug: 159786353
Sponsor: jpawlowski@
Test: compilation
Change-Id: I584172800ce32a4a11df465841d2bc49ab224939
20 files changed:
bta/dm/bta_dm_act.cc
bta/gatt/bta_gattc_act.cc
bta/gatt/bta_gattc_api.cc
bta/gatt/bta_gattc_int.h
bta/gatt/bta_gatts_act.cc
bta/gatt/bta_gatts_api.cc
bta/gatt/bta_gatts_int.h
bta/hearing_aid/hearing_aid.cc
bta/hh/bta_hh_le.cc
bta/include/bta_gatt_api.h
btif/src/btif_ble_scanner.cc
btif/src/btif_gatt_client.cc
btif/src/btif_gatt_server.cc
btif/src/btif_gatt_test.cc
stack/gap/gap_ble.cc
stack/gatt/gatt_api.cc
stack/gatt/gatt_attr.cc
stack/gatt/gatt_int.h
stack/include/gatt_api.h
stack/srvc/srvc_eng.cc