Mahavir Jain
f94785fcd7
Merge branch 'bugfix/protocol_examples_check_alloc_ret' into 'master'
...
fix: Check memory allocation failures in protocol examples
See merge request espressif/esp-idf!28237
2024-01-08 11:50:18 +08:00
Mahavir Jain
dd49da5f4f
Merge branch 'bugfix/fix_http_client_error' into 'master'
...
esp_http_client: Fix reset errno to 0 before call esp_transport_read
Closes IDFGH-7444
See merge request espressif/esp-idf!26539
2024-01-08 11:36:52 +08:00
Harshit Malpani
e636c680a5
fix: Check memory allocation failures in protocol examples
2024-01-03 15:23:53 +05:30
Alex Lisitsyn
cd23451810
fix(examples/modbus): fix possible incorrect event processing in modbus slave examples
2023-12-31 01:40:10 +08:00
Harshit Malpani
102fe3a522
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
2023-12-22 16:20:24 +05:30
Mahavir Jain
56241f00b8
Merge branch 'feat/support_sha_256_in_http_auth' into 'master'
...
feat(esp_http_client): SHA256 support in digest auth
Closes IDFGH-11217
See merge request espressif/esp-idf!26585
2023-12-18 15:08:40 +08:00
Harshit Malpani
8dcdcc5831
feat: Update esp_http_client example
...
Added test case in esp_http_client example to test digest auth
with SHA-256 algorithm
2023-12-15 11:32:57 +05:30
harshal.patil
fd637d5be7
feat(examples): Add BLE support in the esp_local_ctrl example
2023-12-15 11:10:26 +05:30
harshal.patil
fd012bf2c4
fix(examples): Fix encoding issue in esp_local_ctrl's proto script
2023-12-15 11:10:26 +05:30
Marius Vikhammer
d3ca964e5f
fix(ci): fixed misnamed kconfig option in https server ci config
2023-11-03 09:13:22 +08:00
Marius Vikhammer
95703297a6
Merge branch 'ci/psram_config_fix' into 'master'
...
ci: fix warnings for invalid kconfig option
See merge request espressif/esp-idf!23250
2023-11-02 13:44:04 +08:00
Mahavir Jain
7441cdb82b
Merge branch 'feature/esp_crt_bundle_deprecated_list' into 'master'
...
esp_crt_bundle: add support for deprecated cert list and relevant config
Closes IDF-8188 and IDFGH-10992
See merge request espressif/esp-idf!26734
2023-11-02 12:07:58 +08:00
Marius Vikhammer
77bb19c49e
ci(build): fixed/ignored warnings from unknown symbols in sdkconfig.defaults
2023-11-01 01:14:00 +00:00
David Čermák
ef8a4dc6ff
Merge branch 'fix/netif_sntp_examples' into 'master'
...
fix(examples): Fix usage of SNTP netif API in examples
See merge request espressif/esp-idf!26717
2023-11-01 02:23:47 +08:00
David Cermak
327629c527
feat(example): Use PPP config in one MQTT example
...
to be build in CI, but only running PPP on UART to avoid adding tinyusb
dependency.
2023-10-30 14:50:03 +01:00
Mahavir Jain
5b047057ca
feat(mbedtls): add new deprecated cert list and relevant config
...
Cert bundle is periodically updated with the upstream Mozilla's NSS
root cert store. Retracted certs are moved to deprecated list now and
an additional config allows to include them in the default bundle. New
config is kept default disabled but can be enabled if one would like
to ensure 100% compatibility w.r.t. cert bundle across IDF minor or
patch releases. In IDF major release the deprecated list shall be reset.
2023-10-29 12:21:22 +05:30
David Cermak
a9846479ff
fix(examples): Fix usage of SNTP netif API in examples
2023-10-27 09:28:20 +02:00
Mahavir Jain
47678fc17b
Merge branch 'fix/refactor_esp_tls_server' into 'master'
...
fix(esp_tls): Refactor esp-tls to remove ESP_TLS_SERVER config option
Closes IDFGH-10812
See merge request espressif/esp-idf!25773
2023-10-27 06:34:44 +08: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
Aditya Patwardhan
a0d73b5155
fix(esp_https_server): Convert HTTPD_SSL_CONFIG_DEFAULT MACRO to function
...
Previously with HTTPD_SSL_CONFIG_DEFAULT being a MACRO, the
configuration options could not be applied to it. This was casuing
error in multiple scenarios. For e.g., here user_cert_cb is a part
of httpd_ssl_config_t which this macro defines. But the type of
user_cert_cb (esp_tls_server_callback_t) is only available when it is enabled
in esp-tls. The MACRO however cannot be modified to set the defaults
based on configuration option. This fix solves the issue without
breaking the compatibility
2023-10-26 09:30:13 +00: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
Euripedes Rocha
2f46d9686d
feat(mqtt/example): Adds custom outbox example
...
Adds example presenting how to customize esp-mqtt outbox.
2023-10-11 14:07:07 +02:00
Jakob Hasse
ac2515e199
refactor(lwip): Added on/off switch for LwIP stack
...
* This switch allows applications to replace lwip with a different
IP stack or just make it build if it is a dependency but not
actually needed.
2023-09-22 10:03:13 +08:00
Harshit Malpani
0798691bf0
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-20 17:50:16 +05:30
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
...
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
Rocha Euripedes
10c21f704c
Merge branch 'bugfix/module_logging_tag_lower_case' into 'master'
...
mqtt: unite supported components tags under common structure
See merge request espressif/esp-idf!22418
2023-09-05 14:06:33 +08:00
Armando
6f412393b6
change(ci): add todo to p4 build test enable
2023-08-24 12:51:19 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Michael (XIAO Xufeng)
47c153b949
Merge branch 'ci/pre-commit-check-build-test-rule-exist' into 'master'
...
pre-commit: add check that build-test-rule paths must exist
See merge request espressif/esp-idf!25231
2023-08-17 02:25:45 +08:00
Mahavir Jain
ea3bb21cf7
fix(esp-tls): fix the certificate check failure logging for cert bundle case
...
For ESP certificate bundle case, the certificate failure error from
underlying TLS stack was not being tracked. Added the fix and also
updated example code showcasing how to retrieve it.
Closes https://github.com/espressif/esp-idf/issues/12034
2023-08-11 17:27:01 +05:30
Xiao Xufeng
f51258ec18
ci(pre-commit): add check that build-test-rule paths must exist
2023-08-11 17:04:35 +08:00
Andrii
6a42266795
fix(mqtt): Unite supported components tags under common structure
2023-08-10 09:06:16 +00:00
Chen Yu Dong
92db3563a0
Merge branch 'ci/add_new_wifi_ap_runners' into 'master'
...
ci(wifi): add more wifi runners
See merge request espressif/esp-idf!24931
2023-07-26 20:27:01 +08:00
Chen Yudong
9aa23a4320
ci(wifi): add more wifi runners
...
sockets: add ipv6 only test
2023-07-24 18:09:55 +08:00
hwqchi
ebc118b24d
fix: Fixed following issues in esp_http_client examples
...
1. Fix potential out-of-bounds access when calling `strlen(local_response_buffer)`
if `content_length` is greater than or equal to the length of `local_response_buffer`
due to missing the terminator `\0` at the last character position.
2. Fix the residual data issue when the previous request is longer than the subsequent
request while outputting the `local_response_buffer` for each request in the
`http_rest_with_url()` function.
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-07-24 12:17:28 +05:30
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
Chen Yudong
ec39de3992
change(esp_prov): also remove print_function from esp_prov
2023-07-19 21:05:30 +08:00
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
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
Mahavir Jain
90290507fb
fix(mbedtls): Build issue in dynamic buffer feature
...
Fix build issue in mbedTLS dynamic buffer feature with
`CONFIG_MBEDTLS_DHM_C` enabled case. Also added a build
configuration for the test coverage.
Closes https://github.com/espressif/esp-idf/issues/11770
2023-06-29 13:30:30 +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