29361 Commits

Author SHA1 Message Date
Astha Verma
adc64031d9 fix(nimble): Added a function for printing HCI error definition 2024-12-05 14:11:35 +05:30
Jiang Jiang Jian
a44b49dcfb Merge branch 'bugfix/retry_count_when_sta_disconnect_v5.0' into 'release/v5.0'
fix(wifi): Do not attempt re-connection as per 'failure_retry_cnt' when sta itself issues disconnect in between of connection establishment (Backport v5.0)

See merge request espressif/esp-idf!34188
2024-12-05 16:12:54 +08:00
Rahul Tank
8d085f23d5 Merge branch 'bugfix/resolve_watchdog_crash_v5.0' into 'release/v5.0'
fix(nimble): Resolved watchdog due to memory exceed prints (v5.0)

See merge request espressif/esp-idf!35213
2024-12-05 15:18:57 +08:00
Armando
8257d45b86 fix(psram): fixed esp32p pico-v3 psram init not ignored issue
Closes https://github.com/espressif/esp-idf/issues/14970
2024-12-05 14:41:13 +08:00
Jin Cheng
d61db5ca12 fix(bt/bluedroid): fixed access NULL in HFP callback handler 2024-12-05 13:22:25 +08:00
akshat
37531968a8 fix(wifi): Do not try re-connection when sta disconnects with esp_wifi_disconnect()
Do not follow wifi_config::wifi_sta_config::failure_retry_cnt logic when
station itself issues a disconnect from AP/Router using
esp_wifi_disconnect()
2024-12-05 10:12:11 +05:30
Rahul Tank
0dfc977374 fix(nimble): Replace ESP_LOG* with esp_rom_printf in controller context callback 2024-12-04 22:01:41 +08:00
Jiang Jiang Jian
3106c368eb Merge branch 'feat/support_esp32c2_eco4_wifi_v50' into 'release/v5.0'
Feat/support esp32c2 eco4 wifi v50

See merge request espressif/esp-idf!34659
2024-12-04 20:43:06 +08:00
Jiang Jiang Jian
1f5789e649 Merge branch 'fix/duplicated_enc_restart_request_when_change_key_type_v5.0' into 'release/v5.0'
fix(bt): fixed some issues in esp32 bt controller(backport v5.0)

See merge request espressif/esp-idf!35298
2024-12-04 19:21:47 +08:00
Song Ruo Jing
f513286872 fix(uart_vfs): read() now aligned to POSIX defined behavior
- For blocking mode, block until data available
- Return with the bytes available in the file at the time,
  it should not block until reaching the requested size

And read() should not realy return on the newline character
Closes https://github.com/espressif/esp-idf/issues/14155
2024-12-04 15:14:18 +08:00
Jiang Jiang Jian
e4c871935a Merge branch 'bugfix/fix_ble_ke_mem_267_assert_v5.0' into 'release/v5.0'
fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3(backport v5.0)

See merge request espressif/esp-idf!35341
2024-12-04 11:11:05 +08:00
Jiang Jiang Jian
8642718288 Merge branch 'bugfix/fix_c2_light_sleep_coex_v5.0' into 'release/v5.0'
fix(ble): fix ble light sleep error on esp32c2 (v5.0)

