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
Harshit Malpani
de2f915092
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images
2022-03-11 16:52:08 +05:30
Harshit Malpani
062a6464ba
docs: Updated migration guide for esp_https_server API breaking changes
2022-03-05 18:52:33 +05:30
Harshit Malpani
1cb9ba5076
Push out coap to idf-extra-component repository
2022-02-23 15:08:36 +05:30
Harshit Malpani
5a6dbaa487
feature: Pre Encrypted Binary for OTA updates
...
This feature enables using encrypted binaries for OTA updates
Closes https://github.com/espressif/esp-idf/issues/6172
2022-02-17 10:48:41 +05:30
Harshit Malpani
94056fd4a5
esp_https_server: API cleanup
2022-02-14 16:25:54 +05:30
Harshit Malpani
c0b796532b
esp_https_ota: fix for checking chip id at start of OTA
2022-01-13 15:20:26 +05:30
Harshit Malpani
1095ab0697
ci: re-enable s3 build for few examples
2022-01-12 17:46:42 +05:30
Harshit Malpani
2c84db95d2
freertos: fix build warnings with -Wsign-conversion CFLAG
...
Closes https://github.com/espressif/esp-idf/issues/4946
2021-12-27 13:31:34 +05:30
Harshit Malpani
66a8615c18
Fix for advanced_ota_redirect_url example failure in CI
2021-12-13 10:50:43 +05:30
Harshit Malpani
b93d63b067
Fix 'address already in use' exception in OTA tests
...
We will stop the server instance at the end of each test case. This will solve the "address already in use" exception
2021-11-24 11:32:15 +08:00
Harshit Malpani
cfa896ec54
feature: Checking Certificate Expiry
2021-11-19 09:43:27 +05:30
Harshit Malpani
47b17f6c99
Enable the example test for http2_request example
2021-10-25 16:38:08 +08:00
Harshit Malpani
2085e4eb92
esp_http_client: apply generic error check macros
2021-10-20 14:40:32 +05:30
Harshit Malpani
933989125d
Update example test for esp_http_client
2021-10-05 16:58:23 +08:00
Harshit Malpani
cd3c633ae3
mbedtls: fix build fail with client only mbedtls
...
Closes https://github.com/espressif/esp-idf/issues/7544
2021-10-04 19:18:45 +08:00
Harshit Malpani
be91515488
test_apps: add CLIENT_ONLY_MBEDTLS configuration to build tests
2021-10-04 19:18:45 +08:00
Harshit Malpani
3203b42c87
Updated the root certificate of https examples
2021-10-01 13:02:48 +05:30
Harshit Malpani
294b805f31
docs: Updated protocols/http* examples READMEs
2021-09-13 09:55:19 +05:30
Harshit Malpani
baa2faa94b
provisioning: fix wifi warning in wifi_prov_mgr application
...
Scan configuration parameters should not modify in co-existence mode.
2021-08-11 09:54:37 +05:30