Commit Graph

38945 Commits

Author SHA1 Message Date
Zhi Wei Jian
f5984ba6ea fix(bt): fix BTC task and BLE mesh bluedroid adapter
(cherry picked from commit 678fb93245)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:38 +08:00
Zhi Wei Jian
975e6e8e4c fix(ble/bluedroid): fix HCI command and BTU robustness
(cherry picked from commit c9d13aaf64)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:37 +08:00
Zhi Wei Jian
91042dc0a3 fix(ble/bluedroid): fix CTE and ISO API validation
(cherry picked from commit 0c3c894b7d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:37 +08:00
Zhi Wei Jian
f6da83a024 fix(ble/bluedroid): fix GATT server lifecycle and callbacks
(cherry picked from commit 54a1e31916)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:36 +08:00
Zhi Wei Jian
b9eaab2dce fix(ble/bluedroid): fix GATT client API parameter validation
(cherry picked from commit 653477c3e9)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:36 +08:00
Zhi Wei Jian
99a9a87fa3 fix(ble/bluedroid): fix GATT client cache and service discovery
(cherry picked from commit b3ff15ed31)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:35 +08:00
Zhi Wei Jian
b73af73f4d fix(ble/bluedroid): fix GAP BLE API parameter validation
(cherry picked from commit e3311c81c4)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:35 +08:00
Zhi Wei Jian
40a01827cd fix(ble/bluedroid): fix BLE bonding key storage validation
(cherry picked from commit 62cdd4ac38)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:34 +08:00
Rahul Tank
3c1326b00d Merge branch 'bugfix/ai_fixes_common_components_v5.2' into 'release/v5.2'
fix(nimble): Review fixes common components( v5.2)

See merge request espressif/esp-idf!49432
2026-06-10 12:18:01 +05:30
morris
644f790c5c Merge branch 'fix/spi_buslock_multi_dev_acq_release_issue_v5.2' into 'release/v5.2'
fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue (v5.2)

See merge request espressif/esp-idf!49178
2026-06-10 10:10:45 +08:00
Rahul Tank
e54499f554 fix(nimble): Address review fixes for tinycrypt / and blufi code 2026-06-09 15:19:02 +05:30
Mahavir Jain
52595a136f Merge branch 'fix/tls-session-verify-and-hostname-warn_v5.2' into 'release/v5.2'
fix(esp-tls): fix TLS session resumption bypassing CA verification and clarify skip_common_name behavior (v5.2)

See merge request espressif/esp-idf!48933
2026-06-09 10:38:08 +05:30
Mahavir Jain
62e1e37d9c Merge branch 'contrib/github_pr_18641_v5.2' into 'release/v5.2'
fix(protocomm): prevent out-of-bounds write in console line buffer (GitHub PR) (v5.2)

See merge request espressif/esp-idf!49347
2026-06-08 19:53:30 +05:30
Jiang Jiang Jian
96761d509e Merge branch 'bugfix/acl_conn_state_error_v5.2' into 'release/v5.2'
fix: Fix missing handling for HCI_ERR_CONNECTION_EXISTS (v5.2)

See merge request espressif/esp-idf!49317
2026-06-08 11:33:34 +08:00
Zhang Wen Xu
6154b09b8d Merge branch 'feat/add_teardown_for_openthread_case_v5.2' into 'release/v5.2'
ci: add tear down for openthread ci case (v5.2)

See merge request espressif/esp-idf!48782
2026-06-08 02:49:38 +00:00
Rahul Tank
c84d53d757 Merge branch 'bugfix/fix_clang_compilation_issue_v5.2' into 'release/v5.2'
fix(nimble): Fix for clang compilation issues (v5.2)

See merge request espressif/esp-idf!49310
2026-06-06 09:31:09 +05:30
Jiang Jiang Jian
125fb9d155 Merge branch 'bugfix/esp_idf_s3_deepsleep_dead_v5.2' into 'release/v5.2'
fix(hal): fix the issue of dual-core contention for RTC_CNTL regs(v5.2)

See merge request espressif/esp-idf!49150
2026-06-05 18:47:11 +08:00
Andrii Anoshyn
3ae8e7e347 fix(protocomm): prevent out-of-bounds write in console line buffer
The console transport read loop passed &linebuf[i] to uart_read_bytes()
before checking i < LINE_BUF_SIZE, so a line of LINE_BUF_SIZE or more
bytes without a terminator wrote one byte past the 256-byte linebuf
stack array.

Gate the read on the bounds check and reserve the final byte for the NUL
terminator (LINE_BUF_SIZE - 1), so the buffer handed to esp_console_run()
stays terminated even when an overlong line is truncated.

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

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-05 17:34:10 +08:00
Island
413055d248 Merge branch 'change/ble_update_lib_20260520_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20260520 - Update ESP BLE Controller Lib (5.2)

See merge request espressif/esp-idf!48766
2026-06-05 16:39:28 +08:00
yiwenxiu
dced14f30c ci: add tear down for openthread ci case 2026-06-05 15:57:15 +08:00
Island
be6b2f640a Merge branch 'feat/ble-log-iram-optim_v5.2' into 'release/v5.2'
opt(bt): Move SPI Tx Callback to Flash When SPI ISR IN IRAM Disabled (5.2)

See merge request espressif/esp-idf!48920
2026-06-05 15:50:47 +08:00
Zhang Wen Xu
da305611df Merge branch 'fix/openthread_rcp_uart_senddone_on_fail_v5.2' into 'release/v5.2'
fix(openthread): avoid HDLC TX stall on fd write failure (v5.2)

See merge request espressif/esp-idf!49075
2026-06-05 07:49:10 +00:00
Zhang Wen Xu
86cd838feb Merge branch 'fix/optimize_the_process_of_ot_ci_v5.2' into 'release/v5.2'
fix(openthread): optimize the process of openthread pytest cases (v5.2)

See merge request espressif/esp-idf!47900
2026-06-05 07:48:50 +00:00
yangfeng
a9af2eee5c fix: Fix missing handling for HCI_ERR_CONNECTION_EXISTS
- Closes https://github.com/espressif/esp-idf/issues/18562
2026-06-05 14:20:43 +08:00
Rahul Tank
41935a2f3b fix(nimble): Fix for clang compilation issues 2026-06-05 11:13:25 +05:30
Island
ed2360fff0 Merge branch 'fix/ble_funcs_reset_default_enabled_v5.2' into 'release/v5.2'
fix(bt): Add default BLE controller funcs reset enable (5.2)

See merge request espressif/esp-idf!49134
2026-06-05 12:13:45 +08:00
Xu Si Yu
3b47245bc5 fix(openthread): wait for all onlink GUAs to finish DAD before tests 2026-06-05 03:50:26 +00:00
Xu Si Yu
ecd72ef115 fix(openthread): optimize the process of openthread pytest cases 2026-06-05 03:50:26 +00:00
Xu Si Yu
a9ad6f4d7c fix(openthread): avoid HDLC TX stall on fd write failure 2026-06-05 03:50:04 +00:00
Jiang Jiang Jian
f3dac0b82d Merge branch 'bugfix/ft_igtk_installation_v5.2' into 'release/v5.2'
fix(esp_wifi): Correct igtk key installation in ft-psk mode (v5.2)

See merge request espressif/esp-idf!49213
2026-06-05 10:52:56 +08:00
Jiang Jiang Jian
27d3a65ed2 Merge branch 'change/esp_idf_ulp_add_int_api_5.2' into 'release/v5.2'
change(ulp): add lp periph intr enable apis v5.2

See merge request espressif/esp-idf!49147
2026-06-05 10:50:41 +08:00
Jiang Jiang Jian
010c0b7c62 Merge branch 'doc-fix_sleep_mode_doc_v5.2' into 'release/v5.2'
docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support (v5.2)

See merge request espressif/esp-idf!49112
2026-06-05 10:50:11 +08:00
Jiang Jiang Jian
be13312756 Merge branch 'fix-fix_ub_in_gpio_wakeup_setting_v5.2' into 'release/v5.2'
fix(esp_hw_support): add validation for gpio_pin_mask (v5.2)

See merge request espressif/esp-idf!49110
2026-06-05 10:49:28 +08:00
Rahul Tank
a8e107a2b0 Merge branch 'bugfix/nimble_hid_fixes_v5.2' into 'release/v5.2'
fix(nimble): Always read initial BAS level and forward HID report/control/protocol writes as HIDD events (v5.2)

See merge request espressif/esp-idf!48696
2026-06-05 07:35:03 +05:30
Island
98cbaa6392 Merge branch 'fix/fix_conn_recycle_assertion_at_halt_v5.2' into 'release/v5.2'
fix(ble): fix conn recycle assertion at halt on ESP32-C2 (5.2)

See merge request espressif/esp-idf!49234
2026-06-04 19:21:25 +08:00
Mayank Tyagi
7ee511e2f0 fix(nimble): Forward HID report/control/protocol writes as HIDD events 2026-06-04 15:58:30 +05:30
Mayank Tyagi
c169bea2bd fix(nimble): Added change to read initial BAS level post connection 2026-06-04 15:58:14 +05:30
Rahul Tank
937cc637c6 Merge branch 'bugfix/add_support_min_count_v5.2' into 'release/v5.2'
fix(nimble): Add support for shorter connection interval (v5.2)

See merge request espressif/esp-idf!48165
2026-06-04 12:59:05 +05:30
wanckl
443a34544c fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue 2026-06-04 15:12:03 +08:00
Shu Chen
7456a7bcca Merge branch 'fix/154_txrx_at_time_v5.2' into 'release/v5.2'
fix(802.15.4): remove comparison between txrx_at and ramp time (v5.2)

See merge request espressif/esp-idf!49083
2026-06-04 06:27:51 +00:00
Luo Xu
8144b75030 feat(ble_mesh): add SOC capability dependency for BLE Mesh config
Add depends on SOC_BLE_MESH_SUPPORTED to BLE_MESH Kconfig option
to ensure BLE Mesh is only available on supported SoCs.


(cherry picked from commit e0a7e73b72)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-06-04 11:20:50 +08:00
ShenWeilong
1bed203237 fix(ble): won't add -Wno-unterminated-string-initialization for clang 2026-06-04 11:20:50 +08:00
luoxu
b02139becb fix(bt): Normalize source paths for log compression pattern matching 2026-06-04 11:20:50 +08:00
ShenWeilong
09fac633a3 change(bt): Separated bt/cmakelist to bt/controller/cmakelist and bt/porting/cmakelist 2026-06-04 11:20:50 +08:00
zhaoweiliang
2b477ed742 change(ble): [AUTO_MR] Update lib_esp32c6 to 4adb29e0 2026-06-04 11:20:50 +08:00
zhaoweiliang
f557e59f44 change(ble): [AUTO_MR] Update lib_esp32h2 to 4adb29e0 2026-06-04 11:20:50 +08:00
Rahul Tank
876320c018 fix(nimble): Add support for shorter connection intervals 2026-06-03 19:56:27 +05:30
Rahul Tank
41f39ad796 Merge branch 'bugfix/fix_security_proto_nimble_v5.2' into 'release/v5.2'
fix(protocomm): harden nimble/bluedroid transport size handling (v5.2)

See merge request espressif/esp-idf!49186
2026-06-03 19:44:40 +05:30
Rahul Tank
17fc62a100 Merge branch 'bugfix/fix_service_compilation_issue_v5.2' into 'release/v5.2'
fix(nimble): Fix compilation issues in Gatt SPS service (v5.2)

See merge request espressif/esp-idf!48971
2026-06-03 19:28:52 +05:30
Jin Chen
31db4820e0 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:00 +08:00