Commit Graph

38308 Commits

Author SHA1 Message Date
gongyantao
fa15322dd2 change(bt): Mark RSSI threshold-related macros as deprecated 2026-02-28 17:21:40 +08:00
Island
e23c7ad8ad Merge branch 'change/ble_update_lib_20260127_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20260127 - Update ESP BLE Controller Lib (v5.2)

See merge request espressif/esp-idf!45674
2026-02-27 15:29:55 +08:00
Rahul Tank
3194041005 Merge branch 'bugfix/improve_nimble_examples_v5.2' into 'release/v5.2'
fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples (v5.2)

See merge request espressif/esp-idf!45977
2026-02-25 17:30:06 +05:30
morris
0b3d092624 Merge branch 'bugfix/uart_tx_fifo_empty_threshold_v5.2' into 'release/v5.2'
fix(uart): tx write bytes fails to use non-default tx fifo empty threshold (v5.2)

See merge request espressif/esp-idf!45893
2026-02-25 16:11:40 +08:00
Rahul Tank
75eda3f00c fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples
- Remove unused headers from examples
- Improve periodic adv/sync example functionality and readability
- Use ble_hs_id_infer_auto() instead of hardcoded BLE_OWN_ADDR_PUBLIC/RANDOM
- Add ble_hs_util_ensure_addr() calls in on_sync for proper address setup
- Use correct ext adv instance (0 instead of 1) in phy_prph, l2cap_coc, multi_conn
- Fix struct name: ble_gap_periodic_adv_enable_params -> ble_gap_periodic_adv_start_params
- Add CONFIG_BT_NIMBLE_GAP_SERVICE guards around ble_svc_gap_device_name_set
- Fix unsafe AD data parsing with bounds checks in central examples
- Fix UUID matching bugs (off-by-one loop condition and byte order) in
  phy_cent, htp_cent, and proximity_sensor_cent
- Fix ble_multi_conn_cent address type to use dynamic inference
- Remove contradictory sm_sc=0 after sm_sc=1 in ble_multi_adv
- Add CONFIG_BT_NIMBLE_EXT_ADV=y to ble_multi_adv sdkconfig defaults
- Check return values for ble_gap_set_host_feat, nimble_port_init
- Update tutorials and READMEs to match code changes
2026-02-25 13:07:02 +05:30
Rahul Tank
d2a5aacb62 Merge branch 'bugfix/fix_host_nimble_fixes_v5.2' into 'release/v5.2'
fix(nimble): Fix various issues for security/vulnerability in host (v5.2)

See merge request espressif/esp-idf!45995
2026-02-25 12:54:20 +05:30
Wang Meng Yang
5157663189 Merge branch 'bugfix/lc_not_wakeup_v5.2' into 'release/v5.2'
fix(ble): Fix restore write-back error caused by memory allocated in PSRAM(v5.2)

See merge request espressif/esp-idf!46004
2026-02-25 12:12:13 +08:00
Song Ruo Jing
8c9f364f3a fix(uart): Avoid division by zero error when calling uart_get_baudrate
If uart_driver_install is not called before uart_get_baudrate,
the UART port may not be ready. In such cases, the register values
cannot be read out, leading to a division by zero error in uart_ll_get_baudrate.
This commit adds a check to ensure the UART port is enabled before
attempting to read its registers.

Closes https://github.com/espressif/esp-idf/issues/17513
2026-02-25 11:31:04 +08:00
Song Ruo Jing
d5f928c13d fix(uart): tx write bytes fails to use non-default tx fifo empty threshold
Users may see tx write bytes fails to feed data into tx fifo in time
even if the tx fifo empty threshold has been set to a large value.
2026-02-25 11:31:04 +08:00
Wang Meng Yang
2a78cd0790 Merge branch 'bugfix/32k_xtal_to_rtc_slow_v5.2' into 'release/v5.2'
fix(bt): Add some debug logs during A2DP sink decoding(v5.2)

