Commit Graph

714 Commits

Author SHA1 Message Date
Mahavir Jain
eef5e73842 Merge branch 'contrib/github_pr_8851' into 'master'
Fixed the commented out coap_new_optlist() in the coap_client example. (GitHub PR)

Closes IDFGH-7262

See merge request espressif/esp-idf!17969
2022-05-02 14:53:53 +08:00
Jiang Jiang Jian
96ff900d7d Merge branch 'Optimize/udp_example_receive_data_with_recvmsg_interface' into 'master'
udp example:Optimization udp example with recv_msg

Closes IDFGH-5400

See merge request espressif/esp-idf!17949
2022-04-29 15:03:22 +08:00
Laukik Hase
ba4e318e4c
ci: Re-enable HTTP/2 request example test 2022-04-29 09:55:09 +05:30
nosuz
6127da32e4 Fixed the commented out coap_new_optlist() example in the coap_client example.
coap_new_optlist() requires 3 arguments but the example had 2 arguments.
2022-04-28 18:49:55 +09:00
xueyunfei
231ef90fc5 udp example:Optimization udp example with recv_msg 2022-04-28 07:55:28 +00:00
Ivan Grokhotkov
3175e472ba Merge branch 'bugfix/freertos_esp_timer_deps' into 'master'
esp_timer: remove from freertos public requirements

See merge request espressif/esp-idf!17818
2022-04-27 04:13:25 +08:00
David Čermák
b85c44403a Merge branch 'bugfix/asio_example_config' into 'master'
[EXAMPLES/ASIO] Renames Kconfig parameter and clarify

See merge request espressif/esp-idf!17769
2022-04-26 13:24:17 +08:00
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
Shubham Kulkarni
7059ea0895 esp_http_client example: Add cert for redirect to HTTPS example
esp_http_client_test.py: Add checks for missing example logs
2022-04-22 17:39:12 +05:30
Laukik Hase
f9da23edb9 http_client: Added explicit conversion for esp_tls_error_handle_t
- in protocols/esp_http_client example

Closes https://github.com/espressif/esp-idf/issues/8795
2022-04-22 03:42:49 +00:00
Laukik Hase
88c33b52bf
http2_request: Disable build in CI
- Tracked by IDF-4916
2022-04-20 12:18:26 +05:30
Laukik Hase
728a686b8a
protocols: Updated examples to use correct API
- `http_request` and `https_x509_bundle`
2022-04-20 12:18:26 +05:30
aleks
9fdf39651b freemodbus: remove component files from esp-idf (fix examples) 2022-04-19 07:23:17 +00:00
Mahavir Jain
ca9f285782 Merge branch 'bugfix/smtp_client' into 'master'
smtp_client: Fix heap leakage

Closes IDFGH-7167

See merge request espressif/esp-idf!17777
2022-04-14 20:53:13 +08:00
Laukik Hase
44214a3028
smtp_client: Fixed garbage characters being printed
- The R/W buffers were not cleared before reading/writing
  anything new
2022-04-14 13:35:02 +05:30
Laukik Hase
4e9bf05091
smtp_client: Fix heap leakage
- Freed all allocated resources by Mbed TLS at the end of routine
2022-04-14 12:14:41 +05:30
Euripedes Rocha
232b0eda5f [EXAMPLES/ASIO] Renames Kconfig parameter and clarify
On ip::tcp::resolver ASIO uses service to identify the type of
connection and get the port number. LWIP can't resolve this way.
2022-04-13 11:22:34 -03:00
Mahavir Jain
bc1ec37f92 Merge branch 'fix/use_crt_bundle_in_http2_request_example' into 'master'
http2_request_example: Use esp_crt_bundle instead of hardcoded root

Closes IDCCI-1190, IDFCI-1195, and IDFCI-1197

See merge request espressif/esp-idf!17755
2022-04-13 19:17:17 +08:00
Aditya Patwardhan
3b1f1febc8 http2_request_example: Use esp_crt_bundle instead of hardcoded root
certificate in order to avoid frequent failure of the example due to
shift in CA chain
2022-04-13 10:34:34 +05:30
Ondrej Kosta
fcdb0306d0 examples: added ESP-NETIF L2 TAP example 2022-04-12 12:33:57 +00:00
Mahavir Jain
467e9c07d6 lwip: fix build with CONFIG_LWIP_DHCPS disabled
Also added example build configuration for this option.
2022-04-11 12:31:17 +00:00
Mahavir Jain
021f545f0d examples: add dependency on cert bundle configuration
Refactor examples to build with MBEDTLS_CERTIFICATE_BUNDLE disabled. Only examples
that can work with certificate bundle disabled have been modified here.
2022-04-06 05:10:43 +00:00
Laukik Hase
8f77caa637
https_server: Fix example test failure
- Closed the client connection gracefully for the https server
  callback check to pass in test
