Commit Graph
42582 Commits
Author SHA1 Message Date
morris 4e044c7c5c Merge branch 'fix/jpeg_over_size_v5.3' into 'release/v5.3'
fix(jpeg): Fix the jpeg size might exceed the buffer size (backport v5.3)

See merge request espressif/esp-idf!50031
2026-07-03 11:12:39 +08:00
Island 8bddc5dec6 Merge branch 'change/ble_update_lib_20260610_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20260610 - Update ESP BLE Controller Lib (5.3)

See merge request espressif/esp-idf!50223
2026-07-03 00:56:01 +08:00
Rahul Tank f0fc0e87bd Merge branch 'contrib/github_pr_18761_v5.3' into 'release/v5.3'
fix(nimble): initialize return value in LED characteristic access cal… (GitHub PR) (v5.3)

See merge request espressif/esp-idf!50154
2026-07-01 09:26:42 +05:30
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
Wang Meng Yang 97b1c64b67 Merge branch 'bugfix/ai_review_a2dp_v5.3' into 'release/v5.3'
fix(bt): Fix the critical issues related to A2DP from AI review report (v5.3)

See merge request espressif/esp-idf!50131
2026-06-30 19:23:18 +08:00
Island c43788173b Merge branch 'bugfix/fix_bluedroid_static_random_conn_rpa_v5.3' into 'release/v5.3'
fix(ble/bluedroid): skip identity conversion for static random direct connect (5.3)

See merge request espressif/esp-idf!50082
2026-06-30 10:25:01 +08:00
Island 90491f8457 Merge branch 'bugfix/fix_bluedroid_rpa_whitelist_conn_v5.3' into 'release/v5.3'
Fix connection failure when using RPA with whitelist filtering(ESP32) (5.3)

See merge request espressif/esp-idf!50088
2026-06-30 10:23:56 +08:00
Shuai Wang 5ae25bd6b5 fix(nimble): initialize return value in LED characteristic access callback
When the NimBLE stack called this callback for a GATT Write Request, the
uninitialized stack value was interpreted as a non-zero GATT error code,
causing the stack to send BLE_ATT_ERR_UNLIKELY (0x0E) back to the client.
2026-06-29 17:30:33 +05:30
Jiang Jiang Jian de77e11ec6 Merge branch 'feat/optimize_154_debug_v5.3' into 'release/v5.3'
feat(802.15.4): avoid missing abort reason for multievents in 154 debug (v5.3)

See merge request espressif/esp-idf!50114
2026-06-29 16:50:13 +08:00
Jiang Jiang Jian 2d91264c08 Merge branch 'docs/add_semihosting_chapter_v5.3' into 'release/v5.3'
docs(jtag-debugging): add semihosting chapter (v5.3)

See merge request espressif/esp-idf!49891
2026-06-29 15:27:03 +08:00
Jiang Jiang Jian a750c9ec6a Merge branch 'fix/lp_uart_data_bits_v5.3' into 'release/v5.3'
fix(ulp/lp_core): fix LP UART data_bits validation and add full word-length test coverage (v5.3)

See merge request espressif/esp-idf!48034
2026-06-29 15:22:31 +08:00
Jiang Jiang Jian 195f0487e3 Merge branch 'fix/freertos_delete_with_caps_smp_race_v5.3' into 'release/v5.3'
fix(freertos): close vTaskDeleteWithCaps cross-core delete race on SMP preview kernel (v5.3)

See merge request espressif/esp-idf!48603
2026-06-29 15:16:11 +08:00
Jiang Jiang Jian e4b92f9646 Merge branch 'fix/disable_i2c_master_clk_while_hw_hop_processing_v5.3' into 'release/v5.3'
fix(esp_phy): check hw freq hop done before disabling common clock (v5.3)

See merge request espressif/esp-idf!48563
2026-06-29 15:12:34 +08:00
yangfeng a099dd706e fix(bt): Fix the critical issues related to A2DP from AI review report
AVDT:
- Roll back CCB allocation when cmd/rsp queue creation fails
- Free media packet on invalid handle in AVDT_WriteReqOpt
- Zero-init timeout failure message before GETCAP callback
- Initialize lcid_tbl to 0xFF to avoid mapping to tc_tbl[0]
BTA/AVRCP:
- Use size_t for AVRC message copy buffer allocation
- Allocate before register in BTA_AvEnable
- Guard BTA_AvRegister callback when enable never completed
A2DP BTC/API:
- Default g_a2dp_on_deinit to true before profile init
- Add shutdown state check in btc_a2dp_sink_shutdown
- Guard A2DP source timer against freed dynamic local param
2026-06-29 15:12:33 +08:00
Rahul Tank e9604aa3b0 Merge branch 'bugfix/fix_gatt_crash_v5.3' into 'release/v5.3'
fix(nimble): Add npl locks to avoid race condition (v5.3)

