Commit Graph

1320 Commits

Author SHA1 Message Date
Wang Meng Yang
1e2241eb4f Merge branch 'feature/refactor_with_broker_v6.1' into 'release/v6.1'
feat(bt): refactor bt sdk with broker for esp32h4 and esp32s31 (6.1)

See merge request espressif/esp-idf!51757
2026-09-03 07:43:18 +08:00
Rahul Tank
f5e9410e62 Merge branch 'bugfix/fix_nimble_issue_310826_v6.1' into 'release/v6.1'
fix(nimble): Fix few nimble issues 31082026

See merge request espressif/esp-idf!52224
2026-09-02 13:31:33 +05:30
Island
429855b705 Merge branch 'feat/adapt_uhci_code_260824_v6.1' into 'release/v6.1'
refactor(hci): switch HCI UART DMA transport to UHCI driver APIs (6.1)

See merge request espressif/esp-idf!52161
2026-09-01 11:28:39 +08:00
Rahul Tank
f3495027b0 fix(nimble): Add support for shorter connection intervals 2026-08-31 20:27:23 +08:00
ShenWeilong
890863c0b0 fix(ble): Fixed occasional supervision timeout and mic error for esp32s31 2026-08-31 20:24:11 +08:00
liqigan
9df5f1c6ef fix(bt/controller): Fixed event mask not set to default value after hci reset 2026-08-31 20:24:11 +08:00
Jin Cheng
ad61b54843 fix(bt/controller): update libbtdm_common_app.a to f60e5b29
- fixed BT ASSERT ID 8486
- relates to BTQABR2023-884
2026-08-31 20:24:11 +08:00
ShenWeilong
313d4cd3f1 fix(ble): Check if there are illegal library files in controller lib path 2026-08-31 20:24:11 +08:00
ShenWeilong
bd68a316f8 change(ble): check the lib folder first in thr controller cmake 2026-08-31 20:24:11 +08:00
ShenWeilong
2829e28730 fix(bt): fixed mempool deinit crash issue for esp32s31 2026-08-31 20:24:11 +08:00
Shen Weilong
f1c41c8949 fix(ble): fixed occasional sched assertion for scan scenario 2026-08-31 20:24:11 +08:00
ShenWeilong
8f2bb43020 feat(bt): updated libble and libbtdm
1. Added strong function for btdm_compressed_assert.
          2. Fixed some berdr hci issues
          3. Updated ble config params structure
2026-08-31 20:24:11 +08:00
liqigan
b086d116bd change(bt/controller): Adapt BR/EDR controller to new architecture 2026-08-31 20:24:11 +08:00
ShenWeilong
18534fb1cd feat(bt): refactor bt sdk with broker for esp32h4 and esp32s31 2026-08-31 20:24:11 +08:00
Jiang Jiang Jian
880b0b1f67 Merge branch 'fix/fix_some_ble_sleep_issues_v6.1' into 'release/v6.1'
Fix/fix some ble sleep issues (6.1)

See merge request espressif/esp-idf!51320
2026-08-31 11:26:01 +08:00
Jiang Jiang Jian
1c220a2399 Merge branch 'change/ble_update_lib_20260717_v6.1' into 'release/v6.1'
change(ble): [AUTO_MR] 20260717 - Update ESP BLE Controller Lib (6.1)

See merge request espressif/esp-idf!50933
2026-08-31 11:13:18 +08:00
zhaoweiliang
78019f04ed refactor(hci): switch HCI UART DMA transport to UHCI driver APIs 2026-08-28 11:48:37 +08:00
Wang Meng Yang
7b8c5df2f6 Merge branch 'bugfix/qos_div_zero_v6.1' into 'release/v6.1'
fix(bt): update ESP32 libbtdm_app.a to fix several issues (v6.1)

