mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
gatt_client: drop packet handler for gatt_client_write_value_of_characteristic_without_response
This commit is contained in:
parent
d057580e4d
commit
0ce46700de
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user