Fix bluetooth_gatt_write_descriptor never getting a response (#4112)
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user