See merge request espressif/esp-idf!52052
2026-08-28 09:44:26 +08:00
Jan Beran
a76891bd16 fix(kconfig): use 'n' instead of '0'/'false' for bool defaults
Bool symbols in nimble, BTDM, and two examples used invalid default
literals. The parser already falls back to 'n'; set that explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-27 14:22:22 +08:00
Jin Cheng
8ef2345e67 fix(bt): update ESP32 libbtdm_app.a to fix several issues
- fixed IntegerDividedByZero during Qos negotiation.
  Closes https://github.com/espressif/esp-idf/issues/18951
- ignored the check for bandwidth and retransmission effort when Host
  accepts the SCO connection request.
2026-08-26 08:52:09 +08:00
Wang Mengyang
481b244fe8 fix(bt): Fixed blocking during LMP packet type negotiation on ESP32-S31
In the Bluetooth connections with some smartphones, communication can possibly be blocked
during packet type negotation, when ESP32-S31 attempts to finalize the ACL-U transmission
and waits for the last Tx ACL-U packet to be transmitted, but peer device rejects the
packet with FLOW=STOP in its packet, thus causing a deadlock.

Closes https://github.com/espressif/esp-idf/issues/18797

This MR also provide with some optimizations and fixes
2026-07-31 14:06:02 +08:00
cjin
54b357e089 fix(bt): fix deselect slow clk missing on ESP32-C5 2026-07-30 10:38:54 +08:00
cjin
bfb9a07dbb feat(ble): supported placing bt function in iram on esp32-h4 and esp32-s31 2026-07-30 08:17:26 +08:00
Jin Chen
61de3af919 change(ble): [AUTO_MR] Update lib_esp32c6 to 18aafc6f
(cherry picked from commit 624845829a)

Co-authored-by: cjin <jinchen@espressif.com>
2026-07-20 09:04:13 +08:00
Jin Chen
fa55eb9a35 change(ble): [AUTO_MR] Update lib_esp32c5 to 18aafc6f
(cherry picked from commit fa6e55229d)

Co-authored-by: cjin <jinchen@espressif.com>
2026-07-20 09:04:13 +08:00
Jin Chen
a1cceca3fe change(ble): [AUTO_MR] Update lib_esp32h2 to 18aafc6f
(cherry picked from commit d7b7876c3c)

Co-authored-by: cjin <jinchen@espressif.com>
2026-07-20 09:04:12 +08:00
Jiang Jiang Jian
947e534927 Merge branch 'fix/mmap_cache_flash_wr_v6.1' into 'release/v6.1'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled (v6.1)

See merge request espressif/esp-idf!50117
2026-07-17 10:30:14 +08:00
liqigan
1004beff62 feat(bt/controller): Added LMP debug vendor HCI and fixed some bugs ts on ESP32-S31 2026-07-16 14:30:38 +08:00
liqigan
b93794265f fix(bt/controller): Fixed BR/EDR controller bugs found by regression tests on ESP32-S31
- Fixed the state machine issue caused by security related LMP procedures on ESP32-S31
- Fixed the issue of insufficient air time for ACK reception from the Central on ESP32-S31
- Fixed the page scan collision issue on ESP32-S31
- Fixed read failures for local supported features and extended features on ESP32-S31
- Fixed NULL access issue during SYNC disconnection on ESP32-S31
- Fixed ACL schedule issue during SYNC connection establishment on ESP32-S31
2026-07-16 14:30:38 +08:00
Xiao Xufeng
3e8389cc31 fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-07-15 18:57:08 +08:00
Jiang Jiang Jian
07c6d5eacf Merge branch 'change/ble_update_lib_20260610_v6.1' into 'release/v6.1'
change(ble): [AUTO_MR] 20260610 - Update ESP BLE Controller Lib (6.1)

