Commit Graph

1109 Commits

Author SHA1 Message Date
ShenWeilong
66558f8c46 fix(bt): fixed mempool deinit crash issue 2026-09-16 17:22:59 +05:30
Jin Chen
eeecd45929 change(ble): [AUTO_MR] Update lib_esp32c6 to 18aafc6f
(cherry picked from commit 624845829a)

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

Co-authored-by: cjin <jinchen@espressif.com>
2026-07-29 08:42:09 +08:00
Zhou Xiao
8de35b14e7 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:26 +08:00
Zhou Xiao
92d34dbeca 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:26 +08:00
zhanghaipeng
f582365c84 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:43:57 +08:00
Jin Cheng
dc65ed2a64 fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32 2026-06-29 10:43:54 +08:00
Zhou Xiao
e16e202d95 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:30 +08:00
Island
cd4093bbd0 Merge branch 'fix/ble_funcs_reset_default_enabled_v5.3' into 'release/v5.3'
fix(bt): Add default BLE controller funcs reset enable (5.3)

See merge request espressif/esp-idf!49135
2026-06-05 12:13:41 +08:00
Island
5b17c8d5e9 Merge branch 'change/ble_update_lib_20260520_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20260520 - Update ESP BLE Controller Lib (5.3)

See merge request espressif/esp-idf!48767
2026-06-04 19:22:26 +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
zhaoweiliang
3d78f231c3 change(ble): [AUTO_MR] Update lib_esp32h2 to 4adb29e0 2026-06-04 11:13:05 +08:00
zhaoweiliang
440caefd33 change(ble): [AUTO_MR] Update lib_esp32c6 to 4adb29e0 2026-06-04 11:13:05 +08:00
Jin Chen
2f4c977a69 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:02 +08:00
Zhang Hai Peng
71fc9347ed 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:17 +08:00
Rahul Tank
8d4dad7e63 Merge branch 'bugfix/add_support_min_count_v5.3' into 'release/v5.3'
fix(nimble): Add support for shorter connection interval (v5.3)

See merge request espressif/esp-idf!48164
2026-06-01 14:37:30 +05:30
Rahul Tank
bf0964c613 fix(nimble): Add support for shorter connection intervals 2026-05-28 15:58:22 +05:30
Zhang Hai Peng
9d3f572a93 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)
- improve coded PHY performance under Wi-Fi coexistence


(cherry picked from commit 8da824cd0e)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-28 11:24:19 +08:00
linruihao
354a341e3b fix(coex): fix ble coded phy rx issue when aborted by coex 2026-05-28 10:31:17 +08:00
linruihao
9c9628b65c fix(bt): Correct the error code in pairing when pin code req rejected by host 2026-05-26 12:11:49 +08:00
Zhang Hai Peng
bab9c7e569 feat(ble): Support BLE critical logs
(cherry picked from commit 0af57d731c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-14 14:23:36 +08:00
Wang Meng Yang
42a1c5f964 Merge branch 'bugfix/relax_rsw_tid_check_v5.3' into 'release/v5.3'
fix(bt/controller): fixed sevaral controller issues (v5.3)

See merge request espressif/esp-idf!48358
2026-05-13 15:42:41 +08:00
Island
cd34546970 Merge branch 'bugfix/fix_ble_read_remote_feature_timeout_v5.3' into 'release/v5.3'
Fixed read remote feature timeout when using coded phy(2f683593) (5.3)

See merge request espressif/esp-idf!48061
2026-05-12 18:01:44 +08:00
Jin Cheng
edb0593490 fix(bt/controller): fixed sevaral controller issues
- Relax the TID checks during EPR to be compatible with some RealTek devices
        - Closes https://github.com/espressif/esp-idf/issues/18145
    - Fixed wrong HCI event used for eSCO connection update
    - Do not inform the host when conneciton request was automatically rejected
2026-05-11 14:04:15 +08:00
ShenWeilong
b3409aa6e3 fix(ble): always init the default os queue for all of controllers 2026-05-05 00:05:41 +08:00
Zhang Hai Peng
f1bb08c6c7 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2f683593)
- Fixed read remote feature timeout when using coded phy
- Fixed disconnection issue(0x08) when using 125k coded phy
- Fixed disconnection issue(0x08) when updating connection param
- Fixed disconnection issue(0x08) when using multi connection
- Avoid error when adding duplicate device to whitelist
- Support disable channel assessment by vendor hci
- Support smaller connection interval (3.75 ms)
- Support duplicate exception list in EVT ADV


