Commit Graph

956 Commits

Author SHA1 Message Date
muhaidong
4827db814f fix(wifi): add ESP_WIFI_MAX_CONN_NUM-aligned ranges for soft-AP max STA Kconfig 2026-06-03 10:02:49 +08:00
Mahavir Jain
333c9e3344 Merge branch 'fix/x509_bundle_replace_unreliable_url_v5.2' into 'release/v5.2'
fix(examples): replace unreliable external URL in https_x509_bundle example (backport v5.2)

See merge request espressif/esp-idf!47722
2026-05-27 17:09:16 +05:30
Hrushikesh Bhosale
ddedbb7f11 fix(http_server/ws_echo_server): Fix ws_echo_server test URI registration race condition
The WebSocket echo server test connects immediately after seeing
'Starting server on port:' in the device log, but the /ws URI handler
is registered asynchronously after the server starts, taking 40-660ms
depending on config and CI load.

This causes WebSocket handshake to return 404 Not Found because the
URI handler is not registered yet when the client connects.

Wait for 'Returned from app_main()' before connecting, which
guarantees all URI handlers are registered. Add connection retry
with WebSocketBadStatusException handling to WsClient.

(cherry picked from commit 7a50e3ab04)
2026-04-17 14:46:30 +05:30
Hrushikesh Bhosale
4de56cfdc6 fix(https_x509_bundle): replace unreliable external URL in https_x509_bundle example
Replace howsmyssl.com with letsencrypt.org in the https_x509_bundle
example. howsmyssl.com is a third-party server that is frequently
unreachable from CI, causing flaky test failures. letsencrypt.org
chains to the same ISRG Root X1 CA, so the custom certificate bundle
validation coverage is identical.

(cherry picked from commit d6596eff3a)
2026-04-17 14:39:29 +05:30
Jiang Jiang Jian
4e05ccee81 Merge branch 'ci/improve-tests_v5.2' into 'release/v5.2'
tests: change wifi tests expect timeout to 60 (v5.2)

See merge request espressif/esp-idf!46587
2026-03-17 10:26:28 +08:00
Fu Hanxi
06ca1805fd tests: change wifi tests expect timeout to 60
- wifi_router
- wifi_ap
- wifi_high_traffic
2026-03-13 10:05:15 +08:00
Bogdan Kolendovskyy
5c806c924f ci(mqtt): use QoS=1 for control messages in SSL test
SSL test relies on the device receiving a control message during the test, which was being sent
with QoS=0. Send the control message with QoS=1 to avoid failures due to poor network connection.
2026-03-11 16:55:19 +01:00
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
Ondrej Kosta
2f2ab704c0 feat(ci): updated Ethernet tests to align with new runners 2025-12-02 10:43:40 +01:00
hrushikesh.bhosale
483d9c400f 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:31:55 +05:30
hrushikesh.bhosale
f8beb36a4e fix(esp_http_client): Moved httpd_async request from cert_pem to crt_bundle
Moved the httpd_async request from cert_pem to esp_crt_bundle. As cert_pem
is alredy tested for howmyssl URL
2025-08-05 16:28:03 +05:30
Mahavir Jain
d3feee5d06 fix: update root certificate for postman-echo endpoint
The certificate chain for postman-echo endpoint has switched to
Let's Encrypt root CA
2025-06-13 11:06:11 +05:30
harshal.patil
2acb037138 fix(examples): Example CA certs must contain the Key Usage parameter
- Example CA certificates that are used for self-signed client certificates
need to include the Key Usage parameter.
- Python3.13 changed the default context of the SSL context that is
generated using ssl.create_default_context() by enabling the VERIFY_X509_STRICT
flag by default
2025-04-03 10:53:26 +05:30
Mahavir Jain
17c8e14e28 fix(esp_local_ctrl): update for changes in protocomm security2 scheme 2025-03-10 10:01:52 +05:30
David Cermak
2e2551030e fix(lwip): Fix ping session calling thread unsafe API
Closes https://github.com/espressif/esp-idf/issues/14982
2025-01-14 11:25:54 +01:00
David Cermak
4e18af6d43 fix(lwip): Fix IP6 raw socket checksum in IPv6-only configuration
* Update submodule: git log --oneline 0606eed9..3ca49ce4
  - sockets: Make IPv6 only netconn type IPv6 aware (espressif/esp-lwip@3ca49ce4)
