Commit Graph
86 Commits
Author SHA1 Message Date
Rahul Tank 86297605f9 fix(nimble): Fixes for AI reported issues 2026-07-07 16:34:25 +05:30
Rahul Tank 9b92b5a02b fix(nimble): Defer Events / ATT related information from stack
Defer Events/ ATT related GAP events from stack until connection
 event is sent to GAP layer
2026-07-03 11:21:08 +05:30
Sumeet Singh 959fa33438 fix(nimble): Add npl locks to avoid race condition (v5.3) 2026-06-26 12:29:36 +05:30
ShenWeilong 80aee9c0ae fix(bt): fixed the npl callout stop issue 2026-06-12 15:19:42 +08:00
ShenWeilong 7c16e210c7 change(bt): Separated bt/cmakelist to bt/controller/cmakelist and bt/porting/cmakelist 2026-06-04 11:13:05 +08:00
ShenWeilong e59109e6a5 change(bt): separated host mem apis from bt_osi_mem.c 2026-05-13 14:59:28 +08:00
cjin 8aa53a7bbd feat(ble): supported ble mempool run time allocation for esp ip chips 2026-03-30 00:05:17 +08:00
Jin Cheng a182e1ebb2 fix(bt): fixed semaphore deletion condition in UART DMA deinit 2026-01-20 13:02:34 +08:00
Rahul Tank bb669c46f9 fix(nimble): Add packet sending change in case of controller only configuration 2026-01-08 10:20:33 +05:30
Rahul Tank f4833edd50 fix(nimble): Memory optimization + dynamic memory support 2025-12-24 16:51:24 +05:30
Zhao Wei Liang c1cf60d03f feat(ble): add get used mem api
(cherry picked from commit 149f6c56b3)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-10-16 10:10:44 +08:00
C.S.M 8659c44975 feat(uhci): Add uhci (uart-dma) support on current chips 2025-08-28 18:23:23 +08:00
Zhou Xiaoandcjin 84151af576 feat(ble): support memory allocation check debug feature on ESP32-C2
(cherry picked from commit 7ef90d4113)

Co-authored-by: cjin <jinchen@espressif.com>
2025-07-09 13:14:19 +08:00
Zhou Xiao 2f511e9a87 fix(ble): remove null pointer assert in npl event deinit
(cherry picked from commit ece108c0bf)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:35 +08:00
Rahul Tank 70c9a757c7 Merge branch 'fix/ble_issue_10032025_v5.3' into 'release/v5.3'
fix(nimble): Fix some nimble issues ble_issue_10032025_v5.3

See merge request espressif/esp-idf!37623
2025-04-15 12:32:44 +08:00
Island 97016c986c Merge branch 'feat/optimize_hci_data_recv_process_v5.3' into 'release/v5.3'
Feat/optimize hci data recv process (v5.3)