See merge request espressif/esp-idf!45783
2026-02-25 10:03:09 +08:00
Martin Vychodil
1cd2b97162 Merge branch 'fix/vfs_missing_va_end_v5.2' into 'release/v5.2'
fix(storage/vfs): Remove va_end leak in ioctl caused by early return in macro (v5.2)

See merge request espressif/esp-idf!45525
2026-02-25 03:40:05 +08:00
xiongweichao
dd51c36dea fix(ble): Fix restore write-back error caused by memory allocated in PSRAM 2026-02-24 10:33:50 +08:00
Rahul Tank
f410a6ca23 fix(nimble): Fix various issues for security/vulnerability in host 2026-02-23 15:26:48 +05:30
Mahavir Jain
2d27a5d382 Merge branch 'fix/esp_http_client_ssldyn_test_failure' into 'release/v5.2'
fix(esp_http_client): Fixed esp_http_client example pytest

See merge request espressif/esp-idf!45986
2026-02-23 14:32:54 +05:30
hrushikesh.bhosale
1f4dd05b0c fix(esp_http_client): Fixed esp_http_client example pytest
- For async request need to expect -1 as content length, but it was
expecting positive value instead
2026-02-23 12:03:49 +05:30
Rahul Tank
00cf64b497 Merge branch 'bugfix/fix_nimble_issues_11022026_v5.2' into 'release/v5.2'
fix(nimble): Bugfix/fix nimble issues 11022026 (v5.2)

See merge request espressif/esp-idf!45911
2026-02-18 09:31:22 +05:30
Astha Verma
02faeeeff0 fix(nimble): Fix memory leak when enabling gatt caching 2026-02-16 18:01:23 +05:30
Rahul Tank
a5478e6629 fix(nimble): Fix tinycrypt compilation issues when enabled 2026-02-16 11:40:05 +05:30
Rahul Tank
99a7b0931a fix(nimble): Fix to not send legacy command incorrectly 2026-02-16 11:39:28 +05:30
Rahul Tank
e3598d3949 fix(nimble): Handle scenario of simultaneous connect 2026-02-16 11:38:44 +05:30
Rahul Tank
1613723abe fix(nimble): Add support to allow multiple ext adv 2026-02-16 11:38:14 +05:30
Shreeyash
b08b131228 fix(nimble): delete connection after lookup in ble_gap_conn_broken 2026-02-16 11:37:39 +05:30
Rahul Tank
700181eb1f fix(nimble): Bugfixes for various issues 2026-02-16 11:35:20 +05:30
Wang Meng Yang
54bcd5b7cc Merge branch 'bugfix/source_acp_miss_audio_cfg_evt_v5.2' into 'release/v5.2'
fix: enhanced packet length check in Bluedroid v5.2

See merge request espressif/esp-idf!45261
2026-02-13 14:02:34 +08:00
morris
d38dcd2c01 Merge branch 'fix/fix_i80lcd_stuck_on_high_pckl_v5.2' into 'release/v5.2'
fix(i80_lcd): fix dma stuck with high pclk (v5.2)

See merge request espressif/esp-idf!45857
2026-02-12 23:04:29 +08:00
Rahul Tank
ab0700c044 Merge branch 'bugfix/fix_ble_multi_adv_v5.2' into 'release/v5.2'
fix(nimble): Fix ble_multi_adv example to show correct UUIDs information (v5.2)

See merge request espressif/esp-idf!45814
2026-02-12 15:48:27 +05:30
Chen Jichang
b6bdb0875d fix(i80_lcd): fix dma stuck with high pclk 2026-02-12 17:22:55 +08:00
Rahul Tank
572ac107cc Merge branch 'bugfix/fix_nimble_issues_v5.2' into 'release/v5.2'
Bugfix/fix nimble issues (v5.2)

See merge request espressif/esp-idf!45619
2026-02-12 13:48:57 +05:30
Island
0ad7ce27cf Merge branch 'fix/ble_mesh_blob_issue_fix_v5.2' into 'release/v5.2'
fix(ble_mesh): Miscellaneous fixes for blob (v5.2)

