Commit: 98fe46b1dc8142972d6722b950f68fd4f9fcc7f2
Parent: 903688f1e29ddd9033a2c2212be91ceb91584b93
Author: Arman Uguray <armansito@chromium.org>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2014-09-05 06:39:17
Tree: 6c30163466760d17b329fb80c85082592f9ada48

shared/gatt-client: Added bt_gatt_client_write_long_value. Moved the bt_gatt_write_long_value function from shared/gatt-helpers to shared/gatt-client as bt_gatt_client_write_long_value. Multiple requests to start a long write operation are queued by bt_gatt_client. This is to avoid canceling a prepared write to an unintended handle as well as to prevent multiple long write requests to the same handle from resulting in an unintended attribute value due to interleaving.

Diffstat

M src/shared/gatt-client.c | 318 ++++++++++++++++++++++++++++++++++++++++
M src/shared/gatt-client.h | 10 ++++++++++
M src/shared/gatt-helpers.c | 247 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M src/shared/gatt-helpers.h | 10 - - - - - - - - - -

4 files changed, 328 insertions(+), 257 deletions(-)

View Full Diff | Patch