Commit Graph

34832 Commits

Author SHA1 Message Date
Ivan Grokhotkov
95e169b5f2 ci(nvs_flash): upgrade to Catch2 as a component, fix warnings 2025-09-10 19:02:59 +02:00
radek.tandler
683212f41e refactor(nvs_flash): Improved Blob performance
The findItem method was improved to use a hash list in RAM when searching for BLOB data chunks

The findItem method was extended with a parameter that returns the position of an item on the page,
if it is found

The algorithm for matching existing variable-length data (such as strings and BLOBs) with
new values was enhanced by comparing the CRC32 of the data chunks before reading the data from flash
2025-09-10 19:02:59 +02:00
radek.tandler
521463503f fix(nvs_flash): nvs_set with same key and different data type
Function now always rewrites old value under same key
regardless existing data type. Users requiring old API behaviour
can enable it by kconfig option CONFIG_NVS_LEGACY_DUP_KEYS_COMPATIBILITY
2025-09-10 19:02:25 +02:00
Jiang Jiang Jian
d4b1bfafba Merge branch 'fix/wrong_auth_mode_in_sta_connected_evt_v5.1' into 'release/v5.1'
fix(wifi): send correct wifi_auth_mode_t in WIFI_EVENT_STA_CONNECTED and logs (Backport v5.1)

See merge request espressif/esp-idf!41669
2025-09-03 21:15:34 +08:00
Island
85b5dd729f Merge branch 'feat/ble_log_v2_v5.1' into 'release/v5.1'
feat(ble): refactored ble log module with layered design (v5.1)

See merge request espressif/esp-idf!41655
2025-09-03 14:18:59 +08:00
Rahul Tank
cb46dca64e Merge branch 'fix/table_structure_v5.1' into 'release/v5.1'
fix(nimble): Restructure the table in README.md file (v5.1)

See merge request espressif/esp-idf!41664
2025-09-01 17:14:56 +05:30
Sarvesh Bodakhe
235b9a2b7f fix(wifi): send correct wifi_auth_mode_t in event WIFI_EVENT_STA_CONNECTED and logs
- Fixes the authmode sent in WIFI_EVENT_STA_CONNECTED for WPA3-Enterprise, which
  was previously taken directly from the AKM field. This caused incorrect values in some cases.
