Parent: 75ed21b2806cccac4ae2789c0c1a931a1a511e4a
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-03-04 19:54:40
Tree: 4b79f4bb166c39c61039e0e36cc37f550959e8e5
core/gatt: Make CCC addition API public This patch adds the btd_gatt_database_add_ccc function to the database's public API. The signature has been extended to accept a callback that gets invoked to notify the upper layer when a CCC write is performed. The result is cached by the database on a per-device basis while the callback is invoked for all writes from all devices.
Diffstat
| M | src/gatt-database.c | | | 129 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - |
| M | src/gatt-database.h | | | 11 | +++++++++++ |
2 files changed, 124 insertions(+), 16 deletions(-)