Commit Graph

23799 Commits

Author SHA1 Message Date
Omar Chebib
976b847ca1 fix(i2c): fix issues related to timeout and alive interval tick
Fixes https://github.com/espressif/esp-idf/issues/4999

Former usage of I2C_CMD_ALIVE_INTERVAL_TICK macro overrode the ticks_to_wait
parameter when the latter was too big
2024-04-02 10:47:51 +08:00
gongyantao
b0a6609e7a fix(bt): fix some issues in bt controller
1: fixed the incorrect timeing in reporting HCI_Link_Key_Type_Changed.
2: fixed the incorrect iv value during resuming encryption.
3: fixed the incorrect return with hci command rd_stored_link_key.
2024-04-02 09:42:49 +08:00
Rahul Tank
5ff6298956 fix(nimble): Change reconnection scheme 2024-04-01 18:23:16 +05:30
Jiang Jiang Jian
718c649e06 Merge branch 'bugfix/fix_call_to_header_event_callback_v4.4' into 'release/v4.4'
fix: Fix call to event_handler on on_header state of HTTP Client (v4.4)

See merge request espressif/esp-idf!29957
2024-04-01 19:49:26 +08:00
Harshit Malpani
1451ec389b
Revert "fix(esp_http_client): Call event_handler after header value is received"
This reverts commit 04ac8e43db.

Fixes https://github.com/espressif/esp-idf/issues/13497
Fixes https://github.com/espressif/esp-idf/issues/13097
2024-04-01 13:21:45 +05:30
Jiang Jiang Jian
e1f8314fd7 Merge branch 'change/add_convt_from_hci_state_to_esp_state_v4.4' into 'release/v4.4'
change(bt/bluedroid): Use BTC util to convert HCI status to ESP status (v4.4)

See merge request espressif/esp-idf!29924
2024-04-01 14:17:23 +08:00
Rahul Tank
31932039fc Merge branch 'bugfix/handle_missing_free_v4.4' into 'release/v4.4'
fix(nimble): Handle missing free in application (v4.4)

See merge request espressif/esp-idf!29890
2024-03-29 21:02:52 +08:00
Rahul Tank
c71bd1e681 fix(nimble): Handle missing free in application 2024-03-28 08:52:24 +05:30
Jin Cheng
9ce03290cc change(bt/bluedroid): Use BTC util to convert HCI status to ESP status 2024-03-28 11:06:22 +08:00
Island
1e1030e5ef Merge branch 'bugfix/BT-3491_v4.4' into 'release/v4.4'
bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have...(v4.4)

See merge request espressif/esp-idf!28052
2024-03-25 12:11:15 +08:00
Rahul Tank
718cdd6c65 Merge branch 'bugfix/bonding_across_reboot_v4.4' into 'release/v4.4'
fix(nimble): Added support for deleting the oldest bonded device across reboot (v4.4)

See merge request espressif/esp-idf!29765
2024-03-21 16:49:26 +08:00
Jakob Hasse
5dbe8d3539 fix(log): Fixed incorrect argument type in hexdump log functions
Closes https://github.com/espressif/esp-idf/issues/13347
Thanks @matthew-8925
2024-03-21 16:18:37 +08:00
Darshan Dobariya
eabb77e9bc fix(nimble): Added support for deleting the oldest bonded device across reboot (v4.4) 2024-03-21 10:52:13 +05:30
Rahul Tank
6f4ff9b30f Merge branch 'bugfix/fix_dangling_pointer_compilation_warning_v4.4' into 'release/v4.4'
fix(nimble): Fix dangling pointer error during compilation (v4.4)

See merge request espressif/esp-idf!29743
2024-03-21 13:05:37 +08:00
wangjialiang
000bf3a365 update invalid links in the ble mesh example documentation 2024-03-21 11:13:37 +08:00
luoxu
ce36163317 bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have already left the network. 2024-03-21 11:13:37 +08:00
Roland Dobai
2a4923faa6 Merge branch 'refactor/idf_tools_version_v4.4' into 'release/v4.4'
refactor(idf_tools): IDF version is acquired only from version or header file (backport v4.4)

See merge request espressif/esp-idf!29745
2024-03-20 21:33:30 +08:00
Jakub Kocka
dfe281bbf4 refactor(idf_tools): IDF version is acquired only from version or header file
Closes https://github.com/espressif/esp-idf/issues/13385
2024-03-20 13:42:27 +01:00
Jiang Jiang Jian
5452195e33 Merge branch 'bugfix/cve-2023-52160_v4.4' into 'release/v4.4'
fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements (v4.4)

