From 688218cd94f1299516a734f9e255dfc8bfe9ca17 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 14 Jul 2014 14:12:06 +0200 Subject: [PATCH] android/gatt: Fix not sending notification for signed write Signed write has no response and notificatino should be send to Android Framework in case of write succeed. --- android/gatt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/gatt.c b/android/gatt.c index f42a6f310..ad99b2791 100644 --- a/android/gatt.c +++ b/android/gatt.c @@ -3092,7 +3092,8 @@ failed: * of error and write with no response */ if (status != HAL_STATUS_SUCCESS || - cmd->write_type == GATT_WRITE_TYPE_NO_RESPONSE) { + cmd->write_type == GATT_WRITE_TYPE_NO_RESPONSE || + cmd->write_type == GATT_WRITE_TYPE_SIGNED) { int32_t gatt_status = (status == HAL_STATUS_SUCCESS) ? GATT_SUCCESS : GATT_FAILURE; -- 2.47.3