Fix bluetooth_gatt_write_descriptor never getting a response (#4112)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2022-11-29 17:10:02 +13:00
1 parent 56de8e5cc4
commit 873de13b3d
3 files changed
+6 -6

No files matched your search

@@ -241,7 +241,7 @@ void BluetoothProxy::bluetooth_gatt_write_descriptor(const api::BluetoothGATTWri
return;
}
auto err = connection->write_descriptor(msg.handle, msg.data);
auto err = connection->write_descriptor(msg.handle, msg.data, true);
if (err != ESP_OK) {
api::global_api_server->send_bluetooth_gatt_error(msg.address, msg.handle, err);
}