Parent: 78d406b77ad1e2b7e810f655129143fc2b5406d7
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-11-02 20:53:46
Tree: 6f2a53d64c37fdcc5c9e21a9e2caced2ae97e713
shared/gatt-db: Expose gatt_db_attribute This is the new API to reduce the lookups in gatt_db and make it a little bit more convenient for batch operations, so the general idea is to be able to get a hold of it via gatt_db_get_attribute but also replace the handles in the queues with proper attributes so the server code don't have to lookup again when reading/writing, checking permissions, or any other operation that can be done directly.
Diffstat
| M | src/shared/gatt-db.c | | | 51 | ++++++++++++++++++++++++++++++++++++++++ |
| M | src/shared/gatt-db.h | | | 36 | ++++++++++++++++++++++++++++++++++++ |
2 files changed, 87 insertions(+), 0 deletions(-)