Parent: a1952acd058f63876ffb04c4216d715b811fdd43
Author: Arman Uguray <armansito@chromium.org>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2014-09-11 03:57:35
Tree: 2986809fa84d1725673c1de8417dd3214be0facd
shared/gatt-client: Implement bt_gatt_client_unregister_notify. This patch implements bt_gatt_client_unregister_notify, which is used to remove a previous registered notification/indication handler. This function decreases the per-characteristic count of handlers, and if the count drops to 0, a write request is sent to the CCC descriptor to disable notifications/indications.
Diffstat
| M | src/shared/gatt-client.c | | | 54 | ++++++++++++++++++++++++++++++++++++++++- - - |
1 files changed, 51 insertions(+), 3 deletions(-)