Skip to content

Commit a13019b

Browse files
rahult-githubespressif-bot
authored andcommitted
fix(nimble): Added code for missing adv stop in blufi
1 parent e207371 commit a13019b

File tree

1 file changed

+5
-2
lines changed
  • components/bt/common/btc/profile/esp/blufi/nimble_host

1 file changed

+5
-2
lines changed

components/bt/common/btc/profile/esp/blufi/nimble_host/esp_blufi.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -511,7 +511,10 @@ void esp_blufi_disconnect(void)
511511
ble_gap_terminate(blufi_env.conn_id, BLE_ERR_REM_USER_CONN_TERM);
512512
}
513513

514-
void esp_blufi_adv_stop(void) {}
514+
void esp_blufi_adv_stop(void)
515+
{
516+
ble_gap_adv_stop();
517+
}
515518

516519
void esp_blufi_send_encap(void *arg)
517520
{

0 commit comments

Comments
 (0)