- Made some functions static in the example
2022-03-30 20:45:48 +05:30
Laukik Hase
1d71fbae92
https_server: Add provision for callback at session close
Closes https://github.com/espressif/esp-idf/issues/8288
2022-03-30 11:25:11 +05:30
Laukik Hase
d7090b4d52 https_server: Add config option to min. cert. auth mode
- Added a config option to set the minimum Certificate Verification
  mode to Optional
- When this option is enabled, the peer (the client) certificate
  is checked by the server, however the handshake continues even if
  verification failed.
- By default, the peer certificate is not checked and ignored by the server.

Closes https://github.com/espressif/esp-idf/issues/8664
2022-03-29 08:57:36 +00:00
Alex Lisitsyn
e653ce82b2 Merge branch 'feature/modbus_master_fix_check_uart_set_pin' into 'master'
example/modbus_master: fix the erro check for uart_set_pin

Closes IDFGH-6988

See merge request espressif/esp-idf!17534
2022-03-27 04:20:17 +08:00
David Cermak
965b8f0e62 examples/sntp: Document that SNTP-over-DHCP resets other NTP servers
Closes https://github.com/espressif/esp-lwip/issues/42
2022-03-22 15:01:02 +00:00
Elbert van de Put
980fd32f69 example/modbus_master: fix the assert for uart_set_pin
Signed-off-by: aleks <aleks@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/8607
2022-03-22 09:45:06 +00:00
Anton Maklakov
6d13c8b3a6 Merge branch 'bugfix/managed-components-version-refs' into 'master'
managed components: fix version references to allow implicit updates

See merge request espressif/esp-idf!17438
2022-03-18 14:52:15 +08:00
Anton Maklakov
e27f1331e4 components: correct printf() placeholder for time_t
Using C99 %jd, https://en.cppreference.com/w/c/chrono/time_t
2022-03-14 14:05:47 +07:00
Chen Yudong
4dc74c9c42 CI: rename some tests to avoid duplicated test names 2022-03-11 18:38:41 +08:00
Anton Maklakov
4c865baae4 managed components: fix version references to allow implicit updates according to semver
Syntax details: https://devhints.io/semver
2022-03-11 13:49:26 +07:00
Mahavir Jain
99e7059cbe Merge branch 'bugfix/kconfig_defaults' into 'master'
kconfig: Changed default values of `bool` configs

Closes IDF-4747

See merge request espressif/esp-idf!17447
2022-03-11 11:48:17 +08:00
Laukik Hase
25c5c214f3
kconfig: Changed default values of bool configs
- Some bool configs were using default values true and false,
  instead of y and n.
2022-03-10 14:26:37 +05:30
David Cermak
795b7ed993 esp_netif: Remove tcpip_adapter compatibility layer 2022-03-10 08:19:43 +01:00
David Čermák
0b58f987cd Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
mdns: Add support for dynamic network interfaces

Closes IDF-939

See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
morris
b841332aa5 Merge branch 'component/esp_websocket_migration' into 'master'
websocket: Remove internal component, examples and test

Closes IDF-4076

See merge request espressif/esp-idf!17273
2022-03-09 19:12:55 +08:00
David Cermak
42ba8a8338 mdns: Fix copyright messages, update API descrition
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
2022-03-09 07:33:23 +01:00
David Cermak
b02468dc98 mdns: Add API to control custom network interfaces 2022-03-09 07:33:23 +01:00
David Cermak
dd3cd52fd6 CI/mdns: Reworked example test to be run repeatably 2022-03-09 07:33:16 +01:00
David Cermak
d1b809e6a1 CI/mdns: Extend example test for sockets, netifs 2022-03-08 13:46:57 +01:00
David Cermak
bec42ff85d mdns: Add support for registering custom netif 2022-03-08 13:46:11 +01:00
David Cermak
f8495f1e86 mdns: Indicate interface using esp_netif in search results 2022-03-08 13:44:14 +01:00
David Cermak
f90b3b798b mdns: Use predefined interfaces to prepare for custom netifs 2022-03-08 13:44:14 +01:00
Suren Gabrielyan
f9892f77b8 mdns: Prepare for dynamic esp-netif support 2022-03-08 13:39:53 +01:00
Mahavir Jain
55fd823001 Merge branch 'contrib/github_pr_8523' into 'master'
Removed unnecessary #include statement (GitHub PR)

Closes IDFGH-6903

See merge request espressif/esp-idf!17390
2022-03-08 16:13:08 +08:00
lukedukeus
469be7cc54
Removed unnecessary #include statement 2022-03-07 16:30:37 -05:00
gabsuren
f3c7215565 websocket: Remove internal component, examples and test 2022-03-07 11:07:40 +04:00
Sudeep Mohanty
a9fda54d39 esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Ivan Grokhotkov
c8b43ee0c1 Merge branch 'bugfix/sdspi_example_esp32s3' into 'master'
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins

Closes IDF-4641

See merge request espressif/esp-idf!17067
2022-03-04 18:42:53 +08:00