See merge request espressif/esp-idf!50069
2026-06-29 10:21:13 +05:30
zhuanghang 56a2d897cb feat(802.15.4): avoid missing abort reason for multievents in 154 debug 2026-06-29 10:54:20 +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
Island c8d7a8d883 Merge branch 'feat/support_ble_uart_more_interfaces_v5.3' into 'release/v5.3'
feat(bt/ble_uart): Support ble uart more interfaces (5.3)

See merge request espressif/esp-idf!50044
2026-06-29 10:31:47 +08:00
Island dc5b776305 Merge branch 'feat/add_ble_core_6x_feature_for_bluedroid_v5.3' into 'release/v5.3'
Feat/add ble core 6x feature for bluedroid (5.3)

See merge request espressif/esp-idf!50050
2026-06-29 10:31:45 +08:00
Zhang Hai Peng 1824570f90 fix(ble/bluedroid): preserve HCI status on BLE 4.2 GAP failures
Return BTM_HCI_ERROR | hci_status from legacy BLE 4.2 GAP HCI command
paths instead of mapping failures to BTM_ILLEGAL_VALUE or
BTM_NO_RESOURCES. Add btm_ble_status_from_hci() helper and propagate
real status through scan start/stop completion callbacks.


(cherry picked from commit 47dd785a18)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:24:46 +08:00
Zhang Hai Peng b416e7f61b feat(ble/bluedroid): Optimize Bluedroid memory usage
- Delete unused device records (~356B each)


(cherry picked from commit 7d1c0e9a32)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:24:24 +08:00
Zhang Hai Peng 1130ad21f8 fix(ble/bluedroid): cap Read By Type response length at ATT maximum
Read By Type Response Length is one octet (max 255). When MTU was
large enough to return a long characteristic value in one pair, the
server wrote (UINT8)(value_len + 2) and overflowed (e.g. 513 -> 1),
so the client rejected the PDU as GATT_INVALID_PDU (0x04).

Cap server value to 253 bytes per pair, clamp the length byte, and
continue long reads via Read Blob when the capped size is returned.