- Updates the "security" log to show the correct wifi_auth_mode_t.
- Fixes wrong authmode strength used in the connection path.
2025-09-01 13:52:00 +05:30
Shreeyash
6935c78023 fix(nimble): Restructure the table in README.md file 2025-09-01 10:58:17 +05:30
Zhou Xiao
42cbd032b0 feat(ble): refactored ble log module with layered design
(cherry picked from commit 797a0c4e6eafaf6164e0f9c34f3867a46733924c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-01 13:13:26 +08:00
Jiang Jiang Jian
2cd17c2e4b Merge branch 'bugfix/fix_espnow_coexist_mode_switch_issue_v5.1' into 'release/v5.1'
fix(wifi): fix some esp-now issues and lightsleep issues

See merge request espressif/esp-idf!41534
2025-08-28 12:10:48 +08:00
Jiang Jiang Jian
e4c8197983 Merge branch 'feat/concat_otcommand_for_console_v5.1' into 'release/v5.1'
feat(openthread): support openthread cli console command register(v5.1)

See merge request espressif/esp-idf!41506
2025-08-27 19:39:17 +08:00
liuning
ec68067d1b fix(wifi): fix some esp-now issues and lightsleep issues
1. fix tbtt issues when wifi_slp_iram_opt is not enabled and light sleep
   enabled
2. support espnow rx all the time at coexistence default mode, fix some
   coexist perfermance issue with coexistence default mode.
3. support connectionless ps with enhanced_light_sleep
4. fix espnow coexist issue when switching to coexistence mode
5. fix concurrent issue of connectionless_interval_set API
2025-08-26 17:58:48 +08:00
zwx
80300dc880 feat(openthread): support openthread cli console command register 2025-08-26 12:37:52 +08:00
Jiang Jiang Jian
876bbf9c30 Merge branch 'backport/backport_some_bugfix_250822_v5.1' into 'release/v5.1'
fix(wifi): fix some wifi bugs(backport v5.1)

See merge request espressif/esp-idf!41482
2025-08-26 12:16:34 +08:00
Rahul Tank
3231ed8464 Merge branch 'bugfix/post_conn_failure_v5.1' into 'release/v5.1'
fix(nimble): Add code to post connection failure (v5.1)

See merge request espressif/esp-idf!41446
2025-08-25 19:36:40 +05:30
yinqingzhao
7e92f63180 fix(wifi): fix some wifi bugs 2025-08-25 16:30:54 +08:00
Mahavir Jain
f8d493be6e Merge branch 'feat/make_https_async_request_under_crt_bundle_config_v5.1' into 'release/v5.1'
feat(esp_http_client): Make https_async request under CERT BUNDLE config (v5.1)

See merge request espressif/esp-idf!41462
2025-08-25 13:59:36 +05:30
Jiang Jiang Jian
cdc150e41b Merge branch 'bugfix/offchan_fixes_v5.1' into 'release/v5.1'
fix(wifi): Fix issues discovered by customer for offchannel

See merge request espressif/esp-idf!41349
2025-08-25 10:31:48 +08:00
hrushikesh.bhosale
6083f08a34 feat(esp_http_client): Make https_async request under CERT BUNDLE config
Make https_async rqeuest under MBEDTLS_CERTIFICATE_BUNDLE config
2025-08-22 16:32:11 +05:30
Rahul Tank
e71b10a23d fix(nimble): Add code to post connection failure
In event of a corner case, where connection is not completed,
connection reattempt is disabled, so need to post connection
failure event to application to make it aware of the failure
2025-08-22 16:21:39 +05:30
Shreyas Sheth
3df001e84f fix(wifi): Fix issues discovered by customer for offchannel 2025-08-22 15:06:32 +05:30
Wang Meng Yang
8f9a806d7a Merge branch 'bugfix/fix_bt_security_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Prevent out-of-bounds access and add type check when resolving EIR data (v5.1)

See merge request espressif/esp-idf!41401
2025-08-21 19:43:20 +08:00
Island
8a9059fd28 Merge branch 'change/ble_update_lib_20250814_v5.1' into 'release/v5.1'
change(ble): [AUTO_MR] 20250814 - Update ESP BLE Controller Lib (v5.1)

See merge request espressif/esp-idf!41368
2025-08-21 10:54:42 +08:00
Rahul Tank
a32c2cc896 Merge branch 'fix/adding_missing_apis_nimble_v5.1' into 'release/v5.1'
fix(nimble): Added helper APIs in NimBLE (v5.1)

See merge request espressif/esp-idf!40932
2025-08-20 16:33:48 +05:30
Jiang Jiang Jian
16d3dafda3 Merge branch 'change/remove_assert_in_esp_sleep_pd_config_v5.1' into 'release/v5.1'
change(esp_hw_support): warning in esp_sleep_pd_config instead of assert (v5.1)

See merge request espressif/esp-idf!41121
2025-08-20 14:41:28 +08:00
Jiang Jiang Jian
9a2470b17e Merge branch 'feat/support_disable_pll_track_v5.1' into 'release/v5.1'
Support disable pll track (v5.1)

See merge request espressif/esp-idf!40368
2025-08-20 14:40:54 +08:00
Jiang Jiang Jian
a805fe0dbd Merge branch 'fix/fix_lightsleep_pd_modem_breaks_common_fe_clock_v5.1' into 'release/v5.1'
fix(esp_hw_support): fix lightsleep pd modem breaks common fe clock (v5.1)

See merge request espressif/esp-idf!41114
2025-08-20 14:40:41 +08:00
Jiang Jiang Jian
0a3c5252a6 Merge branch 'bugfix/update_librtc_v5.1' into 'release/v5.1'
fix(esp_phy): update esp32 librtc.a for coex problems (v5.1)

See merge request espressif/esp-idf!41256
2025-08-20 14:31:52 +08:00
yangfeng
f08c4dbea1 fix(bt/bluedroid): Prevent out-of-bounds access and add type check when resolving EIR data 2025-08-20 14:31:15 +08:00
Island
035e2f5f32 Merge branch 'bugfix/ble_enhanced_security_v2_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data (v5.1)

See merge request espressif/esp-idf!41303
2025-08-20 11:18:06 +08:00
Island
1c926f0454 Merge branch 'feat/support_blufi_adv_with_name_v5.1' into 'release/v5.1'
feat(bt/blufi): Support Blufi start advertising with specified name (v5.1)

See merge request espressif/esp-idf!41334
2025-08-20 10:37:52 +08:00
Island
bfa768153c Merge branch 'feat/support_cble50y24_108_v5.1' into 'release/v5.1'
Support multi-connection optimization and examples on Bluedroid (v5.1)

See merge request espressif/esp-idf!41196
2025-08-19 21:10:50 +08:00
Astha Verma
2c04c713bd fix(nimble): Added missing api in nimble which present in bluedroid 2025-08-19 12:33:39 +05:30
Zhou Xiao
9b4b230363 feat(ble): support pawr feature in ble sdk on ESP32-H2
(cherry picked from commit 2f7e200fc8)

Co-authored-by: cjin <jinchen@espressif.com>
2025-08-19 13:13:39 +08:00
Zhou Xiao
e0268646d9 feat(ble): support pawr feature in ble sdk on ESP32-C6
(cherry picked from commit 410d904845)

Co-authored-by: cjin <jinchen@espressif.com>
2025-08-19 13:13:37 +08:00
Zhou Xiao
4bfe2bd9c3 feat(ble): add clk source freq change of ble slow clock on ESP32-H2
(cherry picked from commit cb60528f23)

Co-authored-by: cjin <jinchen@espressif.com>
2025-08-19 13:13:35 +08:00
Zhou Xiao
9fce4890da feat(ble): add clk source freq change of ble slow clock on ESP32-C6
(cherry picked from commit b5ce766c7f)

Co-authored-by: cjin <jinchen@espressif.com>
2025-08-19 13:13:32 +08:00
Zhou Xiao
51f5327edf change(ble): [AUTO_MR] Update lib_esp32c6 to 9492a0cb
(cherry picked from commit 236baa7585)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-19 13:13:30 +08:00
Zhou Xiao
63943fc64b change(ble): [AUTO_MR] Update lib_esp32h2 to 9492a0cb
(cherry picked from commit ea32d4cd18)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-19 13:13:28 +08:00
Wang Meng Yang
c82eeb5aa3 Merge branch 'bugfix/check_bd_addr_only_for_bredr_v5.1' into 'release/v5.1'
fix(bt): check bd address only for bredr in bluedroid host l2cu_allocate_lcb() (v5.1)

See merge request espressif/esp-idf!41357
2025-08-19 11:40:56 +08:00
Alexey Gerenkov
2700f404d9 Merge branch 'fix/coredump_max_tasks_num_v5.1' into 'release/v5.1'
fix(coredump): implement CONFIG_ESP_COREDUMP_MAX_TASKS_NUM limitation (v5.1)

See merge request espressif/esp-idf!41131
2025-08-18 23:20:03 +08:00
Shen Wei Long
ade8924897 fix(bt): check bd address only for bredr in bluedroid host l2cu_allocate_lcb()
(cherry picked from commit 61c13ef849)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-08-18 13:23:12 +00:00
chenjianhua
9c82928de8 feat(ble/bluedroid): Added BLE multiple connections examples 2025-08-18 19:44:36 +08:00
chenjianhua
03adca82ab feat(ble/bluedroid): Support multi-connection optimization vendor hci command 2025-08-18 19:44:36 +08:00
Chen Jian Hua
73f68f5993 fix(ble/bluedroid): Fixed the connection count limit in multi-connection
(cherry picked from commit 437aba1653)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-18 19:44:36 +08:00
Chen Jian Hua
a757cd256d fix(bt/bluedroid): adjust L2CAP round robin msg send strategy
(cherry picked from commit 2ccae5330e)

Co-authored-by: xuzhekai <xuzhekai@espressif.com>
2025-08-18 19:44:36 +08:00
morris
83dbd983c4 Merge branch 'refactor/use_gdma_link_in_rmt_v5.1' into 'release/v5.1'
refactor(rmt): use gdma link list driver to mount buffer (v5.1)

See merge request espressif/esp-idf!41241
2025-08-18 14:56:32 +08:00
Chen Jian Hua
c00e36c68f feat(bt/blufi): Support Blufi start advertising with specified name
(cherry picked from commit ea8bcdc360)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-18 14:54:36 +08:00
morris
7abf4408b6 Merge branch 'bugfix/ledc_update_duty_wait_v5.1' into 'release/v5.1'
fix(ledc): duty_start bit should wait for its self-clear before next set on esp32 (v5.1)

See merge request espressif/esp-idf!41283
2025-08-17 21:34:18 +08:00
morris
103bf988e4 Merge branch 'bugfix/gpio_esp32_workaround_v5.1' into 'release/v5.1'
fix(gpio): fix ESP32 GPIO sleep mode handling (v5.1)

See merge request espressif/esp-idf!41261
2025-08-15 18:14:41 +08:00