Commit Graph

890 Commits

Author SHA1 Message Date
Mahavir Jain
6a89ca77e1 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:06 +08:00
Jiang Jiang Jian
1a50f0863b Merge branch 'bugfix/fix_modbus_tcp_slave_examples_use_events_v51' into 'release/v5.1'
fix(examples/modbus): fix modbus slave examples may process event flags incorrectly (Backport v5.1)

See merge request espressif/esp-idf!28248
2024-03-13 10:56:26 +08:00
Alex Lisitsyn
123f8e6714 fix(examples/modbus): fix modbus slave examples may process event flags incorrectly (Backport v5.1) 2024-03-13 10:56:26 +08:00
muhaidong
becd279fd7 fix(example): fixed app partion is too small for binary size 2024-03-12 19:01:09 +08:00
Harshit Malpani
fd859d8931 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-02-29 12:00:58 +08:00
Jiang Jiang Jian
2f6c902be8 Merge branch 'ci/enable_ip101_jobs_v5.1' into 'release/v5.1'
ci(esp_eth): enabled Ethernet ip101 jobs (v5.1)

See merge request espressif/esp-idf!28611
2024-02-28 10:45:11 +08:00
Harshit Malpani
276ebe98a0
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:36:26 +05:30
Ondrej Kosta
e9db535290 ci(esp_eth): enabled Ethernet ip101 jobs 2024-01-22 12:46:33 +01:00
harshal.patil
d62f61dc47
fix(examples): Fix encoding issue in esp_local_ctrl's proto script 2023-12-26 14:03:09 +05:30
Zim Kalinowski
4c93085e4a
fix(example/http): Fixed potential memory leak/crash in when handling error condition 2023-12-13 10:05:19 +05:30
David Cermak
5e07ffb444 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-11-22 09:59:37 +00:00
Mahavir Jain
fcd0b8b8e9 Merge branch 'fix/https_request_example_build_with_esp_wolfssl_v5.1' into 'release/v5.1'
fix(esp-tls): Fix the https_request example build for esp-wolfssl (v5.1)

See merge request espressif/esp-idf!26735
2023-11-20 11:07:36 +08:00
David Cermak
cda65b73f4 fix(examples): Fix usage of SNTP netif API in examples 2023-11-03 11:23:17 +01:00
Aditya Patwardhan
2276b07b39 fix(esp-tls): Fix the https_request example build for esp-wolfssl 2023-10-29 19:18:05 +05:30
Harshit Malpani
7decf3e344
fix: Fix protocols example to build without setting target
Protocol examples used to raise an error if the target was not set
and `idf.py build` command was used. This commit fix this error
and when IDF_TARGET is not set, ESP32 is selected as default target
2023-09-25 16:57:22 +05:30
morris
0bd405be7b Merge branch 'feature/modbus_add_support_esp32h2_v51' into 'release/v5.1'
examples: modbus add support for target esp32h2 (Backport v5.1)

See merge request espressif/esp-idf!24970
2023-08-24 10:10:44 +08:00
aleks
c41579d2d3 examples: modbus add support for target esp32h2 2023-07-24 10:58:02 +02:00
Harshit Malpani
2aaa5579f0
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 15:21:41 +05:30
Harshit Malpani
3298a8a483
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:20:09 +05:30
Euripedes Rocha
cc1526c570 protocols/examples: Disable Wifi connection if not supported
- Disable Kconfig option for Wifi if not supported by the SoC
- Enable building mqtt examples when target is set to esp32h2
2023-07-12 06:19:20 +00:00
David Cermak
7865676159 examples: Fix icmp-echo to auto connect to Ethernet/WiFi if selected
Closes https://github.com/espressif/esp-idf/issues/10655
2023-07-07 13:53:47 +02:00
yuanjianmin
997f9dd183 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:02:58 +08:00
Mahavir Jain
133e19d6ee
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:27:24 +05:30
Harshit Malpani
7f683f0996
Remove nvs_flash.h from protocols/linux_stubs 2023-03-31 16:42:06 +05:30
Harshit Malpani
345e38a3f0
Update http_server/simple example to build for Linux target 2023-03-31 16:42:06 +05:30
Euripedes Rocha
d6db90a3cd [tcp_transport] - Adds Socks4 proxy transport
- Basic implementation of Socks4 protocol.
- Introduce basic host testing.
2023-03-27 14:46:40 +02:00
Harshit Malpani
6ca69c45d4
fix esp_http_client_linux high failures in CI. Only build the esp_http_client for Linux and do not run test in CI 2023-03-23 14:34:54 +05:30
Jiang Jiang Jian
a39514a55e Merge branch 'bugfix/fix_format_error' into 'master'
examples: fix format errors, remove -Wno-format