See merge request espressif/esp-idf!29752
2024-03-20 16:25:51 +08:00
Jiang Jiang Jian
8df220e6a4 Merge branch 'bugfix/fix_fastmem_slowmem_lost_data_bug_v4.4' into 'release/v4.4'
[C3/S3]Fix sleep fast_mem & slow_mem may lost bug (v4.4)

See merge request espressif/esp-idf!29643
2024-03-20 16:24:56 +08:00
Jiang Jiang Jian
894a0d54e5 Merge branch 'bugfix/fix_s3_bbpll_cali_fail_bug_v4.4' into 'release/v4.4'
fix: fix s3 bbpll calibration fail bug (v4.4)

See merge request espressif/esp-idf!29647
2024-03-20 16:21:22 +08:00
Kapil Gupta
4db2ef0f33 fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements
The previous PEAP client behavior allowed the server to skip Phase 2
authentication with the expectation that the server was authenticated
during Phase 1 through TLS server certificate validation. Various PEAP
specifications are not exactly clear on what the behavior on this front
is supposed to be and as such, this ended up being more flexible than
the TTLS/FAST/TEAP cases. However, this is not really ideal when
unfortunately common misconfiguration of PEAP is used in deployed
devices where the server trust root (ca_cert) is not configured or the
user has an easy option for allowing this validation step to be skipped.

Change the default PEAP client behavior to be to require Phase 2
authentication to be successfully completed for cases where TLS session
resumption is not used and the client certificate has not been
configured. Those two exceptions are the main cases where a deployed
authentication server might skip Phase 2 and as such, where a more
strict default behavior could result in undesired interoperability
issues. Requiring Phase 2 authentication will end up disabling TLS
session resumption automatically to avoid interoperability issues.

Allow Phase 2 authentication behavior to be configured with a new phase1
configuration parameter option:
'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
tunnel) behavior for PEAP:
 * 0 = do not require Phase 2 authentication
 * 1 = require Phase 2 authentication when client certificate
   (private_key/client_cert) is no used and TLS session resumption was
   not used (default)
 * 2 = require Phase 2 authentication in all cases
2024-03-20 09:42:14 +05:30
Marius Vikhammer
8643854656 Merge branch 'fix/console-build-error_v4.4' into 'release/v4.4'
console: Fix building issue when serial JTAG is set (v4.4)

See merge request espressif/esp-idf!23737
2024-03-20 10:35:53 +08:00
Rahul Tank
7489d8ff2d fix(nimble): Fix dangling pointer error during compilation 2024-03-19 19:32:56 +05:30
hongshuqing
fbe83d8738 fix: fix s3 bbpll cali fail bug 2024-03-19 14:22:56 +08:00
Jiang Jiang Jian
7bc11370e6 Merge branch 'doc/update_espnow_doc_v4.4' into 'release/v4.4'
docs(wifi): Updated the LMK description in ESP-NOW (v4.4)

See merge request espressif/esp-idf!29672
2024-03-19 14:22:02 +08:00
Jiang Jiang Jian
dc354527dc Merge branch 'bugfix/make_coexist_callback_safe_v4.4' into 'release/v4.4'
fix(bt/controller): Fixed some bugs in esp32 bt controller (v4.4)

See merge request espressif/esp-idf!29685
2024-03-19 14:21:34 +08:00
chaijie@espressif.com
30edfaeb06 fix: fix sleep fast_mem & slow_mem may lost bug 2024-03-15 20:02:29 +08:00
linruihao
24b5515d4f fix(bt/controller): Fixed some bugs in esp32 bt controller
1. fixed crash issue in coexist callback
2. fixed wrong LMP message send when expect peer device increase tx power to max
2024-03-15 19:09:07 +08:00
Roland Dobai
0b75989e37 Merge branch 'fix/fix_curses_py312_v4.4' into 'release/v4.4'
Fix Access Violation Error on Windows with Python 3.12 (v4.4)

See merge request espressif/esp-idf!29512
2024-03-15 16:20:14 +08:00
zhangyanjiao
457c7ed867 docs(wifi): Updated the LMK description in ESP-NOW
Closes https://github.com/espressif/esp-idf/issues/12976
2024-03-15 15:25:16 +08:00
Jiang Jiang Jian
d3a0f26c84 Merge branch 'feat/move_ag_cb_malloc_to_btc_v4.4' into 'release/v4.4'
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module (v4.4)

