23740 Commits

Author SHA1 Message Date
Island
6cbb83951d Merge branch 'bugfix/fix_bleqabr24_1152_v5.2' into 'release/v5.2'
Fixed BLE vendor HCI get controller status command on ESP32 (v5.2)

See merge request espressif/esp-idf!32966
2024-08-22 16:57:02 +08:00
Rahul Tank
e3db40bd8e Merge branch 'feat/ble_link_estab_event_v5.2' into 'release/v5.2'
feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link is established (v5.2)

See merge request espressif/esp-idf!32259
2024-08-22 15:16:20 +08:00
David Čermák
3070e0fad8 Merge branch 'fix/websocket_first_packet_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(ws_transport): fix first fragment loosing during websocket connection (release-v5.2)

See merge request espressif/esp-idf!30432
2024-08-21 23:01:57 +08:00
David Čermák
c0f9115ef7 Merge branch 'mqtt_update_v5.2' into 'release/v5.2'
change(mqtt): Updte esp_mqtt submodule (v5.2)

See merge request espressif/esp-idf!32939
2024-08-21 22:58:20 +08:00
Island
b0fb1065a4 Merge branch 'fix/ble_mesh_gh_pr_13135_v5.2' into 'release/v5.2'
fix(ble_mesh): Fix OP_TIME_SET and OP_TIME_STATUS (v5.2)

See merge request espressif/esp-idf!32770
2024-08-21 16:54:55 +08:00
Island
6b36ec53e8 Merge branch 'bugfix/fixed_c2_blufi_issue_when_use_only_4.2_adv_v5.2' into 'release/v5.2'
fix(ble): fixed blufi issue on ESP32-C2 (v5.2)

See merge request espressif/esp-idf!32943
2024-08-21 15:17:57 +08:00
Suren Gabrielyan
c07bc80e90 fix(ws_transport): utility functions minor improvments 2024-08-21 15:17:17 +08:00
Richard Allen
c42cfe1818 fix(ws_transport): fixed server-key corruption
When first fragment is sent over HTTP during websocket
connection, defer buffering of fragment until after the
websocket server-key is validated.

This order is required because the first fragment buffering
overwrites the memory holding the server-key headers.

Fixes 2267d4b
Fixes https://github.com/espressif/esp-protocols/issues/396
PR https://github.com/espressif/esp-idf/pull/13724
2024-08-21 15:17:17 +08:00
Suren Gabrielyan
5d8bb1c72a fix(ws_transport): fix first fragment losting during websocket connection 2024-08-21 15:17:17 +08:00
chenjianhua
0f1e5e4570 fix(bt): Update bt lib for ESP32(241c96c)
- Fixed BLE vendor HCI get controller status command
2024-08-20 19:31:07 +08:00
Jiang Jiang Jian
0579c688ea Merge branch 'fix/fix_wifi_bugs_07_29_v5.2' into 'release/v5.2'
fix(wifi): fix some wifi bugs and support btwt (v5.2)

See merge request espressif/esp-idf!32466
2024-08-20 19:13:01 +08:00
Rahul Tank
793f0b3b65 feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link established 2024-08-20 14:57:14 +05:30
Rahul Tank
79ceb9b9dc Merge branch 'feat/allow_connect_during_scan_v5.2' into 'release/v5.2'
feat(nimble): Add support to allow connection during scanning (v5.2)

See merge request espressif/esp-idf!32844
2024-08-20 17:11:46 +08:00
xuxiao
8971a3c724 fix(wifi): fix some wifi bugs and support btwt (v5.2) 2024-08-20 12:16:56 +08:00
Jiang Jiang Jian
dead39c55d Merge branch 'bugfix/heap_corrupt_in_bt_mem_release_on_esp32_v5.2' into 'release/v5.2'
fix(bt): Fix heap corruption in the call of esp_bt_mem_release on ESP32 (v5.2)

See merge request espressif/esp-idf!32802
2024-08-20 11:39:35 +08:00
zwl
f629fa88d9 fix(ble): fixed blufi issue on ESP32-C2 2024-08-19 21:48:19 +08:00
Euripedes Rocha
2c6bdbbbbf change(mqtt): Update esp_mqtt submodule
git log --oneline aa6f889fb4f6f743b3a550aa587713aabbdca1fc..cac1552e62b0474c162547b7cce345d7cd1aecfe

Detailed description of the changes:
* fix: clang analyzer unknown pragma warning
  - See merge request espressif/esp-mqtt!215
  - See commit https://github.com/espressif/esp-mqtt/commit/6bb5a5b
* fix: gcc analyzer unknown pragma warning
  - See merge request espressif/esp-mqtt!214
  - See commit https://github.com/espressif/esp-mqtt/commit/b527203
* feat: Moves deletion of expired messages to run at all states
  - Closes IDFGH-12831
  - Closes https://github.com/espressif/esp-mqtt/issues/278
  - See commit https://github.com/espressif/esp-mqtt/commit/32dada4
