1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-22 19:53:46 +01:00

Fix bluetooth_gatt_write_descriptor never getting a response (#4112)

This commit is contained in:
J. Nick Koston
2022-11-28 18:10:02 -10:00
committed by GitHub
parent 56de8e5cc4
commit 873de13b3d
3 changed files with 6 additions and 6 deletions

View File

@@ -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);
}