See merge request espressif/esp-idf!37833
2025-04-15 11:35:08 +08:00
Zhi Wei Jian a025c1870a feat(bt/bluedroid): Support BLE iso in bluedroid host
(cherry picked from commit 7128087646)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-04-01 11:03:34 +08:00
Shen Weilong 50d8535b4f change(bt): moved porting/ext/tinycrypt into common 2025-03-24 11:56:05 +05:30
Zhao Wei Liang 12453eac2b fix(ble): Fixed warning that the gpio is not usable when reconfig hci uart pin
(cherry picked from commit 57417ca30f)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:28 +08:00
Zhao Wei Liang 02dc949a8f fix(ble): delete ble_hci_trans header file
(cherry picked from commit 327182e3e6)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:21 +08:00
Zhao Wei Liang 234e604f27 fix(ble): fixed hci assertion issue when uart interference occurs
(cherry picked from commit 84f0b39e4d)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:19 +08:00
zwl eb0c5ed331 feat(ble): add dtm configuration command in hci example 2024-12-24 19:30:30 +08:00
Abhinav Kudnar 19931368cf fix(nimble): Changing esp_rom_printf to ESP_LOGI when memory allocation fails 2024-12-20 21:45:12 +05:30
Abhinav Kudnar a6b7edc414 fix(nimble): Nimble Error logs in case of memory overflow/failure 2024-12-06 13:20:11 +05:30
Zhao Wei Liang 17c29f773b fix(ble): unified ble memory allocation method
(cherry picked from commit 8e4cc79a27)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-09-24 12:03:34 +08:00
Zhao Wei Liang 1ae74c4dd4 fix(ble): fixed memory leak issue when using uart hci
(cherry picked from commit 4d2c44f511)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-09-18 15:58:07 +08:00
zwl a5f0f83c05 fix(ble): fixed crash issue during deinit host after deinit controller on ESP32-C2 2024-08-30 12:02:53 +08:00
zwl 6e11307d16 fix(ble): fixed tx memory leak issue when controller disable 2024-07-29 11:56:10 +08:00
zwl d5df6dd78b fix(bluetooth/controller): fixed alloc memory fail when use uhci on ESP32-C6 and ESP32-H2 2024-07-17 19:32:22 +08:00
zwl 6089f84653 feat(bluetooth/controller): optimize bt hci layer code 2024-07-17 19:32:22 +08:00
zwl a21f65cb5b feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-24 10:40:33 +08:00
zwl 9fbec0a819 feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-24 10:39:28 +08:00
Sumeet Singh 9f34e4e9d9 feat(nimble): read multiple variable length characteristics 2024-03-07 19:46:54 +05:30
Rahul Tank b2c9d7a834 fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer 2024-03-05 14:28:24 +05:30
fl0wl0w 90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
Rahul Tank 6c614a50ab fix(nimble): Merge hci_common.h file for all chips 2024-01-31 13:41:31 +05:30
Roshan Bangar 51efb20516 feat(nimble): Nimble Host only mode over uart 2024-01-31 09:49:21 +05:30
SumeetSingh19 0bd8301755 feat(nimble): signed write support 2024-01-25 18:34:55 +05:30
luomanruo dededd1267 change(ble): npl count is zero if nimble host is not used
change(ble): added npl eventq put to front

change(ble): added cache safe check in ble power save example

ble(update):
    Update c2 lib to 91b81332
    Update h2 lib to 620fbe79
    Update c6 lib to 620fbe79

fix(ble): fix stack overflow disable at sleep

Revert "change(ble): added ble cca en and thresh option"

This reverts commit 71901499b9.
2024-01-19 16:13:12 +08:00
Rahul Tank df796b3ed9 feat(nimble): Add VSC support for setting chan select algo 2023-12-18 17:46:52 +05:30
luomanruo ca4f9ccedb ble(fix): Fixed crash issue when reset event queue 2023-12-06 14:13:23 +08:00
luomanruo bf44a9e9c6 ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-05 16:12:09 +08:00
Rahul Tank 6b5d5698cf fix(nimble): Add support for VSC to clear legacy adv memory
Legacy adv does not have an API for clear adv memory in controller.
 Added VSC for same.
2023-11-28 18:13:51 +05:30
luomanruo ec119aa694 ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-21 15:00:55 +08:00
cjin 43b53a1885 change(ble): added option for msys buffer source 2023-10-27 16:03:05 +08:00
cjin 926695b000 change: changed ble msys init for controller 2023-09-05 20:40:04 +08:00
Rahul Tank db996617d3 feat(nimble): Add support for LE Data Set Related Address Change command 2023-08-25 10:41:46 +05:30
Rahul Tank 9dafd9f778 feat(mesh): Add support for Duplicate Exception list update VSC for
Nimble
2023-08-01 19:27:29 +05:30
Rahul Tank 027c43e148 fix(nimble): Increase BLE_HOST_SEM_COUNT to allow more semaphore allocation 2023-07-11 17:14:12 +05:30
Rahul Tank b926bf5048 fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-10 15:50:01 +05:30