Commit Graph

4969 Commits

Author SHA1 Message Date
liqigan 38ea9357b8 fix(bt/bluedroid): Fixed HID memory leak 2025-11-13 17:44:14 +08:00
Jiang Jiang Jian 0ba481b055 Merge branch 'fix/increase_ble_log_task_stack_size_for_xtensa_chips_v5.5' into 'release/v5.5'
fix(ble): increase default ble log stack size for xtensa chips (v5.5)

See merge request espressif/esp-idf!43287
2025-11-13 16:13:27 +08:00
Jiang Jiang Jian 8c9f686cd1 Merge branch 'bugfix/cod_chg_by_scan_ena_v5.5' into 'release/v5.5'
fix(bt/bluedroid): update the COD before enabling inquiry scan (v5.5)

See merge request espressif/esp-idf!43237
2025-11-13 16:13:00 +08:00
Zhou Xiao db3d0646b8 fix(ble): increase default ble log stack size for xtensa chips
(cherry picked from commit 3e0d0059878c7081ec5301f935d8b2e6662df75d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-11-12 17:13:57 +08:00
Jiang Jiang Jian 91dd2aee23 Merge branch 'feat/support_cble50y25_277_v5.5' into 'release/v5.5'
feat(ble): Support controller log compression for ESP32-C3 and ESP32-S3(0871069) (v5.5)

See merge request espressif/esp-idf!43108
2025-11-11 19:36:25 +08:00
Jiang Jiang Jian 303842a86c Merge branch 'fix/hci_log_spi_out_ceva_v5.5' into 'release/v5.5'
fix(ble): fixed hci event log when link layer logging is disabled (v5.5)

See merge request espressif/esp-idf!43009
2025-11-11 19:29:45 +08:00
Jiang Jiang Jian 3337587074 Merge branch 'fix/ble_mesh_adv_rpt_fix_v5.5' into 'release/v5.5'
fix(ble_mesh): check data length before assigning adv data pointer (v5.5)

See merge request espressif/esp-idf!42990
2025-11-11 19:29:06 +08:00
JinCheng 79ae28fbb7 fix(bt/bluedroid): update the COD before enabling inquiry scan 2025-11-11 16:17:30 +08:00
Chen Jian Hua 6c65b25d0e feat(ble): make ble log task stack size configurable
(cherry picked from commit b525e6555b153deff11d9dc5365036eee3a5f9ee)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-11-05 13:33:23 +08:00
Chen Jian Hua 7910b5dbec feat(ble): Enable get bt ts for ESP32-C3 and ESP32-S3
(cherry picked from commit b870a8fb5afb278ea29bbf70744589e41cdfe26a)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-11-05 13:33:23 +08:00
Chen Jian Hua 4dc1bb07a4 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(0871069)
- Added more log for BLE
- Support BLE log filter and simeple output
- Support BLE log compression


(cherry picked from commit 03758ba550d1eec11b3f00ecc00341e2f53cd2e3)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-11-05 13:33:23 +08:00
Zhou Xiao c087ced66f fix(ble): fixed hci event log when link layer logging is disabled
(cherry picked from commit 777f21783b3cf003edda409d8716f562b26fb69c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-10-30 21:13:16 +08:00
Luo Xu 36d0a20a87 fix(ble_mesh): check data length before assigning adv data pointer
(cherry picked from commit 6202aa89a6fd34137e4f52342bb5f5cdc8d8ae2b)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-10-30 13:43:14 +08:00
Zhao Wei Liang 898f2efe91 change(ble): [AUTO_MR] Update lib_esp32c6 to 5b8adfa8
(cherry picked from commit 16a893e934221627aca32ff320c9f191412fb5b2)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-10-30 10:53:51 +08:00
Zhao Wei Liang bb0a7f6bc2 change(ble): [AUTO_MR] Update lib_esp32c5 to 5b8adfa8
(cherry picked from commit baf8a20a5ea6038ec41b4b4765ab5046cb1f5477)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-10-30 10:53:50 +08:00
Zhao Wei Liang b3459f9522 change(ble): [AUTO_MR] Update lib_esp32h2 to 5b8adfa8
(cherry picked from commit 4e07ce892df4f792d836a23d7e193abe4ff78bca)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-10-30 10:53:50 +08:00
Jiang Jiang Jian fba0edd581 Merge branch 'bugfix/oob_in_avrc_vendor_msg_v5.5' into 'release/v5.5'
fix(bt/bluedroid): fixed potential OOB in AVRCP vendor command composition (v5.5)

See merge request espressif/esp-idf!42945
2025-10-29 20:21:04 +08:00
Island db87284a06 Merge branch 'feat/ble_mesh_long_package_support_v5.5' into 'release/v5.5'
feat(ble_mesh): long packet mode support (v5.5)

See merge request espressif/esp-idf!42710
2025-10-29 10:50:57 +08:00
Jin Cheng b9ba1e29b6 fix(bt/bluedroid): fixed potential OOB in AVRCP vendor command composition 2025-10-28 10:17:04 +08:00
Rahul Tank dfccdf1aea Merge branch 'feat/read_all_local_remote_sup_feat_v5.5' into 'release/v5.5'
feat(nimble): Add support for read all local / remote supported features HCI cmd (v5.5)

See merge request espressif/esp-idf!42871
2025-10-27 21:23:43 +05:30
luoxu 82bd4dde2a fix(ble_mesh): resolve issues in long packet mode
- Fix ignored extended advertising parameters from application
- Fix incorrect filtering of extended advertising reports
- Fix segmentation logic errors in long packet mode
2025-10-27 17:55:38 +08:00
luoxu f3950b34b1 fix(ble_mesh): fixed the uninitialized relay advertisement queue on provisioner 2025-10-27 17:55:38 +08:00
luoxu ef0384b6c0 fix(ble_mesh): Fixed an issue where BLE advertisement packets failed to be sent 2025-10-27 17:55:38 +08:00
luoxu 1aa41c89e7 fix(ble_mesh): fixed ble50 advertising on bluedroid 2025-10-27 17:55:38 +08:00
luoxu 9ce26e421f feat(ble_mesh): add BLE 5.0 extended advertising and long packet support
- Add extended advertising configuration with customizable PHY selection (1M, 2M, Coded)
- Implement long packet mode to overcome standard BLE Mesh packet length limitations
- Add configurable advertising parameters: interval, count, channel map, TX power
- Introduce enhanced message context structure for fine-grained advertising control
- Add Kconfig options for buffer management and segment count configuration
- Support both forced and preferred long packet transmission modes
- Update advertising buffer pools to accommodate extended and long packet types
- Add validation for enhanced advertising parameters and packet length limits
- Maintain backward compatibility with existing BLE Mesh functionality
2025-10-27 17:55:38 +08:00
Island 25186fb94e Merge branch 'change/ble_update_lib_20251022_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20251022 - Update ESP BLE Controller Lib (v5.5)

See merge request espressif/esp-idf!42841
2025-10-25 00:42:56 +08:00
Island c5d19fdc88 Merge branch 'feat/support_get_ble_local_irk_v5.5' into 'release/v5.5'
feat(ble/bluedroid): add API to get local BLE IRK (v5.5)

See merge request espressif/esp-idf!42761
2025-10-24 12:58:52 +08:00
cjin 535927f46c fix(ble): fix ble wakeup causes error on ESP32-H2 2025-10-23 16:36:51 +08:00
cjin 23a90fd2c0 fix(ble): fix ble wakeup causes error on ESP32-C6 2025-10-23 16:36:40 +08:00
cjin 7c8d916f79 fix(ble): fix ble wakeup causes error on ESP32-C5 2025-10-23 16:36:28 +08:00
cjin e691150640 fix(ble): fix ble wakeup causes error on ESP32-C2 2025-10-23 16:35:48 +08:00
Zhou Xiao 6ca39fa25d feat(ble): add priority level config on ESP32-C5
(cherry picked from commit 96bdca38a11f8385757d43ed9fe0f3d9ac91c2be)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-10-23 15:12:43 +08:00
Zhou Xiao aa670c11d2 feat(ble): add priority level config on ESP32-H2
(cherry picked from commit 75f2b8d4a1b745e60bef061e0dc730f1d80d19a0)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-10-23 15:12:42 +08:00
Zhou Xiao 3607361b62 feat(ble): add priority level config on ESP32-C6
(cherry picked from commit 09337109b79a09f57731948edfe021948307ad87)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-10-23 15:12:42 +08:00
Zhou Xiao 57436ebe50 change(ble): [AUTO_MR] Update lib_esp32c2 to 283861b8
(cherry picked from commit ee2c7247fb15122be2a362e8e7ec6735c1762375)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-10-23 15:12:41 +08:00
Zhou Xiao 0fb894de51 change(ble): [AUTO_MR] Update lib_esp32c6 to a76948d4
(cherry picked from commit f4d881ff59769fa1db924dcbf7fcbe46dd848abe)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-10-23 15:12:41 +08:00
Zhou Xiao c0a9bfad60 change(ble): [AUTO_MR] Update lib_esp32c5 to a76948d4
(cherry picked from commit f4ebf339641d9e52e62ef35942e1d45f40fa524c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-10-23 15:12:40 +08:00
Zhou Xiao 8db0057731 change(ble): [AUTO_MR] Update lib_esp32h2 to a76948d4
(cherry picked from commit ab5c1b0e3b55b631440ea30ffed9553f61f3e7c7)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-10-23 15:12:40 +08:00
Rahul Tank 4e29c55f94 feat(nimble): Add support for HCI commands / events
1. Read all local supported feature
      2. Read remote supported feature
      3. Advertising monitor.
2025-10-23 09:53:22 +05:30
Zhang Hai Peng 8487639a87 feat(ble/bluedroid): add API to get local BLE IRK
(cherry picked from commit 3c68650d7e0853ad8880db1608c35007c8edf1af)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-10-21 17:53:20 +08:00
Luo Xu 6b2d26f334 feat(ble_mesh): fixed issues with adv evts process
(cherry picked from commit 21b934aeb21f4a5d40cf3ee7f03c4d489176b7ef)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-10-21 15:34:34 +08:00
Luo Xu 94e5bd0704 feat(ble_mesh): add adv lock to avoid allocated buffers
(cherry picked from commit 4905b6eae12134ecd291156b2ce1e98aba4e1fed)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-10-21 15:34:34 +08:00
Luo Xu bcb60dbec6 feat(ble_mesh): Add lock to avoid tx being modified at the same time
(cherry picked from commit 334e2bf8ab40a6facf6ed8926c42307443e72ad9)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-10-21 15:34:34 +08:00
Island d3517609c8 Merge branch 'bugfix/fix_ble_deinit_memory_leak_v5.5' into 'release/v5.5'
fix(ble/bluedroid): fix memory leak during deinit when service table is created but not started (v5.5)

See merge request espressif/esp-idf!42706
2025-10-20 22:03:32 +08:00
Jiang Jiang Jian 1d3324de86 Merge branch 'fix/incorrect_assert_in_acl_data_process_v5.5' into 'release/v5.5'
fix(bt): avoid asserting when previous data hasn't finished transmitting(backport v5.5)

See merge request espressif/esp-idf!42666
2025-10-20 15:25:55 +08:00
Island d56618c4c1 Merge branch 'fix/update_pawr_example_docs_v5.5' into 'release/v5.5'
Fix/update pawr example docs (v5.5)

See merge request espressif/esp-idf!42658
2025-10-17 18:06:53 +08:00
Zhang Hai Peng fc1d5a8f9a fix(ble/bluedroid): fix memory leak during deinit when service table is created but not started
(cherry picked from commit ddd12f2498282e147044d1fe532a51aeb18875f9)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-10-17 16:45:50 +08:00
Island 729b28e6a8 Merge branch 'bugfix/fix_cble50y25_305_v5.5' into 'release/v5.5'
Fixed GPIO matrix function calls on ESP32-C3 and ESP32-S3(18b5cbe) (v5.5)

See merge request espressif/esp-idf!42559
2025-10-17 11:56:17 +08:00
gongyantao 88cf07b303 fix(bt): avoid asserting when previous data hasn't finished transmitting 2025-10-17 11:46:37 +08:00
Jin Chen 60f9038d12 feat(ble): allow a larger sca limit on ESP32-H2
(cherry picked from commit abfc2d766e13db57a0a84b5c23dd3259aad701ea)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-16 20:14:13 +08:00