See merge request espressif/esp-idf!50227
2026-07-03 21:52:31 +08:00
ShenWeilong
ef702ca257 feat(ble): Updated libble to 6bbfb64 on ESP32-S31 and ESP32-H4 2026-07-01 21:06:50 +08:00
Zhou Xiao
89a4da5083 change(ble): [AUTO_MR] Update lib_esp32c6 to a6519790
(cherry picked from commit 226a0483b1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:37 +08:00
Zhou Xiao
9af79c18e3 change(ble): [AUTO_MR] Update lib_esp32c5 to a6519790
(cherry picked from commit a43358587c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:37 +08:00
Zhou Xiao
4e625df6ec change(ble): [AUTO_MR] Update lib_esp32h2 to a6519790
(cherry picked from commit 8a744e8e93)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:36 +08:00
zhanghaipeng
c69d150565 fix(bt): update ESP32 libbtdm_app.a to 4a0f94d5
- Fix connection failure when using RPA with whitelist filtering
- Fix disconnect with reason 0x08 during full scan
- Fix peer RPA resolution failure when advertising with a local identity address
2026-06-29 10:38:51 +08:00
Jin Cheng
e44fcbd35f fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32 2026-06-29 10:38:34 +08:00
Jiang Jiang Jian
c039510b18 Merge branch 'change/ble_update_lib_20260612_v6.1' into 'release/v6.1'
change(ble): [AUTO_MR] 20260612 - Update ESP BLE Controller Lib (6.1)

See merge request espressif/esp-idf!49611
2026-06-23 14:46:22 +08:00
Jiang Jiang Jian
6b2f99fdde Merge branch 'bugfix/s31_wvt_test_v6.1' into 'release/v6.1'
Bugfix/s31 wvt test v6.1

See merge request espressif/esp-idf!49616
2026-06-13 15:01:47 +08:00
Jin Cheng
ad5748f1af fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32-S31 2026-06-12 15:39:17 +08:00
ShenWeilong
30458851b3 feat(ble): updated libble to 71d180a4 for esp32h4 and esp32s31 2026-06-12 14:47:03 +08:00
Zhou Xiao
28093221cc change(ble): [AUTO_MR] Update lib_esp32c2 to 750d4902
(cherry picked from commit 897f3b2af1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-06-12 12:14:40 +08:00
Jiang Jiang Jian
e406662397 Merge branch 'fix/ble_funcs_reset_default_enabled_v6.1' into 'release/v6.1'
fix(bt): Add default BLE controller funcs reset enable (6.1)

See merge request espressif/esp-idf!49139
2026-06-10 11:13:04 +08:00
Jin Cheng
b62e578edd fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32-S31 2026-06-09 16:34:36 +08:00
Jiang Jiang Jian
7cf57fe795 Merge branch 'fix/fix_conn_recycle_assertion_at_halt_v6.1' into 'release/v6.1'
fix(ble): fix conn recycle assertion at halt on ESP32-C2 (6.1)

See merge request espressif/esp-idf!49239
2026-06-05 10:35:22 +08:00
Jiang Jiang Jian
8c0d5b1693 Merge branch 'bugfix/fix_ble_coded_phy_performance_with_wifi_coex_v6.1' into 'release/v6.1'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde) (6.1)

See merge request espressif/esp-idf!48996
2026-06-05 10:28:41 +08:00
Jiang Jiang Jian
77f5214ab0 Merge branch 'fix/some_issue_s31_v6.1' into 'release/v6.1'
fix(bt/controller): fixed several controller issues (v6.1)

See merge request espressif/esp-idf!49117
2026-06-04 15:10:28 +08:00
Jin Chen
6f600996c7 fix(ble): fix conn recycle assertion at halt on ESP32-C2
(cherry picked from commit 5483aeedb6)

Co-authored-by: cjin <jinchen@espressif.com>
2026-06-03 17:54:11 +08:00
wuzhenghui
f34f07ba07 fix(esp_system): update cache livelock workaround bind to interrupt WDT configuration 2026-06-02 17:31:11 +08:00
Zhang Hai Peng
55f922200a fix(bt): Add default BLE controller funcs reset enable
(cherry picked from commit 7c1cb4b296)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-02 10:14:29 +08:00