Commit Graph

91 Commits

Author SHA1 Message Date
ShenWeilong
e5acf5d5d7 fix(bt): fixed mempool deinit crash issue 2026-09-08 13:05:28 +08:00
Rahul Tank
a3aeccbed4 fix(nimble): Fixes for AI reported issues 2026-07-07 16:28:48 +05:30
Rahul Tank
b5b35c0d25 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:19:43 +05:30
Sumeet Singh
384ebee8d9 fix(nimble): Add npl locks to avoid race condition (v5.4) 2026-06-26 12:26:50 +05:30
ShenWeilong
87744faea5 fix(bt): fixed the npl callout stop issue 2026-06-12 15:17:40 +08:00
ShenWeilong
a8b57a6be0 change(bt): Separated bt/cmakelist to bt/controller/cmakelist and bt/porting/cmakelist 2026-06-04 11:11:54 +08:00
ShenWeilong
87acac35bd change(bt): separated host mem apis from bt_osi_mem.c 2026-05-13 15:13:28 +08:00
Jin Chen
34dcd0d41f feat(ble): supported ble mempool run time allocation for esp ip chips
(cherry picked from commit 84d75cf772)

Co-authored-by: cjin <jinchen@espressif.com>
2026-04-14 14:50:32 +05:30
Jin Cheng
0813a2e8c9 fix(bt): fixed semaphore deletion condition in UART DMA deinit 2026-01-20 13:02:12 +08:00
Rahul Tank
6ac662d4ea fix(nimble): Add packet sending change in case of controller only configuration 2026-01-08 10:17:08 +05:30
Rahul Tank
005d9222cf fix(nimble): Memory optimization + dynamic memory support 2025-12-24 16:49:34 +05:30
Zhao Wei Liang
b870d7c1e8 feat(ble): add get used mem api
(cherry picked from commit 149f6c56b3)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-10-16 10:10:54 +08:00
C.S.M
f148acc534 feat(uhci): Add uhci (uart-dma) support on current chips 2025-08-26 16:06:49 +08:00
cjin
456a4682c8 feat(ble): support memory allocation check debug feature on ESP32-C2 2025-07-11 11:50:20 +08:00
Zhou Xiao
9ef1c15bba 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:56 +08:00
Island
4e61ce24d6 Merge branch 'feat/support_bluedroid_host_iso_feature_master_v5.4' into 'release/v5.4'
Support bluedroid host new  features (v5.4)

See merge request espressif/esp-idf!38163
2025-04-07 16:01:16 +08:00
zhiweijian
e3bf21b31a feat(bt/bluedroid): Support BLE iso in bluedroid host 2025-04-02 10:31:04 +08:00
Island
f6dc2b658d Merge branch 'feat/optimize_hci_data_recv_process_v5.4' into 'release/v5.4'
Feat/optimize hci data recv process (v5.4)

See merge request espressif/esp-idf!37834
2025-04-01 15:12:28 +08:00
Shen Weilong
6ea8cd1c0f change(bt): moved porting/ext/tinycrypt into common 2025-03-27 10:01:17 +05:30
Zhao Wei Liang
11aca2398b 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:51 +08:00
Zhao Wei Liang
1626f36867 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:42 +08:00
Zhao Wei Liang
abc7beac70 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:40 +08:00
Abhinav Kudnar
408d841dfe fix(nimble): Changing esp_rom_printf to ESP_LOGI when memory allocation fails 2025-01-07 16:23:18 +05:30
zwl
7eaf08631e feat(ble): add dtm configuration command in hci example 2024-12-24 19:26:01 +08:00
Abhinav Kudnar
2f6a7ec1ae fix(nimble): Resolved watchdog due to memory exceed prints 2024-11-27 18:00:37 +08:00
Abhinav Kudnar
16d7351cbc fix(nimble): Nimble Error logs in case of memory overflow/failure 2024-11-18 17:47:05 +08:00
zwl
8e4cc79a27 fix(ble): unified ble memory allocation method 2024-09-19 15:49:23 +08:00
zwl
4d2c44f511 fix(ble): fixed memory leak issue when using uart hci 2024-09-18 15:39:26 +08:00
zwl
951d6e44eb fix(ble): fixed crash issue during deinit host after deinit controller on ESP32-C2 2024-08-30 11:46:13 +08:00
morris
39cbba3685 change(gdma): deprecate legacy API
gdma_new_channel() is replaced by gdma_new_ahb_channel() and
gdma_new_axi_channel()
2024-08-28 15:27:35 +08:00
zwl
e4922b9629 fix(ble): fixed tx memory leak issue when controller disable 2024-07-26 14:29:39 +08:00
zwl
d25b1375b5 fix(bluetooth/controller): fixed alloc memory fail when use uhci on ESP32-C6 and ESP32-H2 2024-07-16 15:31:05 +08:00
zwl
6c097b5812 feat(bluetooth/controller): optimize bt hci layer code 2024-07-09 20:43:47 +08:00
zwl
842e3b13a2 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-21 14:58:35 +08:00
zwl
d6240706ea feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-18 15:40:53 +08:00
Rahul Tank
90960d58c6 feat(nimble): Revert support for Enhanced ATT "
This reverts commit f265e50ca0.
2024-05-29 12:39:25 +05:30
Sumeet Singh
f265e50ca0 feat(nimble): Added support for Enhanced ATT or ATT over Enhanced L2CAP Credit Based Flow Control Mode 2024-05-17 12:27:32 +05:30
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