See merge request espressif/esp-idf!35052
2024-12-04 11:09:52 +08:00
chenjianhua
4fa7610be8 feat(ble/bluedroid): Support setting connection params when creating connection 2024-12-03 18:05:12 +08:00
Abhinav Kudnar
e5c4002fd8 fix(nimble): Resolved watchdog due to memory exceed prints 2024-12-03 18:04:56 +08:00
zhanghaipeng
f70a669973 fix(ble/bluedroid): Optimize BLE API "esp_ble_gattc_enh_open" 2024-12-03 18:04:46 +08:00
zhanghaipeng
2b08d26dee fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type 2024-12-03 18:04:46 +08:00
wangtao@espressif.com
2bf982e747 feat(wifi): support esp32c2 eco4 wifi lib 2024-12-03 11:25:43 +08:00
wangtao@espressif.com
c9102147d1 fix(wifi): fix esp32c2 eco4 ci issue ld 2024-12-03 11:04:40 +08:00
xiongweichao
4b7f872177 fix(bt/bluedroid): fixed issues introduced by byte alignment
- esp_bt_uuid_t is byte aligned, tBT_UUID is 4-byte aligned.
2024-12-03 09:13:46 +08:00
zhiweijian
5d8f11ac84 fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 2024-12-02 16:23:34 +08:00
Island
2178173ff4 Merge branch 'fix/ble_mesh_heartbeat_bug_v5.0' into 'release/v5.0'
fix(ble_mesh): fixed heartbeat issue (v5.0)

See merge request espressif/esp-idf!34962
2024-12-02 11:29:37 +08:00
gongyantao
21df54c917 fix(bt): fixed some issues in esp32 bt controller
1: fix duplicated lc_enc_restart_req when new lk type is semi-permanent
   key
2: reset PreventEncEvt flag at the end of restart encryption procedure
2024-11-29 14:13:23 +08:00
morris
c1802d076e Merge branch 'contrib/github_pr_14767_v5.0' into 'release/v5.0'
fix(gptimer): race on FSM state in gptimer_start() (GitHub PR) (v5.0)

See merge request espressif/esp-idf!35138
2024-11-29 13:32:17 +08:00
Island
afea334e3d Merge branch 'bugfix/fix_bleqabr24_1646_v5.0' into 'release/v5.0'
Fixed BLE creating connection when the connection already exists on ESP32 (v5.0)

See merge request espressif/esp-idf!35043
2024-11-27 15:43:00 +08:00
Island
389e738e18 Merge branch 'feat/optimize_cble50y24_110_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Added BLE 5.0 throughput examples (v5.0)

See merge request espressif/esp-idf!35006
2024-11-27 15:37:28 +08:00
Wang Meng Yang
581cf343de Merge branch 'feat/add_profile_state_event_v5.0' into 'release/v5.0'
feat(bt/bluedroid): added events to indicate the profile states of HFP (v5.0)

See merge request espressif/esp-idf!35152
2024-11-27 14:44:09 +08:00
Chen Jian Hua
8f072c63f7 feat(bt/bluedroid): Added BLE 5.0 throughput examples
(cherry picked from commit 6d3a82eecfc0d86d699ccb7cc499f27863ab5616)

Co-authored-by: zhangbowen <zhangbowen@espressif.com>
2024-11-27 11:57:15 +08:00
Jiang Jiang Jian
e057cc258f Merge branch 'bugfix/disconn_sdp_upon_wrong_data_v5.0' into 'release/v5.0'
fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response (v5.0)

See merge request espressif/esp-idf!35147
2024-11-26 10:31:27 +08:00
Jin Chen
1021139898 fix(ble): change ld for ble scan coex issue
(cherry picked from commit dd499d7b2e199dab1e56297136ce5af479d01cd9)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-25 21:03:50 +08:00
Jin Chen
219244ffaa fix(ble): fix ble light sleep error on esp32c2
(cherry picked from commit 23f7e33a97ad70ff1e73407650f7b8edbd91fc9a)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-25 21:03:50 +08:00
Jin Cheng
6089d7a664 feat(bt/bluedroid): added events to indicate the profile states of HFP 2024-11-25 16:24:38 +08:00
Jiang Jiang Jian
01a851ca9d Merge branch 'bugfix/wps_ie_reset_v50' into 'release/v5.0'
fix(wifi): Remove WPS IEs once WPS succeeds

See merge request espressif/esp-idf!35081
2024-11-25 15:04:09 +08:00
Wang Meng Yang
05a7a1dab4 Merge branch 'bugfix/osi_replace_free_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Replace free/malloc with osi_free/malloc(v5.0)