(cherry picked from commit 658ff8730b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-04-29 14:53:24 +08:00
Shen Wei Long
9361b1c43f change(ble): [AUTO_MR] Update lib_esp32c6 to 6c6de5d6
(cherry picked from commit 70acbd85f2)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:43:25 +00:00
Shen Wei Long
56f2a2446a change(ble): [AUTO_MR] Update lib_esp32h2 to 6c6de5d6
(cherry picked from commit f3b2bf78aa)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:43:24 +00:00
Jiang Jiang Jian
734142bff5 Merge branch 'bugfix/fix_some_bt_coex_bugs_v5.3' into 'release/v5.3'
fix(coex): fix some esp32 coexistence bugs (Backport v5.3)

See merge request espressif/esp-idf!47408
2026-04-12 14:46:22 +08:00
linruihao
91e2fc2233 fix(coex): fix some esp32 coexistence bugs
- fix ble scan may restart twice in coex scenarios
- fix bredr page/pscan coex request/release not match
- fix bredr incorrect inquiry length calculation
- update bredr page/inquiry pti
- add coex pti protection for entire page/inquiry event
2026-04-10 10:18:40 +08:00
Zhao Wei Liang
56002730f3 feat(ble): add adv tx options on ESP32-H2
(cherry picked from commit 8ef46541cd)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-09 16:17:53 +08:00
Zhao Wei Liang
e0da34a00f feat(ble): add adv tx options on ESP32-C6
(cherry picked from commit e85bb5cca8)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-09 16:17:48 +08:00
Zhao Wei Liang
5e93f583e8 change(ble): [AUTO_MR] Update lib_esp32c6 to c9fbba6f
(cherry picked from commit 24d0f0fad1)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-09 16:17:47 +08:00
Zhao Wei Liang
d051d699c9 change(ble): [AUTO_MR] Update lib_esp32h2 to c9fbba6f
(cherry picked from commit 9bfcc76221)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-09 16:17:47 +08:00
Zhou Xiao
39e0143bf8 feat(bt): add BT_LOG_CRITICAL_ONLY bandwidth-optimized log mode
Add Kconfig options for bandwidth-optimized logging via the BLE Log
Async Output system. When enabled, controller log levels default to 2
and host/mesh log encoding is auto-selected.

- BT_LOG_CRITICAL_ONLY parent: selects BLE_LOG_ENABLED + compression
- BT_LOG_CRITICAL_ONLY_CTRL: supports both NimBLE and non-NimBLE (C3)
  controllers with default level override
- BT_LOG_CRITICAL_ONLY_HOST: host-agnostic, selects compressed log
  for Bluedroid conditionally
- BT_LOG_CRITICAL_ONLY_MESH: placeholder for mesh log encoding
- Guards against BT_STACK_NO_LOG conflict
2026-04-07 13:13:47 +08:00
Zhou Xiao
bf2422136d change(bt): consolidate BLE log Kconfig into common/Kconfig.in
Move per-chip BLE log Kconfig options (esp32c2/c5/c6/h2) into
components/bt/common/Kconfig.in for single-source-of-truth configuration.

Restructure menu as "BT Logs" with "Log Sources" sub-menu containing
controller log config options. Controller log output mode choice defaults
to BLE Log v2 when BLE_LOG_ENABLED, with legacy mode as deprecated
fallback. Migrate wrap_panic_handler and task_wdt_user_handler configs
as well since they depend on BT_LE_CONTROLLER_LOG_ENABLED.
2026-04-07 13:13:32 +08:00
Zhou Xiao
374b9a4a63 change(bt/ble_log): remove BLE Log UHCI Out module
Delete ble_log_uhci_out.c and its header. Remove the UHCI Out source
from CMakeLists.txt and all BT_BLE_LOG_UHCI_OUT_* Kconfig options.
Remove per-chip BT_LE_CONTROLLER_LOG_UHCI_OUT_ENABLED Kconfig and
all UHCI Out caller references in esp32c5/c6/h2 controller bt.c.
Update ble_log_console README to reference the new BLE Log Module
UART DMA config. The functionality is superseded by the BLE Log
Module's UART DMA peripheral transport.
2026-04-07 13:10:08 +08:00
ShenWeilong
790c71f79a change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib 2026-03-31 00:06:16 +08:00
cjin
8aa53a7bbd feat(ble): supported ble mempool run time allocation for esp ip chips 2026-03-30 00:05:17 +08:00
zhaoweiliang
a22bdd4061 change(ble): [AUTO_MR] Update lib_esp32c2 to b8594335 2026-03-30 00:05:17 +08:00
Jin Chen
741f0f16da change(ble): [AUTO_MR] Update lib_esp32h2 to 913c704d
(cherry picked from commit a8d705ff7a)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-03-30 00:05:17 +08:00
Jin Chen
27009cf2b6 change(ble): [AUTO_MR] Update lib_esp32c6 to 913c704d
(cherry picked from commit 06010a8b79)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-03-30 00:05:17 +08:00
Jin Chen
beb32e63cb change(ble): [AUTO_MR] Update lib_esp32c5 to 913c704d
(cherry picked from commit 739cb8e00d)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-03-30 00:05:17 +08:00
Jin Chen
5c96decc19 feat(ble): make env init function cuttable on ESP32-C2
(cherry picked from commit 5ec82368ba)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-30 00:05:17 +08:00
Jiang Jiang Jian
f5ea93abcc Merge branch 'bugfix/fix_ble_controller_emi_assert_v5.3' into 'release/v5.3'
fix(ble): Fixed BLE assert in "emi.c" when low memory (5.3)

See merge request espressif/esp-idf!46912
2026-03-25 21:02:52 +08:00
Jiang Jiang Jian
f161f4f580 Merge branch 'fix/use_apb_max_state_for_ble_events_v5.3' into 'release/v5.3'
fix(ble): use apb max state for bt and enable should skip (v5.3)

See merge request espressif/esp-idf!46331
2026-03-25 20:51:59 +08:00
Jiang Jiang Jian
9df1d058a3 Merge branch 'feat/bt_distance_test_v5.3' into 'release/v5.3'
feat(bt): Add APIs to read ACL real RSSI and read/write tx power of inq/iscan/page/pscan/ACL (v5.3)

See merge request espressif/esp-idf!46648
2026-03-25 10:49:17 +08:00
Jiang Jiang Jian
241d773383 Merge branch 'change/ble_update_lib_20260127_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20260127 - Update ESP BLE Controller Lib (v5.3)

See merge request espressif/esp-idf!45675
2026-03-25 10:47:40 +08:00
Jiang Jiang Jian
9b78fd94ed Merge branch 'bugfix/esp_idf_s3_deepsleep_dead_v5.3' into 'release/v5.3'
fix(hal): fix the issue of dual-core contention for RTC_CNTL regs(v5.3)

See merge request espressif/esp-idf!46183
2026-03-24 21:02:26 +08:00
yangfeng
4efd748983 feat(bt): Add APIs to control transmit power level
- API to read ACL real RSSI
- APIs to read/write tx power of inq/iscan/page/pscan/ACL
2026-03-24 19:56:38 +08:00