2025-01-13 10:25:45 +01:00
morris
5eaa63af7d Merge branch 'bugfix/modbus_serial_examples_fix_mode_v52' into 'release/v5.2'
fix(modbus): Fix the mode setup in modbus slave (backport v5.2)

See merge request espressif/esp-idf!36117
2025-01-06 17:06:07 +08:00
Roland Dobai
2f62363cc6 Merge branch 'feature/add_utf_8_decoding_v5.2' into 'release/v5.2'
feat(tools): Enforced utf-8 encoding with Python open() functions (v5.2)

See merge request espressif/esp-idf!36127
2025-01-05 21:26:37 +08:00
Marek Fiala
3cca3da1d5 feat(tools): Enforce utf-8 encoding with open() function 2025-01-02 16:12:47 +01:00
aleks
bf64894fd8 fix(modbus): Fix the mode setup in modbus slave
https://github.com/espressif/esp-idf/pull/14878
2025-01-02 17:54:22 +08:00
Kabir Waraich
25433ad0e3 Update slave.c to fix the mode
There is an issue in the lines that I have changed. I think it was copied over from the enum by mistake.
2025-01-02 17:54:22 +08:00
WanqQixiang
11d4907521 feat(protocol_examples_common): Add Thread connect to support Thread for the protocol examples 2024-12-31 14:49:22 +08:00
Sarvesh Bodakhe
c3d4270d79 fix(esp_wifi): Add some bugfixes and cleanup in softAP
1. Fix wrong reason code in 'WIFI_EVENT_AP_STADISCONNECTED' event
2. cleanup in softAP for disconnecting connected station
3. Update examples to display reason while processing WIFI_EVENT_AP_STADISCONNECTED event
2024-12-10 20:22:51 +08:00
Harshit Malpani
5a0324ad89 fix: Fixed build errors with TLS 1.3 only configuration 2024-11-28 09:49:03 +05:30
Jiang Jiang Jian
05aa79077d Merge branch 'mqtt_custom_outbox_ci_v5.2' into 'release/v5.2'
Set partition to large for c6 on custom outbox example (v5.2)

See merge request espressif/esp-idf!34171
2024-10-17 10:50:08 +08:00
hrushikesh.bhosale
4ea78b8882 fix(protocols): Erased the storage partition for http_server ci test
Added api to erase storage partition for http_server ci test
2024-10-14 15:47:22 +05:30
Euripedes Rocha
5b57212cfd ci(mqtt): Set partition to large for c6 on custom outbox example
Example failed to build on CI for c6 target due to partition size.
2024-10-14 09:17:50 +02:00
Mahavir Jain
3e761525c3 fix(examples): update root certificate for howsmyssl endpoint
This fixes CI failure seen because of cert migration of howsmyssl
endpoint from previous "DST Root CA X3" (cross-signed) to "ISRG Root X1".
2024-04-12 11:11:44 +08:00
muhaidong
faf0de3b55 fix(example): fixed app partion is too small for binary size 2024-02-22 15:11:00 +08:00
Jiang Jiang Jian
6bfe219bb1 Merge branch 'ci/enable_ip101_jobs_v5.2' into 'release/v5.2'
ci(esp_eth): enabled Ethernet ip101 jobs (v5.2)

See merge request espressif/esp-idf!28613
2024-02-19 11:02:42 +08:00
morris
6717fa0304 Merge branch 'bugfix/fix_modbus_tcp_slave_examples_use_events_v52' into 'release/v5.2'
fix(examples/modbus): fix modbus slave examples may process event flags incorrectly (Backport v5.2)