See merge request espressif/esp-idf!29634
2024-03-14 16:22:56 +08:00
Jiang Jiang Jian
30f96ffe48 Merge branch 'bugfix/sdspi_acmd41_arg_v4.4' into 'release/v4.4'
fix(sdmmc): fixes for card initialization (ACMD41) (v4.4)

See merge request espressif/esp-idf!29379
2024-03-14 16:22:32 +08:00
Jin Cheng
9830b8bb22 feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-03-14 10:56:25 +08:00
Rahul Tank
f2d72feab8 Merge branch 'contrib/github_pr_13034_v4.4' into 'release/v4.4'
docs(nimble): Fixed typo in examples/bluetooth/nimble/blehr/README (GitHub PR) (v4.4)

See merge request espressif/esp-idf!29618
2024-03-14 03:30:47 +08:00
Martin Vychodil
d2bc43f543 Merge branch 'bugfix/nvs_lock_initi_and_multipage_blob_v4.4' into 'release/v4.4'
Bugfix/nvs Improved handling of BLOB during unreliable power environment and concurrent data access scenarios (v4.4)

See merge request espressif/esp-idf!29324
2024-03-13 23:04:32 +08:00
Alex Verschoot
60b9b7ef82 Update README.md
Fix typo
2024-03-13 17:09:53 +05:30
Rahul Tank
cfb86ecfc6 Merge branch 'bugfix/reconnect_host_based_v4.4' into 'release/v4.4'
fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 (v4.4)

See merge request espressif/esp-idf!29573
2024-03-13 12:25:49 +08:00
radek.tandler
651102302a fix(nvs): CMakeLists.txt adopted for nvs_host_test v4.4 2024-03-12 13:36:15 +01:00
radek.tandler
156429b56a fix(nvs): Fixed Page::findItem performance degradation caused by wrong condition before hash map use
The condition enabling use of hash map when page is searched for Item was modified
to correct the bug introduced by commit addressing delete of any BLOB_INDEX Items.
This correction returns the performance of findItem to the state before previous change.
2024-03-12 13:34:51 +01:00
Roland Dobai
cebb1b3068 Merge branch 'feature/export_bat_exit_codes_v4.4' into 'release/v4.4'
feat(tools): produce correct err code in install/export .bat scripts (v4.4)

See merge request espressif/esp-idf!29547
2024-03-12 15:14:07 +08:00
Darshan Dobariya
1243dab84d fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 (v4.4) 2024-03-12 12:30:25 +05:30
Jiang Jiang Jian
5bd00ecceb Merge branch 'bugfix/fix_some_ble_bugs_cjh_v4.4' into 'release/v4.4'
Fixed some BLE bugs 2403 (backport v4.4)

See merge request espressif/esp-idf!29468
2024-03-12 11:02:39 +08:00
Marek Fiala
d65e3c8f4e feat(tools): produce correct err code in export/install .bat scripts
Plus unify labels to begin with underscore
2024-03-11 10:11:40 +01:00
Jiang Jiang Jian
c4ce15b33d Merge branch 'bugfix/fix_some_ble_bugs_240310_v4.4' into 'release/v4.4'
Bugfix/fix some ble bugs 240310 v4.4(backport v4.4)

See merge request espressif/esp-idf!29520
2024-03-11 11:24:50 +08:00
zhanghaipeng
7eebebff0c fix(ble/bluedroid): Fixed BLE BLE periodic advertising parameter check 2024-03-10 20:08:51 +08:00
zhanghaipeng
4b40817158 fix(ble/bluedroid): Fixed BLE crash when repeatedly initialize and deinitialize host 2024-03-10 20:05:16 +08:00
Rahul Tank
c93a15c19d Merge branch 'bugfix/gap_connect_failed_with_0x0d_v4.4' into 'release/v4.4'
fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT (v4.4)

See merge request espressif/esp-idf!29495
2024-03-08 22:44:16 +08:00
Jan Beran
009d84cc8f fix(menuconfig): Prevent Access violation on Windows with Python 3.12
Closes https://github.com/espressif/esp-idf/issues/13232
2024-03-08 14:30:43 +01:00
Abhinav Kudnar
64b278f74e fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT 2024-03-08 11:31:36 +05:30