Commit Graph

825 Commits

Author SHA1 Message Date
Alex Lisitsyn
cf53d01a6c fix(examples/modbus): fix modbus slave examples may process event flags incorrectly (Backport v5.0) 2024-07-09 16:29:22 +08:00
Harshit Malpani
5f18e58722
fix: Update https_mbedtls example to fix TLS v1.2 connection 2024-05-02 17:15:19 +05:30
Mahavir Jain
1d530cc23c
https_mbedtls: update example to support TLS 1.3 connection
- make server verification mandatory (previously it was optional)
- add PSA crypto init API and handling for session ticket event
- coding style fixes
2024-05-02 17:11:07 +05:30
Mahavir Jain
ff3ec291bb 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:12:27 +08:00
Ondrej Kosta
8c305d182b ci(esp_eth): enabled Ethernet ip101 jobs 2024-01-22 12:48:41 +01:00
Harshit Malpani
5a4fda230a 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:31:55 +08:00
harshal.patil
ca584ef4d7
fix(examples): Fix encoding issue in esp_local_ctrl's proto script 2023-12-26 14:06:48 +05:30
Jiang Jiang Jian
b9ee54988f Merge branch 'fix/esp_netif_lock_v5.0' into 'release/v5.0'
fix(esp_netif): Lock netif list with TCPIP context (v5.0)

See merge request espressif/esp-idf!26712
2023-12-25 14:02:57 +08:00
Zim Kalinowski
2e9999d7b1
fix(example/http): Fixed potential memory leak/crash in when handling error condition 2023-12-13 10:10:43 +05:30
David Cermak
41cd40e7f3 fix(esp_netif): Make esp_netif_next_unsafe() public and update usage
Updates usage of esp_netif_next() in examples and tests
* Uses netif_find_if() in IPv6 examples
* Fixes esp_netif_next() usage in L2TAP
2023-11-27 08:22:55 +01:00
Harshit Malpani
88a815c84e
fix(ci): update HTTP client example tests runner assignment
HTTP client example tests now connect with locally hosted httpbin service
for more stable results across multiple runs
2023-07-21 17:15:35 +05:30
Harshit Malpani
8c6dcfa376
CI: fix esp_http_client example failures in CI. Timeout was observed in the logs while performing HTTP requests. Changing the endpoint when testing in CI 2023-07-21 15:24:22 +05:30
Mahavir Jain
e31712ee56 Merge branch 'bugfix/fix_memory_leak_in_ws_server_example_v5.0' into 'release/v5.0'
example: Fix memory leak in ws_echo_server when httpd_queue_work failed (backport v5.0)

See merge request espressif/esp-idf!23954
2023-05-29 13:21:58 +08:00
yuanjianmin
7b72adaa78 example: Fix memory leak in ws_echo_server when httpd_queue_work failed
Closes https://github.com/espressif/esp-idf/issues/11507
2023-05-26 20:06:45 +08:00
Mahavir Jain
de3fa9ae71
tests: update Root certificate for the test endpoints
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.

This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-17 15:28:23 +05:30
Jiang Jiang Jian
e8205de110 Merge branch 'bugfix/lwip_core_locking_v5.0' into 'release/v5.0'
esp_netif/lwip: Fix core-locking config (v5.0)

