Parent: a2c546525e7567c301f52b173f941f3b3d192596
Author: Arman Uguray <armansito@chromium.org>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2014-08-29 00:37:13
Tree: a4ef7105a64854b46ad051ece05ffa1b334b785d
shared/att: Support multiple disconnect handlers. This patch adds support for registering multiple disconnect handlers with an instance of struct bt_att. Unregistering is achieved via a new function AND through bt_att_unregister_all and all disconnect callbacks get automatically unregistered after a single disconnect event.
Diffstat
| M | src/shared/att.c | | | 155 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - |
| M | src/shared/att.h | | | 11 | +++++++- - - - |
2 files changed, 139 insertions(+), 27 deletions(-)