Commit Graph

38965 Commits

Author SHA1 Message Date
Mahavir Jain
52611afb24 Merge branch 'fix/mbedtls_build_failure_x509_crt_v5.2' into 'release/v5.2'
fix(mbedtls): fixes build failure with clang21 (v5.2)

See merge request espressif/esp-idf!49418
2026-06-16 14:02:32 +05:30
Wang Meng Yang
8f58679ce4 Merge branch 'bugfix/bbp_isses_v5.2' into 'release/v5.2'
Bugfix/bbp isses v5.2

See merge request espressif/esp-idf!49628
2026-06-15 20:38:45 +08:00
Island
2ec1d4883d Merge branch 'fix/gattc-multi-app-notif-warning_v5.2' into 'release/v5.2'
fix(bt): Suppress gattc drop-notif warning for unregistered gatt_if (5.2)

See merge request espressif/esp-idf!49513
2026-06-15 15:08:08 +08:00
Island
a3684e583c Merge branch 'bugfix/fix_bluedroid_ai_review_bugs_20260427_v5.2' into 'release/v5.2'
Bugfix/fix bluedroid ai review bugs 20260427 (5.2)

See merge request espressif/esp-idf!49537
2026-06-15 11:04:08 +08:00
Jin Cheng
de369a5cfc fix(bt/bluedroid): added buffer length check for HID Device data indication 2026-06-12 18:47:38 +08:00
Jin Cheng
f2b3536279 fix(bt/bluedroid): added validation for all SMP BR opcode lengths in smp_br_data_received 2026-06-12 18:47:38 +08:00
Jin Cheng
929c3e42ec fix(bt/bluedroid): fixed CTKD link key authentication downgrade in SC-Only mode 2026-06-12 18:47:38 +08:00
Jin Cheng
a4e6fa2f42 fix(bt/bluedroid): added buffer length check for HID host data indication 2026-06-12 18:47:38 +08:00
Jin Cheng
c2610255a5 fix(bt/bluedroid): added buffer length check for L2CAP related functions 2026-06-12 18:47:38 +08:00
zhiweijian
47a74cc4b3 fix(examples): improve bluedroid BLE example error handling
Check GAP/GATT event status, fix prepare-write buffer lifecycle, and
align example code with updated Bluedroid API behavior.
2026-06-12 10:48:23 +08:00
zhiweijian
2c42954274 refactor(examples): disable unused BT options in bluedroid BLE examples
Add sdkconfig.defaults to turn off unused Bluedroid host features per
example role (GATT client/server, SMP, legacy adv, etc.).
2026-06-12 10:45:43 +08:00
ShenWeilong
da0d372821 fix(bluedroid): Set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y in bluedroid host examples 2026-06-12 10:45:32 +08:00
Rahul Tank
3d5c2ef7cb Merge branch 'bugfix/bt4371_crash_v5.2' into 'release/v5.2'
fix(nimble): Deinit NimBLE stop event in host task (v5.2)

See merge request espressif/esp-idf!49301
2026-06-12 07:28:15 +05:30
Rahul Tank
3121f8951a fix(nimble): Deinit NimBLE stop event in host task 2026-06-11 20:06:32 +05:30
Rahul Tank
b34815c397 Merge branch 'fix/add_remaining_vars_to_heap_v5.2' into 'release/v5.2'
fix(nimble): Change remaining vars from Static to Dynamic (v5.2)

See merge request espressif/esp-idf!49283
2026-06-11 17:37:13 +05:30
Wang Meng Yang
e4d048f5aa Merge branch 'bugfix/ci_avrc_abs_vol_example_v5.2' into 'release/v5.2'
fix: Fix the potential stack overflow issue in the Classic Bluetooth example (v5.2)

See merge request espressif/esp-idf!49408
2026-06-11 14:19:37 +08:00
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
Zhang Hai Peng
c90d9506a2 fix(bt): Suppress gattc drop-notif warning for unregistered gatt_if
GATT stack broadcasts notifications to every client app, so unregistered
gatt_if instances were flooding logs even when another app had registered
the handle. Only warn when no client app registered for the handle.


(cherry picked from commit c18c8dc5e7)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-10 15:24:31 +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
Ashish Sharma
8ad759efb7 fix(mbedtls): fixes build failure with clang21
Closes https://github.com/espressif/esp-idf/issues/18456
2026-06-09 14:04:39 +08:00
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
yangfeng
cbe290c1d2 fix: Fix the potential stack overflow issue in the Classic Bluetooth example 2026-06-09 09:44:30 +08:00
Sumeet Singh
27af425ea9 fix(nimble): Change remaining vars from Static to Dynamic (v5.2) 2026-06-09 00:58:54 +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