* fix: Handling of state in the outbox for enqueued QoS 0 messages
  - Closes IDFGH-12829
  - Closes https://github.com/espressif/esp-mqtt/issues/276
  - See commit https://github.com/espressif/esp-mqtt/commit/739cb2d
* fix: Instalation of gcovr in host tests was broken
  - See merge request espressif/esp-mqtt!211
  - See commit https://github.com/espressif/esp-mqtt/commit/6643c49
* Allow to publish using only topic alias on MQTT5
  - Closes IDFGH-12735
  - Fix: Allow to publish using only topic alias on MQTT5 (espressif/esp-mqtt@0071aca)
* refactor: replaced heap mock with Linux-compatible heap component
  - See merge request espressif/esp-mqtt!208
  - See commit https://github.com/espressif/esp-mqtt/commit/8b0b43e
* fix: gcc -fanalyzer warnings
  - See merge request espressif/esp-mqtt!209
  - See commit https://github.com/espressif/esp-mqtt/commit/8bc3bff
* fix: Use catch from component manager
  - See merge request espressif/esp-mqtt!210
  - See commit https://github.com/espressif/esp-mqtt/commit/53e0cc7
* fix: Fix host test for github ci.
  - Closes IDF-8883
  - See commit https://github.com/espressif/esp-mqtt/commit/b43d93c
2024-08-19 15:20:42 +02:00
Pat Erley
d05d0108d7 fix(ble_mesh): Fix OP_TIME_SET and OP_TIME_STATUS
When a user app is handling these messages, the tai_utc_delta and
time_zone_offset fields are not correctly populated.  Resolve by
properly setting the fields.
2024-08-16 20:13:34 +08:00
Rahul Tank
a992ae6528 feat(nimble): Add support to allow connection during scanning 2024-08-16 15:06:35 +05:30
Xiao Xufeng
1a111187fa fix(startup): move rtc initialization before MSPI timing tuning to improve stability 2024-08-15 20:55:11 +08:00
Jiang Jiang Jian
1bb33a31b8 Merge branch 'bugfix/avoid_offchan_ftm_retries_v5.2' into 'release/v5.2'
fix(wifi): Avoid internal retries for offchannel FTM Requests (Backport v5.2)

See merge request espressif/esp-idf!32861
2024-08-15 15:47:14 +08:00
Wang Mengyang
68bfd56616 fix(bt): Fix heap corruption in the call of esp_bt_mem_release on ESP32
Closes https://github.com/espressif/esp-idf/issues/14263
2024-08-14 19:00:37 +08:00
Wang Mengyang
a932e1b512 change(bt): Perform comprehensive heap check in test_app for memory release 2024-08-14 19:00:37 +08:00
Nachiket Kukade
64e918e660 fix(wifi): Avoid internal retries for offchannel FTM Requests 2024-08-14 15:33:00 +05:30
Sudeep Mohanty
d430e54f91 test(freertos): Fixed flaky scheduling time test
This commit updates the scheduling time test to test for median
scheduling time values instead of average values.
2024-08-14 09:32:42 +02:00
Marius Vikhammer
ea0783f07c Merge branch 'contrib/github_pr_14329_v5.2' into 'release/v5.2'
fix(ulp): Add the missing extern "C" guard to ulp_lp_core_print.h (GitHub PR) (v5.2)

See merge request espressif/esp-idf!32834
2024-08-14 12:07:58 +08:00
Wang Meng Yang
b8539f660b Merge branch 'bugfix/fix_ble_channel_map_update_v5.2' into 'release/v5.2'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012) (v5.2)

See merge request espressif/esp-idf!32582
2024-08-14 10:50:02 +08:00
Jiang Jiang Jian
166a2e002a Merge branch 'bugfix/fix_newlib_nano_float_printf_issues_v5.2' into 'release/v5.2'
fix newlib nano float printf issues (backport v5.2)

See merge request espressif/esp-idf!32512
2024-08-14 10:47:37 +08:00
Jiang Jiang Jian
3359948660 Merge branch 'fix/disable_timer_wakeup_source_with_auto_sleep_off_v5.2' into 'release/v5.2'
fix(esp_pm): disable timer wakeup source with auto light-sleep off (v5.2)

See merge request espressif/esp-idf!32619
2024-08-14 10:45:27 +08:00
andylinpersonal
e2fca9afcc fix(ulp): Add the missing extern "C" guard to ulp_lp_core_print.h
This commit adds the missing extern `C` guards the ulp_lp_core_print.h
header file.

Closes https://github.com/espressif/esp-idf/pull/14329
2024-08-13 23:11:43 +02:00
Rahul Tank
f8f42d469b fix(nimble) Added change to handle linked om data at blufi layer 2024-08-13 16:54:13 +05:30
Marius Vikhammer
6a7758b1b1 Merge branch 'fix/incorrect_critical_nesting_count_in_linux_port_v5.2' into 'release/v5.2'
fix(freertos): Fixed critical section macro in vTaskPlaceOnEventListRestricted() (v5.2)

