Harshit Malpani
7645723127
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 10:55:25 +05:30
Harshit Malpani
8507b3ba1b
fix: Add more ciphersuites in https_request example
...
MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 ciphersuite support
seems to be removed from howsmyssl.com. Add more ciphersuites in
server_supported_ciphersuites in https_request example to fix failures
while connecting to howsmyssl.
2023-07-17 11:08:32 +05:30
Harshit Malpani
941eb4e61e
feat: Made read_otadata() API public
...
Updated the read_otadata() API name to bootloader_common_read_otadata() and made the API public.
Closes https://github.com/espressif/esp-idf/issues/11603
2023-07-06 11:40:49 +05:30
Harshit Malpani
c24d012808
remove(http2_request): Move http2_request example to idf-extra-components repository
...
Related: https://github.com/espressif/idf-extra-components/pull/193/
2023-07-03 17:46:16 +05:30
Harshit Malpani
d9e8aca7ee
remove(coap)!: Move CoAP examples to idf-extra-components repository
...
Related:
https://github.com/espressif/idf-extra-components/pull/188
2023-06-27 11:16:21 +05:30
Harshit Malpani
b9caa324bc
examples: pre_encrypted_ota: update to newer API from esp_encrypted_img component
...
The members of the esp_decrypt_cfg_t configuration structure have been updated to correctly
reflect that we are using RSA private key member for the decryption purpose. Earlier their names were
incorrect. This old names have been marked as deprecated for IDF 5.2 release. This change can be viewed
at https://github.com/espressif/idf-extra-components/pull/187 and its part of esp_encrypted_img
component version 2.0.4
This commit updated to newer API usage from esp_encrypted_img component v2.0.4 for
pre_encrypted_ota example.
2023-06-23 21:04:41 +05:30
Harshit Malpani
20ed23bcd0
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-06-23 10:32:20 +05:30
Harshit Malpani
44e88792de
Add ESP32-H2 chip id in esp_chip_id_t enum in esp_app_format.h header file
2023-05-30 15:19:21 +05:30
Harshit Malpani
af06168328
Merge branch 'contrib/pr_11147' into 'master'
...
Fix to allow streaming of PUT data in the HTTP_EVENT_HEADERS_SENT callback (GitHub PR)
Closes IDFGH-9813
See merge request espressif/esp-idf!23794
2023-05-19 17:14:43 +08:00
Harshit Malpani
47740e3da5
Add esp32c6 in supported target for ota examples
2023-04-28 10:57:33 +05:30
Harshit Malpani
0c8db529cb
Add ESP32-C6 in supported targets for wifi_prov_mgr example
2023-04-28 10:57:32 +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
Harshit Malpani
7c68b67295
esp_http_server: Update to support build for Linux
2023-03-31 16:42:05 +05:30
Harshit Malpani
2910050060
docs: Update Protocols & Provisioning sections for H2
2023-03-30 18:00:12 +05:30
Harshit Malpani
fac832f2bb
Merge branch 'ci/fix_esp_http_client_linux_high_failure_rate' into 'master'
...
fix esp_http_client_linux high failures in CI
See merge request espressif/esp-idf!22810
2023-03-23 21:55:16 +08: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
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
Harshit Malpani
866e6b0d6b
esp-tls: Fix esp-tls component to resolve esp_http_client example failure for Linux target.
...
esp_http_client does not use lwip component when building for linux target. Using lwip configs directly in esp-tls caused the test failures
2023-03-08 14:56:04 +05:30
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
Harshit Malpani
214627f14b
mbedtls: Keep CONFIG_MBEDTLS_DYNAMIC_BUFFER disabled for Linux target
2023-02-27 15:12:14 +05:30
Harshit Malpani
5388c0c2e7
app_update: Remove Wno-format compile option for test app
2023-02-07 15:26:27 +00:00
Harshit Malpani
a176bff402
Merge branch 'bugfix/fix_return_value_in_httpd_socket_apis' into 'master'
...
esp_http_server: fix return values for `httpd_socket_send()` and `httpd_socket_recv()` APIs
Closes IDFGH-9275
See merge request espressif/esp-idf!22168
2023-02-01 14:00:51 +08:00
Harshit Malpani
e1e46e5dae
esp_http_server: fix return values for httpd_socket_send() and httpd_socket_recv() APIs
...
Closes https://github.com/espressif/esp-idf/issues/10658
2023-01-31 11:29:49 +05:30
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
Harshit Malpani
dd490f7915
esp_http_client example: fix potential buffer overflow while copying data recieved in HTTP response
...
Closes https://github.com/espressif/esp-idf/issues/10436
2023-01-20 15:05:41 +05:30
Harshit Malpani
a1e9a87e69
Merge branch 'bugfix/fix_ESP_LOG_to_debug' into 'master'
...
esp_http_client: fix debug log from LOGI to LOGD
Closes IDFGH-8892
See merge request espressif/esp-idf!22011
2023-01-13 15:51:23 +08:00
Harshit Malpani
3152fba654
esp_http_client: fix coverity issue. free auth_str before going out of scope
2023-01-11 16:57:04 +05:30
Harshit Malpani
6e92edd848
esp_http_client: fix debug log from LOGI to LOGD
...
Closes https://github.com/espressif/esp-idf/issues/10313
2023-01-11 15:55:52 +05:30
Harshit Malpani
4673556691
tcp_client: Remove components dir from tcp_client example and use esp_stubs from protocols/linux_stubs
2023-01-04 11:20:52 +05:30
Harshit Malpani
49ce5ada76
ci: Fix ci failures for target esp32c6
2023-01-04 11:20:52 +05:30
Harshit Malpani
5c728e94a7
Update esp_http_client example to build for linux target
2023-01-04 11:20:43 +05:30
Harshit Malpani
e215ede439
mbedtls: Add support to build for linux target
2023-01-04 11:17:29 +05:30
Harshit Malpani
0635dc36c1
tcp_transport: Update tcp_transport to support linux build
2023-01-04 11:17:29 +05:30
Harshit Malpani
68ded2c350
esp_http_client: fix -Werror-format compile errors for linux target
2023-01-04 11:17:28 +05:30
Harshit Malpani
1c77e13d35
esp_http_client: Update to support build for linux
2023-01-04 11:17:28 +05:30
Harshit Malpani
43e4383bb7
esp-tls: fix build error without -Wno-format compile flag when building for Linux target
2023-01-04 11:17:27 +05:30
Harshit Malpani
aefd3b0aec
esp-tls: update esp-tls to support linux build
2023-01-04 11:17:27 +05:30
Harshit Malpani
a3c7905dc1
linux: Add esp_linux_helper.h header file
2023-01-04 11:17:18 +05:30
Harshit Malpani
5cf26f61c0
Merge branch 'bugfix/protocol_components_no_format_cflag' into 'master'
...
Remove "-Wno-format" from protocol example specific components
See merge request espressif/esp-idf!21734
2022-12-22 18:54:48 +08:00
Harshit Malpani
0885d8542d
esp_http_server: Added support for esp_events
2022-12-19 17:33:37 +05:30
Harshit Malpani
89a56392e3
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-16 14:40:37 +05:30
Harshit Malpani
45bcf572c2
docs: Update esp_https_ota docs to have information about OTA events
2022-12-16 10:26:15 +05:30
Harshit Malpani
6de9e42122
esp_http_client: Add feature to cancel an HTTP request
...
Closes: https://github.com/espressif/esp-idf/issues/9892
2022-12-02 11:36:28 +05:30
Harshit Malpani
295507bc1b
esp-tls: use gettimeofday() instead of xTaskGetTickCount()
2022-11-29 11:04:54 +05:30
Harshit Malpani
3276054810
Merge branch 'feature/upgrade_components_version' into 'master'
...
Feature/upgrade components version
Closes IDF-6192
See merge request espressif/esp-idf!20965
2022-11-11 18:37:30 +08:00
Harshit Malpani
a80dfe85bc
esp_https_ota: Send data to event handler
2022-11-11 11:44:17 +05:30
Harshit Malpani
5ff6dbba85
cbor: Update cbor component version in idf_component.yml file in example
2022-11-09 18:03:26 +05:30
Harshit Malpani
784089bf09
esp_https_ota: Added support for esp_events
2022-11-09 12:30:50 +05:30
Harshit Malpani
22f3db0189
ci: fix https_x509 example
2022-11-02 14:57:14 +05:30
Harshit Malpani
9b07007efb
wifi_provisioning: fix error codes for wifi connect retry
...
Closes: https://github.com/espressif/esp-idf/issues/9399
2022-10-12 12:10:21 +05:30
Harshit Malpani
8fba04638b
espcoredump: Add support for esp32c2
...
This commit puts some code under SOC_RTC_MEM_SUPPORTED. This enables use of coredump in targets with no RTC memory support.
2022-09-28 20:41:00 +05:30
Harshit Malpani
a3fd6d1070
esp_http_server: Add linger in httpd_config_t
...
Closes: https://github.com/espressif/esp-idf/issues/9514
2022-09-22 10:11:50 +05:30
Harshit Malpani
c351548ca5
Update pytest example for https_request to erase flash before start of test
2022-09-19 12:04:09 +05:30
Harshit Malpani
eb47729301
example: Updated https_request example to fail when time is not synced.
...
Also added additional server for syncing time
2022-09-19 12:04:09 +05:30
Harshit Malpani
d78fddd81a
mbedtls: fix custom certificate bundle test case
2022-09-14 14:20:29 +05:30
Harshit Malpani
61fb0c1d2d
unit_test: remove redundant component from unit test app config
2022-09-06 14:07:52 +05:30
Harshit Malpani
1c92feae38
esp_https_ota: fix bug where http_client_init_cb is called after esp_http_client_perform() instead of before.
...
Closes https://github.com/espressif/esp-idf/issues/9581
2022-09-01 12:04:40 +05:30
Harshit Malpani
cae004a815
ci: Migrate esp_http_server unit tests from unit-test-app to component-test-app
2022-08-25 03:43:46 +00:00
Harshit Malpani
791d17ac7f
ci: Migrate unit-test for esp_http_client to component-test-apps
2022-08-22 16:57:32 +05:30
Harshit Malpani
f1aa0eb15b
example: Add coap_client example_test
2022-08-16 09:52:00 +05:30
Harshit Malpani
048e7f75b9
example: fix memory leak in pre_encrypted_ota example.
...
Closes: https://github.com/espressif/esp-idf/issues/9489
2022-08-05 15:12:17 +05:30
Harshit Malpani
aee57fc895
ci: Optimize binary size for OTA examples
2022-07-11 15:28:48 +05:30
Harshit Malpani
495d35949d
Merge branch 'bugfix/fix_ota_example_tests' into 'master'
...
Fix OTA example test to fix CI failures
See merge request espressif/esp-idf!18690
2022-07-06 12:55:14 +08:00
Harshit Malpani
8dd59c948f
Increase timeout in advanced OTA example test
2022-07-05 14:31:43 +05:30
Harshit Malpani
f9c25c65e1
Fix OTA example test to fix CI failures
...
Using `try finally` block to terminate thread
2022-07-05 14:31:43 +05:30
Harshit Malpani
573dd0187d
Mark OTA tests as xfail
2022-07-01 11:45:50 +05:30
Harshit Malpani
e526e5593a
ci: remove redundant OTA examples jobs
2022-06-29 16:30:02 +05:30
Harshit Malpani
575ce36520
Re-enable provisioning example for target esp32c2
2022-06-29 12:31:08 +05:30
Harshit Malpani
ad1567e132
ci: fix ota anti rollback example test
2022-06-28 11:37:15 +05:30
Harshit Malpani
a777ea6dc2
Update sdkconfig file for partial download to increase emac_rx task stack size
2022-06-16 09:03:49 +00:00
Harshit Malpani
3f00a3e120
Add config option to set stack size for emac_rx task
2022-06-16 09:03:49 +00:00
Harshit Malpani
74789fff4a
ci: increase parallel count for pytest_build_examples for esp32s2, esp32s3 and esp32c3
2022-06-03 18:50:36 +05:30
Harshit Malpani
9e5a97c23f
.gitlab-ci.yml: Add netifaces depedency for pytest examples
2022-06-03 16:00:52 +05:30
Harshit Malpani
767125a051
Remove tiny_test_fw dependency from idf_http_server_test package
2022-06-03 16:00:52 +05:30
Harshit Malpani
2d244ded08
target-test.yml: Add jobs
2022-06-03 16:00:52 +05:30
Harshit Malpani
83ace52a36
http examples pytest migration
2022-06-03 16:00:52 +05:30
Harshit Malpani
e83f801462
Update examples README to include esp32c2 as supported device.
2022-06-03 15:31:05 +05:30
Harshit Malpani
48bbfaeeba
ota_example: Mark tests as flaky
2022-05-30 11:13:05 +05:30
Harshit Malpani
a1810c5066
ci: increase parallel count for build_pytest_examples_esp32
2022-05-27 10:31:21 +05:30
Harshit Malpani
e9201edab8
.gitlab-ci.yml: Add websocket-client depedency for pytest examples
2022-05-27 10:31:21 +05:30
Harshit Malpani
5a51af523c
https examples pytest migration
2022-05-27 10:27:00 +05:30
Harshit Malpani
448b98d3bc
Update relative link for example test in README.md
2022-05-23 13:11:22 +05:30
Harshit Malpani
877b00ab5f
target-test.yml: Add job for tags related to ota tests
2022-05-23 13:11:21 +05:30
Harshit Malpani
989aeac11a
pytest.ini: Add markers
2022-05-23 13:11:21 +05:30
Harshit Malpani
25f02efaa1
Migrate OTA example test to pytest framework
2022-05-23 13:11:21 +05:30
Harshit Malpani
63b1b1bd44
esp_local_ctrl example pytest migration
2022-05-17 15:23:22 +05:30
Harshit Malpani
73fc12cdcd
esp_http_server: Remove http_server.h Header file
2022-05-13 16:00:17 +05:30
Harshit Malpani
1c0987814b
target-test.yml: Add job for wifi runner
2022-05-13 04:41:00 +00:00
Harshit Malpani
57e2e7a27c
Migrate cbor example to pytest framework
2022-05-13 04:41:00 +00:00
Harshit Malpani
9f99d2350a
docs: Added breaking change for esp_https_server to migration guide
2022-05-11 16:30:16 +05:30
Harshit Malpani
2c56c6cad8
Updated coding style and added error logs
2022-05-11 08:58:01 +00:00
Harshit Malpani
1bb03e17a7
esp_http_server: update httpd_queue_work() API to use semaphore
...
Closes: https://github.com/espressif/esp-idf/issues/8440
2022-05-09 18:00:05 +05:30
Harshit Malpani
185a45c9d7
wifi_provisioning: Remove mdns dependency
...
mDNS code here was futuristic which was never used.
Removing this section of code as wifi_provisioning does not necessarily require it
2022-05-05 16:46:24 +05:30
Harshit Malpani
437d90c408
esp_http_client: Fix redirect by resetting auth_header before parsing
2022-04-25 05:16:49 +00:00
Harshit Malpani
cca208f71a
Check FW version at start of ota for encrypted binary
2022-03-23 11:09:48 +05:30
Harshit Malpani
c813de50ec
example: use decrypt_user_ctx in decryption callback
2022-03-11 18:05:40 +05:30