From b7e5be07de6eb6d988d6ded9c89f16d69c862308 Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Wed, 31 May 2023 19:29:25 +0530 Subject: [PATCH] Blufi: Fixed compilation issue in blufi for nimble --- .../bt/common/btc/profile/esp/blufi/nimble_host/esp_blufi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/common/btc/profile/esp/blufi/nimble_host/esp_blufi.c b/components/bt/common/btc/profile/esp/blufi/nimble_host/esp_blufi.c index a557e69e52..83f1dde13f 100644 --- a/components/bt/common/btc/profile/esp/blufi/nimble_host/esp_blufi.c +++ b/components/bt/common/btc/profile/esp/blufi/nimble_host/esp_blufi.c @@ -432,7 +432,7 @@ void esp_blufi_send_notify(void *arg) return; } int rc = 0; - rc = ble_gatts_notify_custom(blufi_env.conn_id, gatt_values[1].val_handle, om); + rc = ble_gattc_notify_custom(conn_handle, gatt_values[1].val_handle, om); if (rc != 0) { ESP_LOGE(TAG, "Error in sending notification"); }