See merge request espressif/esp-idf!32743
2024-08-13 10:57:52 +08:00
Island
2cd9da52fe Merge branch 'feat/print_the_ble_mac_when_init_5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
feat(ble): Print out the BT mac when the controller is initialized

See merge request espressif/esp-idf!32731
2024-08-12 20:15:05 +08:00
Aditya Patwardhan
726d796683 Merge branch 'fix/esp32c5_rng_random_disable_v5.2' into 'release/v5.2'
fix(bootloader): update random disable api for ESP32-C5/C6 (v5.2)

See merge request espressif/esp-idf!32762
2024-08-12 16:27:30 +08:00
Mahavir Jain
de7adb43c3 Merge branch 'change/exclude_cves_v5.2' into 'release/v5.2'
change: exclude CVEs that do not impact ESP-IDF components (v5.2)

See merge request espressif/esp-idf!32660
2024-08-12 12:42:02 +08:00
Mahavir Jain
2babadab07
fix(rng): avoid clearing PMU_PERIF_I2C_RSTB in random disable API for C6
This configuration bit is required for ADC operation as well and hence
should not be cleared in the RNG API sequence.

Ideally, the ADC driver should take care of initializing this bit but
still the RNG layer change is required because of interleaved API usage
scenario described in following linked issue.

Closes https://github.com/espressif/esp-idf/issues/14124
Closes https://github.com/espressif/esp-idf/issues/14280
2024-08-12 10:08:49 +05:30
Sudeep Mohanty
411ef4557a fix(freertos): Fixed critical section macro in vTaskPlaceOnEventListRestricted()
The vTaskPlaceOnEventListRestricted() did not use the correct macro when
exiting a kernel cirtical section. This does not affect the HW targets
but on the Linux port, this caused an issue as the critical nesting
count became negative, leading to deadlocks. This commit fixes the bug
and updates the linux port to prevent the nesting count from going
negative.
2024-08-10 09:24:19 +02:00
zwl
fbfa82276a fix(bluetooth/controller): fixed get controller status vendor hci command error on ESP32C6 2024-08-10 13:06:38 +08:00
Shen Weilong
1c0a4dbfa3 feat(ble): Print out the BT mac when the controller is initialized 2024-08-09 20:53:12 +08:00
zhanghaipeng
514a50b423 feat(ble/bluedroid): Support getting BLE address type in bond list 2024-08-09 20:26:00 +08:00
zhanghaipeng
523758c30c docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates 2024-08-09 20:25:31 +08:00
zhanghaipeng
b4d0ba8062 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)
- Fix BLE channel map update when latency is not zero
2024-08-09 20:21:37 +08:00
chenjianhua
6b0b2874e2 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(4e58df9)
- Support enhanced BLE TX power setting and getting
2024-08-09 20:21:37 +08:00
Wang Meng Yang
876eaf8082 Merge branch 'bugfix/fix_hidh_integrity_check_bug_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(esp_hid): Loose the check of input report length to be more compatible[backport 5.2]

See merge request espressif/esp-idf!32721
2024-08-09 19:14:20 +08:00
morris
05446f6103 Merge branch 'bugfix/uart_config_t_size_v5.2' into 'release/v5.2'
fix(uart): fix uart_config_t structure size difference in C and C++ (v5.2)

See merge request espressif/esp-idf!32471
2024-08-09 18:10:56 +08:00
liqigan
900f366919 fix(esp_hid): Loose the check of input report length to be more compatible
Closes https://github.com/espressif/esp-idf/issues/14259
2024-08-09 15:53:24 +08:00
Island
32fd8532f4 Merge branch 'fix/ble_mesh_github_pr_14140_v5.2' into 'release/v5.2'
fix(ble-mesh): don't use dangling pointer in nimble gatt service (v5.2)

See merge request espressif/esp-idf!32613
2024-08-09 10:33:13 +08:00
Wang Meng Yang
e332e4b21b Merge branch 'fix/hfp_pcm_api_set_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Add PCM configuration about pcm frame sync signal shape (backport v5.2)

See merge request espressif/esp-idf!32482
2024-08-08 16:12:12 +08:00
Aditya Patwardhan
a3eabcdabc Merge branch 'fix/incorrect_config_name_v5.2' into 'release/v5.2'
Fix encrypt image instead of the partition optimisation not being enabled (v5.2)

See merge request espressif/esp-idf!32640
2024-08-07 13:28:08 +08:00
Rahul Tank
b7ed2b54ed Merge branch 'feat/set_data_length_enhancement_v5.2' into 'release/v5.2'
feat(nimble): Add extra handling for set data len packet event (v5.2)

See merge request espressif/esp-idf!32623
2024-08-07 13:08:17 +08:00