Commit: d3c57d0f636bd196d6a8287a7a0b0a4a7476e68d
Parent: 3314e606a2014670a77495255ba7862436ee480b
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@nokia.com>
Date: 2011-03-30 19:37:47
Tree: 278e06d526426806757ed54ab16a38b5be8e90ed

Remove hard-coded handles from example GATT plugin Instead of having static handles, use attrib_db_find_avail() to find available handle ranges. Also split the big register_attributes() into one function per service.

Diffstat

M plugins/gatt-example.c | 350 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 250 insertions(+), 100 deletions(-)

View Full Diff | Patch