See merge request espressif/esp-idf!34610
2024-11-25 13:50:49 +08:00
morris
aa8e0136bd Merge branch 'bugfix/esp32c3_eco7_usj_console_v5.0' into 'release/v5.0'
fix(esp_rom): fix esp32c3 eco7 console rom function address (v5.0)

See merge request espressif/esp-idf!34742
2024-11-25 10:37:16 +08:00
Jin Cheng
42b9cc11da fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response 2024-11-25 10:21:11 +08:00
Wang Meng Yang
9a1f50e5c6 Merge branch 'bugfix/rx_invalid_cmd_err_code_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed the incorrect error code returned when receiving an invalid command(v5.0)

See merge request espressif/esp-idf!34994
2024-11-25 08:13:26 +08:00
Chen Jian Hua
7498ce744d fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists


(cherry picked from commit cada39c3b55b31402028697c3f1e6d3f93702295)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-25 00:05:12 +08:00
xiongweichao
1866feefb6 fix(bt/bluedroid): Replace free/malloc with osi_free/malloc 2024-11-22 21:16:52 +08:00
lsita
3bd624a4b9 fix(gptimer): race condition between start and stop
Merges https://github.com/espressif/esp-idf/pull/14767
2024-11-22 18:28:13 +08:00
Li Bo
17a8462d81 fix(esp_rom): fix esp32c3 eco7 console rom function address 2024-11-22 14:56:45 +08:00
Aditya Patwardhan
8ec2220362 Merge branch 'bugfix/ota_failed_with_openssl_3.0.2_v5.0' into 'release/v5.0'
fix(esp_http_client): Fix ota failure with openssl server (v5.0)

See merge request espressif/esp-idf!35069
2024-11-22 14:54:30 +08:00
Roland Dobai
48ff843ba5 Merge branch 'fix/import_error_msg_v5.0' into 'release/v5.0'
fix(tools): re-raise ImportError without module name (v5.0)

See merge request espressif/esp-idf!35082
2024-11-21 23:05:51 +08:00
wangtao@espressif.com
e56f427065 fix(wifi): put more useful rom code in used 2024-11-21 20:24:39 +08:00
Frantisek Hrbata
a20539d53e fix(tools): re-raise ImportError without module name
The ImportError or ModuleNotFoundError might be raised without
specifying a module name. In this not so common situation, re-raise the
exception to print all the information that could assist in identifying
the problem.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-21 10:10:12 +01:00
Kapil Gupta
88cb3141bf fix(wifi): Remove WPS IEs once WPS succeeds 2024-11-21 13:49:04 +05:30
nilesh.kale
7abf64f3f3 fix(esp_http_client): Fix ota failure with openssl server
If the TLS server (e.g., openssl) closes connection with encrypted close-notify alert
then `errno` is not explicitly set on the socket by LwIP stack.
For this scenario, we must rely only on `ERR_TCP_TRANSPORT_CONNECTION_CLOSED_BY_FIN`
return value as the connection close case and do the graceful connection closure.

Closes https://github.com/espressif/esp-idf/issues/14724
2024-11-21 12:36:54 +05:30
Jiang Jiang Jian
e35c46b29f Merge branch 'fix/fix_deadlock_in_pm_mode_switching_v5.0' into 'release/v5.0'
fix(esp_pm): fix deadlock in pm_mode switching (v5.0)

See merge request espressif/esp-idf!34990
2024-11-19 19:04:27 +08:00
Rahul Tank
4580874d30 Merge branch 'bugfix/memory_issue_v5.0' into 'release/v5.0'
fix(nimble): Nimble Error logs in case of memory overflow/failure (v5.0)

See merge request espressif/esp-idf!35001
2024-11-19 17:12:11 +08:00
wuzhenghui
91d1b1276c
fix(esp_pm): fix deadlock in pm_mode switching 2024-11-18 19:23:21 +08:00
Abhinav Kudnar
f13bbbb774 fix(nimble): Nimble Error logs in case of memory overflow/failure 2024-11-18 17:57:52 +08:00