See merge request espressif/esp-idf!22443
2023-03-23 16:54:49 +08:00
David Cermak
a18d019fc9 lwip: Fix lwiopts macro expansion and dhcps-test
Minor issue in lwipopts.h in macro expansion in parameters (cosmetic
change: it expands correctly but doesn't pass the expected argument)
Fix lwip thread safety issue in tests: dhcp server should be started and
stopped only in lwip context/thread. Without this fix, the test would
fail if `CONFIG_LWIP_CHECK_THREAD_SAFETY=y`
Adds CONFIG_LWIP_TCPIP_CORE_LOCKING=y to some mqtt example tests (the
same configs as used in v5.1)
2023-03-21 11:21:07 +01:00
David Cermak
5b75693522 esp_netif/lwip: Fix core-locking config (v5.0)
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples

Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-03-21 11:09:56 +01:00
aleks
be59a273c6 modbus remove example tests 2023-03-20 13:12:30 +01:00
Chen Yudong
3c58ca9285 CI: optimize test case test_examples_protocol_socket_tcpserver 2023-03-01 22:40:34 +08:00
Laukik Hase
09c0b58b97
esp_local_ctrl: Fix header inclusion
- Included `sdkconfig.h` and HTTP/S server based headers
  explicitly
2023-01-26 12:53:02 +05:30
Laukik Hase
7279244f8c
esp_local_ctrl: Add support for insecure HTTP server transport 2022-12-28 11:17:10 +05:30
Jiang Jiang Jian
490216a2ac Merge branch 'bugfix/fix_httpd_req_cleanup_v5.0' into 'release/v5.0'
esp_http_server: fix wrong context pointer in httpd_req_cleanup function (v5.0)

See merge request espressif/esp-idf!21731
2022-12-22 10:22:06 +08:00
Laukik Hase
73ea8543e3
protocols/security: Remove -Wno-format compile option for examples 2022-12-21 14:39:46 +05:30
Harshit Malpani
a5ee1504f8
esp_http_server: fix wrong context pointer in httpd_req_cleanup function
Added example which fails without the fix

Closes https://github.com/espressif/esp-idf/issues/10265
2022-12-21 10:32:34 +05:30
Chen Yudong
afc433114e CI: fix ipv6 test failed on some runners 2022-12-20 11:26:32 +08:00
Harshit Malpani
9a914cc6d4 ci: fix https_x509 example 2022-12-05 03:17:08 +00:00
Mahavir Jain
e15dfec417 Merge branch 'fix/esp_http_client_fix_behavior_disable_auto_redirect_enabled_v5.0' into 'release/v5.0'
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled (v5.0)

See merge request espressif/esp-idf!21081
2022-12-05 11:14:57 +08:00
Ivan Grokhotkov
85eff825a9 Merge branch 'bugfix/do_not_mix_esp_partition_and_spi_flash_apis_v5.0' into 'release/v5.0'
partition: use esp_partition_munmap instead of spi_flash_munmap (v5.0)

See merge request espressif/esp-idf!21024
2022-12-02 19:29:49 +08:00
harshal.patil
9463a66fc0 fix: esp_http_client fix behaviour when disable_auto_redirect is enabled 2022-11-14 15:56:17 +05:30
Harshit Malpani
df988596b1
cbor: Update cbor component version in idf_component.yml file in example 2022-11-14 10:08:07 +05:30
Armando
d4725fb34d partition: use esp_partition_munmap instead of spi_flash_munmap 2022-11-10 11:26:51 +08:00
Ivan Grokhotkov
166effd4b8 Merge branch 'feature/partition_api_new_component_v5.0' into 'release/v5.0'
Storage: Partition APIs moved to the new component 'esp_partition' (v5.0)

See merge request espressif/esp-idf!20855
2022-11-04 14:58:51 +08:00
Ivan Grokhotkov
a8ebd8ad04 unity: add linux port
This allows using unity fixture in Linux host tests
2022-11-02 21:49:15 +01:00
Martin Vychodil
af81bd1b0a Storage: Partition APIs moved to the new component 'esp_partition'
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:49:08 +01:00
beta-tester
940530c505 doc: redirect console page
Previous the console doc is moved from api-guide to api-reference, which
broken the URL as well, this commit added a redirect link to ensure the
old URL can still work.
2022-11-02 16:11:24 +08:00
yuanjianmin
bb41b340b9 ci: Fix mqtt broker is not available 2022-10-10 02:38:28 +00:00
Aditya Patwardhan
c88b27f285 mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
the DS documentation
2022-08-30 21:39:01 +05:30
Aditya Patwardhan
cbecb2e944 mqtt/ssl_ds: Add documentation on how to use esp-secure-cert-tool with
the example
2022-08-29 16:19:51 +05:30
Aditya Patwardhan
69be3b6955 mqtt/ssl_ds example: Update the code to use esp_secure_cert component 2022-08-29 16:19:51 +05:30
Aditya Patwardhan
5e1b0b97b5 mqtt/ssl_ds example: Remove configure_ds.py script, use
esp-secure-cert-tool instread
2022-08-29 16:19:51 +05:30
David Cermak
7e3e0fbbac Examples: Remove SLIP protocol example 2022-08-18 07:07:44 +02:00
David Cermak
df8390075b esp_netif: Migrate SLIP interface to user-space 2022-08-18 07:07:44 +02:00
Ivan Grokhotkov
e596c84d49 build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04:00
Mahavir Jain
9b518380b2 Merge branch 'contrib/github_pr_9452' into 'master'
coap: Update examples to use latest features of libcoap component (GitHub PR)

Closes IDFGH-7934

See merge request espressif/esp-idf!19308
2022-08-01 16:35:24 +08:00
Jon Shallow
98d346a81e coap: Update examples to use latest features of libcoap component
Support libcoap build with Client Only or Server Only code.
2022-07-28 13:11:52 +00:00
yuanjm
7dcc29d0be Add mqtt5 build test rules 2022-07-28 06:24:43 +00:00
yuanjm
196831efa8 example: Add mqtt5 example 2022-07-28 06:24:43 +00:00
David Čermák
36f49f361c Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
esp-netif/lw-ip: Make dependencies one-directional

Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287

See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
Abhik Roy
757a171e39 Merge branch 'example/icmpv6_ping' into 'master'
icmpv6_ping example code formatting.

See merge request espressif/esp-idf!19136
2022-07-21 03:32:02 +08:00