Closes IDF-6433

See merge request espressif/esp-idf!21637
2023-03-21 19:19:47 +08:00
Bogdan Kolendovskyy
9a05cc7733 Updated CMakeList.txt for main component of mqtt/ssl_ds. 2023-03-17 16:03:52 +01:00
Harshit Malpani
0cc243a8cc
esp_http_client: remove dependency of esp_stubs from esp_http_client. Add esp_event stubs in linux component 2023-03-15 11:48:11 +05:30
Harshit Malpani
674fd8feb8
esp_http_client: Add support for esp_events 2023-03-15 11:48:11 +05:30
David Čermák
956e62c461 Merge branch 'feature/lwip_ipv6_only' into 'master'
lwip: Support IPv6 only mode

Closes IDF-6023

See merge request espressif/esp-idf!20468
2023-03-01 21:38:10 +08:00
Jiang Jiang Jian
df00fd874f Merge branch 'feature/modbus_remove_example_tests' into 'master'
modbus remove example tests

Closes IDFCI-1222

See merge request espressif/esp-idf!22434
2023-02-28 19:50:26 +08:00
Harshit Malpani
ae403c6210
Add test for Linux in pytest_esp_http_client.py 2023-02-27 15:12:15 +05:30
Harshit Malpani
af686f2eed
tcp_client: fix missing header file 2023-02-27 15:12:15 +05:30
Harshit Malpani
34705c0cc4
fix esp_http_client_example to build for Linux target. Made protocol_examples_common compatible for Linux target 2023-02-27 15:12:14 +05:30
David Cermak
5f6cb31105 lwip: Support IPv6 only mode 2023-02-27 08:53:34 +01:00
Aditya Patwardhan
bd81d8f9d3 esp-tls: Add build test for server session ticket option 2023-02-24 04:45:23 +00:00
Alex Lisitsyn
953edad1ab modbus: fix common parameters include order 2023-02-22 18:03:37 +08:00
aleks
ed86c026cb modbus remove example tests 2023-02-20 12:00:06 +01:00
Bogdan Kolendovskyy
d7b8b36082 examples: fix format errors, remove -Wno-format
Logging in series of examples has misuse of "%d" instead of type-appropriate format specifiers.
Fix by changing "%d" to PRIxx macros corresponding to type.
Remove -Wno-format compile flag in those examples that are affected.
2023-02-14 15:46:54 +01:00
Mahavir Jain
50f7d40b89
mqtt/ssl_ds: enable the example for ESP32-H2 target 2023-02-13 10:27:22 +05:30
David Cermak
7294438329 sntp/test: Fixed flaky example test
From SNTP update in a71fa821, the example test uses notification event
(before it simply polled the state in 2 seconds interval). With this
change it is possible that the time gets synchronized before retrying,
i.e. printing "Waiting for system time to be set... (2/15)". (it was
theoretically possible also before this change, but practically never
happened)
2023-02-01 08:01:54 +01:00
David Čermák
dba0718f47 Merge branch 'feature/lwip_linux' into 'master'
lwip: Add support for linux target

Closes IDF-5707, IDF-5647, and IDF-6003

See merge request espressif/esp-idf!19302
2023-01-31 22:01:50 +08:00
David Cermak
5d04ebab51 examples: Update socket udp_client to support lwip on linux
This uses FreeRTOS simulator and lwip on linux, with options
to use tap-io commponent for host network interactions.
2023-01-31 08:43:50 +01:00
David Cermak
fa97004faf lwip: Support for linux target
Implement linux port layer and reuse the original FreeRTOS layer
that's compiled and used on linux target as well, by means of FreeRTOS
simulator.
2023-01-31 08:43:45 +01:00
Harshit Malpani
928c5e84d9
example: remove CBOR example from IDF.
CBOR example has been moved to https://github.com/espressif/idf-extra-components/tree/master/cbor/examples/cbor
2023-01-30 16:58:32 +05:30
Ivan Grokhotkov
248bc8a346 Merge branch 'feature/modbus_add_esp32c2_esp32c6_targets' into 'master'
examples: modbus add esp32c2 esp32c6 targets

See merge request espressif/esp-idf!22017
2023-01-28 00:45:47 +08:00
Alex Lisitsyn
464b6d803c examples: modbus add esp32c2 esp32c6 targets 2023-01-28 00:45:46 +08:00
Laukik Hase
167618d6a4
examples/protocols: Added URI encoding/decoding feature
- http_server/simple: Decoding received query
  - esp_http_client: Sending encoded query
2023-01-25 17:47:14 +05:30