Parent: d4a259f18c25cc4ce34dac92800f3bccb49d9ae7
Author: Santiago Carot-Nemesio <sancane@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-12-30 12:55:09
Tree: 0bec5343ed7c60e4771848031f7d0534be69d1da
attrib-server: Add attributes in adapter database Each server has its own database so the global database list will be removed. This patch makes a wrapper over attrib_db_add function to get the default GATT server in order to add attributes in the default adapter, int his way we keep backward compatibility with the gatt server interface until the API is updated.
Diffstat
| M | src/attrib-server.c | | | 95 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 61 insertions(+), 34 deletions(-)