From 0ce46700de291acff5f5b7a32fae875dc1265b2d Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 8 Apr 2016 12:35:18 +0200 Subject: [PATCH] gatt_client: drop packet handler for gatt_client_write_value_of_characteristic_without_response --- platform/daemon/src/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/daemon/src/daemon.c b/platform/daemon/src/daemon.c index 75911376d..00fc0b8a6 100644 --- a/platform/daemon/src/daemon.c +++ b/platform/daemon/src/daemon.c @@ -1213,7 +1213,7 @@ static int btstack_command_handler(connection_t *connection, uint8_t *packet, ui data_length = little_endian_read_16(packet, 5 + CHARACTERISTIC_LENGTH); data = gatt_helper->characteristic_buffer; memcpy(data, &packet[7 + CHARACTERISTIC_LENGTH], data_length); - gatt_client_write_value_of_characteristic_without_response(&handle_gatt_client_event, gatt_helper->con_handle, characteristic.value_handle, data_length, data); + gatt_client_write_value_of_characteristic_without_response(gatt_helper->con_handle, characteristic.value_handle, data_length, data); break; case GATT_WRITE_VALUE_OF_CHARACTERISTIC: gatt_helper = daemon_setup_gatt_client_request(connection, packet, 1);