See merge request espressif/esp-idf!45757
2026-02-11 19:46:34 +08:00
Astha Verma
c042a611c6 fix(nimble): Added device name log for ext adv in blecent_throughput 2026-02-11 12:48:23 +05:30
Shreeyash
f1e7c2f254 fix(nimble): Fix host init assert when periodic sync is disabled 2026-02-11 12:47:35 +05:30
Rahul Tank
fad80cce1a fix(nimble): Added change to copy adv params to be reused during reattempt adv 2026-02-11 12:47:35 +05:30
Rahul Tank
95bcdc3620 fix(nimble) Add EXT_ADV dependancy flag for EXT_SCAN in menuconfig 2026-02-11 12:47:35 +05:30
Rahul Tank
9e19ca3aee fix(nimble): Address security vulnerabilties and NVS corruption issues 2026-02-11 12:47:35 +05:30
Rahul Tank
4fe3e0ffd3 fix(nimble): Add extra logs to track critical failures 2026-02-11 12:47:35 +05:30
Rahul Tank
920f043353 fix(nimble): Fix coverity reported issue
Handled unchecked return value in ble_hs_pvcy.c
2026-02-11 12:47:35 +05:30
Astha Verma
37d5e4ccd9 fix(nimble): Fix early cleanup when periodic sync reattempts exhausted 2026-02-11 12:47:35 +05:30
Rahul Tank
2739813bf0 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-02-11 12:44:06 +05:30
Island
ef79f184a8 Merge branch 'feat/fix_esp32c2_rom_rewrite_issue_rebase_v5.2' into 'release/v5.2'
Feat/fix esp32c2 rom rewrite issue rebase (v5.2)

See merge request espressif/esp-idf!45765
2026-02-11 10:15:49 +08:00
Shu Chen
7ac13d83d0 Merge branch 'feat/add_phy_cli_debug_v5.2' into 'release/v5.2'
feat(openthread): support 154 debug features on RCP (v5.2)

See merge request espressif/esp-idf!45734
2026-02-10 11:08:30 +00:00
xiongweichao
cce31f05e6 fix(bt): Add some debug logs during A2DP sink decoding 2026-02-10 14:58:00 +08:00
xiongweichao
ac88f5b20c fix(bt): Replace 32k_xtal with rtc_slow 2026-02-10 14:58:00 +08:00
Zhao Wei Liang
e12fdd4fd7 feat(ble): add config for reserved controller memory on ESP32C6 and ESP32H2
(cherry picked from commit 4418d5da82)

Co-authored-by: cjin <jinchen@espressif.com>
2026-02-10 00:06:38 +08:00
Zhao Wei Liang
9a51912d05 feat(ble): support adv fast tx feature on ESP32-C6 and ESP32-H2
(cherry picked from commit 84924e3980)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-02-10 00:06:38 +08:00
Zhao Wei Liang
8f840d8262 change(ble): [AUTO_MR] Update lib_esp32c6 to bc223ab7
(cherry picked from commit 6ed9fc7d6b)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-02-10 00:06:38 +08:00
Zhao Wei Liang
61736cf67b change(ble): [AUTO_MR] Update lib_esp32h2 to bc223ab7
(cherry picked from commit 1e196de967)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-02-10 00:06:38 +08:00
Jin Chen
3da9775993 feat(ble): apply new method for rom code logic change on ESP32-C2
(cherry picked from commit 2a0df334e3)

Co-authored-by: cjin <jinchen@espressif.com>
2026-02-09 20:13:13 +08:00
Jin Chen
73e07d97ef feat(ble): support for ble module stripping on ESP32-C2
(cherry picked from commit b90840a570)

Co-authored-by: cjin <jinchen@espressif.com>
2026-02-09 20:13:13 +08:00
Luo Xu
082e1b140f feat(ble_mesh): ignored the previous server status to avoid drop target by mistake
(cherry picked from commit bc2d56b72a)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-09 17:43:18 +08:00
Luo Xu
a1a5cda182 feat(ble_mesh): refuse to suspend dfu client when the last chunk sent
(cherry picked from commit e039b33bb1)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-09 17:43:18 +08:00