This is v5 of previous [PATCH 1/2] shared/gatt-client: Add write prepare and execute v2 handles comments from Luiz plus some clean ups. Main change is that gatt client can start reliable session by calling write prepare with id == 0. In return gatt client will get session id which should be used in following write prepare and execute write. This set also makes sure that on bt_gatt_client_cancel, reliable session will be correctly terminated. Last patch adds means to test this with btgatt-client v3: * Forgoten fixup on last patch now is merged. v4: * Fix parameters order pointed by Gowtham v5: * handles Luiz comments about moving write execute 0x00 to bt_gatt_client_cancel. *** BLURB HERE *** Lukasz Rymanowski (7): tools/btgatt-client: Minor fix of menu alignment shared/gatt-client: Add helper to cancel long write request shared/gatt-client: Make usage of cancel_long_write_cb shared/gatt-client: Add write prepare and execute shared/gatt-client: Add coexistence of long write and prepare write shared/gatt-client: Support cancel of prepare write tools/btgatt-client: Add prepare and execute write src/shared/gatt-client.c | 350 ++++++++++++++++++++++++++++++++++++++++++----- src/shared/gatt-client.h | 12 ++ tools/btgatt-client.c | 212 +++++++++++++++++++++++++++- 3 files changed, 540 insertions(+), 34 deletions(-) -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html