OSDN Git Service

Refactor adding ext prop descriptor
authorHsingYuan Lo <hylo@google.com>
Thu, 17 Sep 2020 08:54:04 +0000 (16:54 +0800)
committerHsingYuan Lo <hylo@google.com>
Thu, 17 Sep 2020 10:02:53 +0000 (18:02 +0800)
commitc0076a0dffd470a90a0f95c039de4d9a155377fd
tree476836bbc44aa84e2246a070c6f86d6cc741eb37
parente42ffb89ee22c8773815d35f14bc024863fd72be
Refactor adding ext prop descriptor

In oder to make db hash easier for unit testing
1. Creare a new API to add ext prop descriptor
2. Move the extended properties check to gatt_api.cc

Test: compile
Tag: #refactor
Bug: 110864501
Change-Id: I7afd748e3cd6f6588a30c0f255da4f2ab4b9376c
stack/gatt/gatt_api.cc
stack/gatt/gatt_db.cc
stack/gatt/gatt_int.h