Parent: 43a3cd87b8c5ed21f17413ea1bfeb10aa1a16441
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-03-11 15:19:24
Tree: 8de1102c6e7a2c64b99228836ed2e11368c18b91
shared/gatt-client: Add write prepare and execute For Android we need explicit write prepare and execute commands in GATT client. This patch adds that. Note that till now prepare and execute has been used only in long write. With this patch it is possible to start reliable write session by the gatt-client. First write prepare will return session ID which shall be used in follow up write prepare request and write execute. Note that write execute is mapped to write execute 0x01 Following patch will add support to send write execute 0x00 using bt_gatt_client_cancel
Diffstat
| M | src/shared/gatt-client.c | | | 260 | ++++++++++++++++++++++++++++++++++++++++ |
| M | src/shared/gatt-client.h | | | 12 | ++++++++++++ |
2 files changed, 272 insertions(+), 0 deletions(-)