See merge request espressif/esp-idf!28246
2024-02-18 11:31:36 +08:00
Alex Lisitsyn
97d87072fc fix(examples/modbus): fix modbus slave examples may process event flags incorrectly (Backport v5.2) 2024-02-18 11:31:36 +08:00
Mahavir Jain
585f9a0fc0 Merge branch 'bugfix/fix_esp_http_client_build_failure_with_wifi_v5.2' into 'release/v5.2'
fix: fix esp_http_client_example build failure (v5.2)

See merge request espressif/esp-idf!28760
2024-02-16 13:51:00 +08:00
Mahavir Jain
51d2f67f02 Merge branch 'bugfix/fix_http_client_error_v5.2' into 'release/v5.2'
esp_http_client: Fix reset errno to 0 before call esp_transport_read(backport v5.2)

See merge request espressif/esp-idf!28329
2024-02-16 13:48:43 +08:00
Harshit Malpani
9e472f582b fix: fix esp_http_client_example build failure
Fixed the build failure of esp_http_client_example for ESP32-C6 when
build with Wi-Fi enabled
2024-01-29 11:35:59 +05:30
Ondrej Kosta
9048372138 ci(esp_eth): enabled Ethernet ip101 jobs 2024-01-22 13:52:24 +01:00
Harshit Malpani
c784a6915b fix(esp_http_client): Add test case in esp_http_client example
Add a test case in esp_http_client example to test HTTP_METHOD_HEAD
with async mode
2024-01-08 15:39:12 +08:00
harshal.patil
8e4fa20695 fix(examples): Fix encoding issue in esp_local_ctrl's proto script 2023-12-26 14:02:50 +05:30
David Cermak
6077c3f70c fix(examples): Fix usage of SNTP netif API in examples 2023-11-03 11:18:32 +01:00
Zim Kalinowski
c5ae121bac Merge branch 'bugfix/fix-clean-up-in-error-condition-in-http-example' into 'master'
fix(example/http): Fixed potential memory leak/crash in when handling error condition

See merge request espressif/esp-idf!26060
2023-10-26 18:11:20 +08:00
Zim Kalinowski
d63f83d279 fix(example/http): Fixed potential memory leak/crash in when handling error condition 2023-10-25 14:44:06 +02:00
Harshit Malpani
2da0b61374 fix: Update https_mbedtls example to fix TLS v1.2 connection 2023-10-23 16:23:18 +05:30
Aditya Patwardhan
7b8a2e8119 Merge branch 'fix/https_request_example_build_with_esp_wolfssl' into 'master'
fix(esp-tls): Fix the https_request example build for esp-wolfssl

See merge request espressif/esp-idf!26576
2023-10-20 22:31:14 +08:00
Aditya Patwardhan
7e6f4d4e87 fix(esp-tls): Fix the https_request example build for esp-wolfssl 2023-10-20 13:43:18 +05:30
Alex Lisitsyn
c5b2291eea modbus: fix -wno-format issues in the examples 2023-10-20 15:27:33 +08:00
Zim Kalinowski
fa1a3ce0b5 Merge branch 'refactor/components_linux_compatible' into 'master'
Exclude all currently incompatible components from Linux build

Closes IDF-8318 and IDF-5996

See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00
David Čermák
210f757835 Merge branch 'fix/esp_netif_lock' into 'master'
fix(esp_netif): Lock netif list with TCPIP context

Closes IDFGH-11088

See merge request espressif/esp-idf!26164
2023-10-17 21:36:39 +08:00
Jakob Hasse
548022fbe6 refactor(linux): excluded all non-Linux components from build
* All components which won't build (yet) on Linux are excluded.
  This enables switching to Linux in an application without
  explicitly setting COMPONENTS to main in the main
  CMakeLists.txt.
* ESP Timer provides headers for Linux now
* automatically disabling LWIP in Kconfig if it is not available

doc(linux): brought section
  "Component Linux/Mock Support Overview" up to date
2023-10-16 17:06:54 +08:00
Fu Hanxi
4dbf8c8948 ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
David Cermak
88d18e9a40 fix(esp_netif): Mark esp_netif_next deprecated and fix usages
* Uses netif_find_if() in IPv6 examples
* Fixes esp_netif_next() usage in L2TAP
2023-10-13 15:56:45 +02:00