Parent: 260f374e70f985afd821433d8a1e1bf44848226e
Author: Arman Uguray <armansito@chromium.org>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2014-09-11 03:57:35
Tree: 680f529be28f45c2df5410358db897fd6414dbbb
shared/gatt-client: Handle incoming not/ind PDUs. bt_gatt_client now registers an incoming PDU handler for notification and indication PDUs. The PDU is parsed and routed to the notify handler registered with bt_gatt_client_register_notify for the corresponding characteristic value handle. A confirmation PDU is sent automatically for received indications. This patch removes the bt_gatt_register function from shared/gatt-helpers.
Diffstat
| M | src/shared/gatt-client.c | | | 120 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - |
| M | src/shared/gatt-helpers.c | | | 67 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | src/shared/gatt-helpers.h | | | 9 | - - - - - - - - - |
3 files changed, 110 insertions(+), 86 deletions(-)