(cherry picked from commit 97905afccc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:24:07 +08:00
Zhang Hai Peng 6ac3fd1a18 fix(ble/bluedroid): Fixed potential double Execute Write Response
(cherry picked from commit 0a93ccd3b3)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:23:50 +08:00
Zhang Hai Peng 7400a89196 fix(ble/bluedroid): preserve ATT error on prepare write completion
Skip prepare-write echo validation when the GATT stack reports a
non-success status. ATT Error Response carries no prepare-write echo
body (rsp_len=0), so the check incorrectly overwrote errors such as
GATT_INSUF_AUTHENTICATION (0x05) with GATT_INVALID_PDU (0x04).


(cherry picked from commit d5b9350d0f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:23:28 +08:00
Zhang Hai Peng ee46100f53 fix(ble/bluedroid): unblock sync HCI cmd on Command Status error
Release the BLE sync semaphore and record HCI status when a
synchronous command is rejected via Command Status, since no
Command Complete event follows.


(cherry picked from commit 29ae92f4ef)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:16:40 +08:00
Zhang Hai Peng 47d267a365 fix(ble/bluedroid): set REQ_WAITING before GATTC service-change rediscovery
When service change cancels in-progress discovery, bta_gattc_disc_cmpl()
re-triggers discovery without marking auto_update as REQ_WAITING. If a
client command is queued in p_q_cmd, bta_gattc_start_discover() refuses
to restart and the command is never dispatched.


(cherry picked from commit 13926bb9bc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:16:22 +08:00
Zhang Hai Peng fd6a76d00d fix(ble/bluedroid): report conn param update failure for unknown BD_ADDR
Route unknown BD_ADDR and other immediate failures through the existing
need_cb path so ESP_GAP_BLE_UPDATE_CONN_PARAMS_EVT is always delivered.


(cherry picked from commit f9eaeb5e84)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:16:03 +08:00
Zhang Hai Peng f052415e45 fix(ble/bluedroid): add context to GATTC reg-notify cache warning
Include client_if, handle, bd_addr, and server cache state in the
warning logged when notification registration skips handle validation.


(cherry picked from commit 1085a32be8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:16:03 +08:00
Zhang Hai Peng 2888b48bea fix(ble/bluedroid): return ESP_ERR_INVALID_ARG for invalid conn params
Return ESP_ERR_INVALID_ARG instead of ESP_FAIL when connection
parameter validation fails


(cherry picked from commit 6c53838e66)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:16:02 +08:00
Zhang Hai Peng 96bac63edb fix(ble/bluedroid): reject adv data on legacy directed ext adv
(cherry picked from commit c339cec380)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:15:45 +08:00
Zhang Hai Peng d9300e1364 fix(ble/bluedroid): skip identity conversion for static random direct connect
Do not rewrite static or non-resolvable random peer addresses to
identity type 0x03 when CONFIG_BT_BLE_RPA_SUPPORTED is enabled.


(cherry picked from commit 2ef10ef488)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:15:26 +08:00
Rahul Tank 8312cd2d10 Merge branch 'bugfix/optimize_nimble_throughput_example_v5.3' into 'release/v5.3'
fix(nimble): Optimize Nimble throughput example for 1M/2M/S2/S8 (v5.3)

See merge request espressif/esp-idf!49984
2026-06-26 17:41:45 +05:30
Jiang Jiang Jian 9f37971f8d Merge branch 'bugfix/fix_some_wifi_bugs_260625_v5.3' into 'release/v5.3'
fix(wifi): fix some wifi bugs 260625 backport v5.3

See merge request espressif/esp-idf!50040
2026-06-26 16:45:21 +08:00
Shu Chen 49072a3162 Merge branch 'feat/seperate_ot_citest_tags_v5.3' into 'release/v5.3'
ci: seperate openthread test cases (v5.3)

See merge request espressif/esp-idf!50070
2026-06-26 07:57:08 +00:00
yiwenxiu aff69acef4 ci: seperate openthread test cases 2026-06-26 15:03:25 +08:00
Sumeet Singh 959fa33438 fix(nimble): Add npl locks to avoid race condition (v5.3) 2026-06-26 12:29:36 +05:30
Jiang Jiang Jian 1874d5ba0d Merge branch 'bugfix/ai_review_hfp_v5.3' into 'release/v5.3'
fix(bt): Fix the critical issues related to HFP from AI review report (v5.3)

See merge request espressif/esp-idf!50010
2026-06-26 14:06:41 +08:00
morris dc5bff51ca Merge branch 'fix/adc_monitor_error_on_ch8_9_on_s3_v5.3' into 'release/v5.3'
Fix ADC Continuous Monitor Callback Failure for ADC1 Channels 8/9 on ESP32-S3 (v5.3)

See merge request espressif/esp-idf!49508
2026-06-26 11:13:31 +08:00
C.S.M 80e7b00e92 fix(jpeg): Fix the jpeg size might exceed the buffer size 2026-06-26 11:09:03 +08:00
Island bdbe3ee28e Merge branch 'fix/reduce_acl_event_gaps_v5.3' into 'release/v5.3'
feat(ble): updated libble to 71d180a4 for esp32h4 and esp32s31 (5.3)

See merge request espressif/esp-idf!49589
2026-06-26 10:47:12 +08:00
morris 3d28f377a5 Merge branch 'ci/move_adc_runner_to_generic_v5.3' into 'release/v5.3'
ci(adc): move all ADC runners to generic (v5.3)

See merge request espressif/esp-idf!49796
2026-06-26 10:20:51 +08:00
Zhi Wei Jian a842d54f4d feat(ble/bluedroid): add CS Security Requirements host support (Core 6.3)
(cherry picked from commit 919622c01c)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:17 +08:00
Zhi Wei Jian ea68f1efd1 feat(ble/bluedroid): add LE UTP host support (Core 6.2)
(cherry picked from commit 3844e24207)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:16 +08:00
Zhi Wei JianandCursor 90dbfc2777 feat(ble/bluedroid): add Shorter Connection Intervals host support (Core 6.2)
Co-authored-by: Cursor <cursoragent@cursor.com>


(cherry picked from commit 2a8a96d650)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:16 +08:00
Zhi Wei Jian 22840d0259 feat(ble/bluedroid): add LL Extended Feature Set host support (Core 6.0)
(cherry picked from commit d568f2f151)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:15 +08:00
Zhi Wei JianandCursor 03f7c04406 feat(ble/bluedroid): add Frame Space Update host support (Core 6.0)
Co-authored-by: Cursor <cursoragent@cursor.com>


(cherry picked from commit 5372ce03a3)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:15 +08:00
Zhi Wei Jian 1d5d127881 feat(ble/bluedroid): add DBAF host support (Core 6.0)
(cherry picked from commit e20d3f0197)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:14 +08:00
Zhi Wei Jian 66621eed2c feat(bt/ble_uart): Support ble uart more interfaces
- Added tagged event API (ble_uart_evt_t / on_event)
- Added bond management APIs
- Supported custom adv_data / scan_rsp_data
- Validate device_name length synchronously
- Added ble_uart_close_async() and EVT_CLOSED
- Added granular security config (security struct)
- Supported Passkey Entry and Numeric Comparison


(cherry picked from commit f1d9c994d2)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:07:54 +08:00