Abhik Roy
933a2a69fe
tcp_client example: support for Linux target.
2022-08-16 23:48:18 +05:30
David Cermak
1f7b2d4860
Examples: Remove SLIP protocol example
2022-08-16 14:08:15 +00:00
David Cermak
83b8556f10
esp_netif: Migrate SLIP interface to user-space
2022-08-16 14:08:15 +00:00
Harshit Malpani
f1aa0eb15b
example: Add coap_client example_test
2022-08-16 09:52:00 +05:30
simon.chupin
35dda59209
tools: remove the dependency on the future package
2022-08-09 16:46:58 +02:00
Ivan Grokhotkov
e596c84d49
build system: re-add -Wno-format as private flag for some example components
2022-08-03 16:42:47 +04:00
Mahavir Jain
9b518380b2
Merge branch 'contrib/github_pr_9452' into 'master'
...
coap: Update examples to use latest features of libcoap component (GitHub PR)
Closes IDFGH-7934
See merge request espressif/esp-idf!19308
2022-08-01 16:35:24 +08:00
Jon Shallow
98d346a81e
coap: Update examples to use latest features of libcoap component
...
Support libcoap build with Client Only or Server Only code.
2022-07-28 13:11:52 +00:00
yuanjm
7dcc29d0be
Add mqtt5 build test rules
2022-07-28 06:24:43 +00:00
yuanjm
196831efa8
example: Add mqtt5 example
2022-07-28 06:24:43 +00:00
David Čermák
36f49f361c
Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
...
esp-netif/lw-ip: Make dependencies one-directional
Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287
See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
Abhik Roy
757a171e39
Merge branch 'example/icmpv6_ping' into 'master'
...
icmpv6_ping example code formatting.
See merge request espressif/esp-idf!19136
2022-07-21 03:32:02 +08:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
David Čermák
e7ccaaf9ca
Merge branch 'feature/update_mqtt_client' into 'master'
...
[MQTT] - Updates esp_mqtt configuration struct
See merge request espressif/esp-idf!18101
2022-07-20 19:52:04 +08:00
Abhik Roy
8ab028c85e
icmpv6_ping example code formatting.
2022-07-20 12:14:59 +05:30
Mahavir Jain
0c09406173
examples/cbor: keep newlib nano disabled in the example
...
CBOR parsing fails with newlib nano configuration, observed on ESP32-C2.
Closes IDFCI-1375
2022-07-19 13:27:51 +05:30
David Čermák
d1dc30fd70
Merge branch 'example/icmpv6_ping' into 'master'
...
examples: Add ICMPv6 Echo Request/Reply example.
See merge request espressif/esp-idf!18731
2022-07-19 05:04:02 +08:00
Abhik Roy
25c310b3da
examples: Add ICMPv6 Echo Request/Reply example.
...
Added example to create a raw ICMPv6 socket and sends an ICMPv6 Echo-Request
to the destination ipv6 address and wait for Echo-Reply for esp32 and Linux target.
2022-07-18 12:13:23 +05:30
Euripedes Rocha
ff1c405ed1
[MQTT] - Updates esp_mqtt configuration struct
...
- Layered config struct
- Fix examples.
2022-07-15 12:32:50 -03:00
Chen Yudong
d54e1e8379
CI: make sure that reading of the ipv4 address has finished
2022-07-15 14:21:39 +08:00
Chen Yudong
2f75733ad7
CI: Improve common test methods
...
also fix ota test cases
2022-07-15 14:21:34 +08:00
Chen Yudong
692fbc169c
CI: use ssid password from stdin for pytest cases
2022-07-15 01:16:36 +08:00
Chen Yudong
4313ff4655
CI: input ssid password depends on sdkconfig
2022-07-15 01:16:36 +08:00
Chen Yudong
472ac26712
CI: update test cases to use different environment variables
...
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2022-07-15 01:16:35 +08:00
Chen Yudong
4d9393fc53
example: use example common componments in esp_local_ctrl
2022-07-15 01:16:35 +08:00
Chen Yudong
9575f03b8d
CI: fix ip address checker and trace log
2022-07-15 01:16:35 +08:00
Chen Yudong
bf0e4943be
common_components: add wifi connect console commands
2022-07-15 01:16:27 +08:00
Fu Hanxi
7b5a3af407
Merge branch 'feat/reorg_examples' into 'master'
...
feat: new find_build_apps rules with centralized manifest file
Closes IDFCI-1061, IDF-3553, IDFCI-941, IDFCI-1359, and IDFCI-1361
See merge request espressif/esp-idf!18299
2022-07-14 20:04:12 +08:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
Laukik Hase
aa30b2ddbe
esp_local_ctrl/scripts: Removed python2 compatibility
2022-07-13 17:58:40 +05:30
Aditya Patwardhan
1e90632639
esp_local_ctrl/scripts: Update the script to use async methods
2022-07-13 17:30:06 +05:30
David Čermák
8417079218
Merge branch 'component/asio_migration' into 'master'
...
ASIO: Remove internal component, examples, test and docs
Closes IDF-4625
See merge request espressif/esp-idf!18297
2022-07-05 21:26:48 +08:00
David Čermák
e4928d2751
Merge branch 'bugfix/ci_lwip_sntp_2_servers' into 'master'
...
ci/lw-ip: Use 2 SNTP public servers in CI config
See merge request espressif/esp-idf!18795
2022-07-05 17:23:47 +08:00
xueyunfei
b569f4069a
bugfix for add ttl for ping socket
2022-07-05 11:37:41 +08:00
gabsuren
79d3655106
ASIO: Remove internal component, examples, test and docs
2022-07-04 22:15:24 +04:00
David Cermak
d06d7deacd
ci/lwip: Use 2 SNTP public servers in CI config
2022-07-01 05:23:53 +00:00
gabsuren
d413a71f61
mdns: Remove internal component, examples, test and docs
2022-06-29 17:30:34 +04:00
Aditya Patwardhan
a191ca21d9
esp_local_ctrl: Increase timeout of first read to minimize test failures
2022-06-28 03:48:03 +00:00
Jakob Hasse
d7cceabbb4
Merge branch 'feature/upgrade_c_cxx_standards' into 'master'
...
build system: use C17 and C++2a by default
Closes IDF-1499, IDFGH-1788, IDFGH-2781, and IDFGH-7617
See merge request espressif/esp-idf!18371
2022-06-20 12:24:08 +08:00
yuanjm
63ed429a49
fix(example): Fix wss_server_example not close socket
...
Closes https://github.com/espressif/esp-idf/issues/9163
2022-06-20 03:01:38 +00:00
Ivan Grokhotkov
157247f98f
asio: fix example for compatibility with C++20
...
Fix deprecated-enum-enum-conversion warning when compiling the
example with C++20
2022-06-17 16:44:17 +02:00
Aditya Patwardhan
f2cce5fa0d
wifi_provisioning: Update the APIs with reference to the new APIs from protocomm
...
esp_local_ctrl: Update the code with reference to new changes in protocomm component
2022-06-17 13:16:20 +00:00
Laukik Hase
2dea0e833a
ci: Fix mqtt_qos1
example test failure
...
- Updated log levels of some tags in mqtt/tcp example
- Updated mqtt/tcp example test to work with WiFi
2022-06-15 14:16:44 +05:30
yuanjm
16cf6d7bf3
ci: Add PING test for ci
2022-06-08 16:30:51 +08:00
yuanjm
b9b1a7aba8
fix(websocket): Support handler deal with PING and CLOSE frame
...
Closes https://github.com/espressif/esp-idf/issues/8803
2022-06-08 16:16:57 +08:00
Mahavir Jain
34fb03b049
Merge branch 'feature/http_example_pytest_migration' into 'master'
...
http example pytest migration
See merge request espressif/esp-idf!18053
2022-06-06 20:13:01 +08:00
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
morris
aa3ddbc3c6
Merge branch 'test/enable_c2_target_tests' into 'master'
...
ci: enable target tests for ESP32-C2
Closes IDF-4989
See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
David Čermák
46e599c56d
Merge branch 'feature/lwip_rework_patches' into 'master'
...
lw-IP: Reworked patches
Closes IDFGH-6197
See merge request espressif/esp-idf!17388
2022-06-03 15:26:55 +08:00
Michael (XIAO Xufeng)
f7be540222
ci: partially enable example build for esp32c2
2022-06-02 14:17:31 +08:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Harshit Malpani
5a51af523c
https examples pytest migration
2022-05-27 10:27:00 +05:30
Marius Vikhammer
425c9e5b0f
Merge branch 'feature/target_kconfig_movement_3' into 'master'
...
kconfig: move remaining kconfig options out of target component
Closes IDF-3579
See merge request espressif/esp-idf!18046
2022-05-24 08:45:01 +08:00
Mahavir Jain
5d88df658d
Merge branch 'feature/esp-tls_optimize_memory' into 'master'
...
esp-tls: add api to free client session
Closes AEG-57
See merge request espressif/esp-idf!18103
2022-05-24 02:53:59 +08:00
Marius Vikhammer
0687daf2c8
kconfig: move remaining kconfig options out of target component
...
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
Mahavir Jain
b54fc7ecd5
Merge branch 'feature/esp_local_ctrl_example_pytest_migration' into 'master'
...
esp local ctrl example pytest migration
See merge request espressif/esp-idf!18051
2022-05-23 17:06:21 +08:00
Li Jingyi
9b766b851a
example: https_request update free client session api
2022-05-23 16:28:40 +08:00
Laukik Hase
6ad25f991d
https_mbedtls: Prefer TLS 1.3 connection when enabled over TLS 1.2
...
Closes https://github.com/espressif/esp-idf/issues/8960
2022-05-23 09:51:57 +05:30
Li Jingyi
0cdee37630
https_server: add mbedtls dynamic buffer function test
2022-05-20 11:21:48 +00:00
David Čermák
8153695192
Merge branch 'contrib/github_pr_8962' into 'master'
...
Update echo_example_main.c (GitHub PR)
Closes IDFGH-7382
See merge request espressif/esp-idf!18126
2022-05-20 04:14:48 +08:00
David Cermak
b0e4ae4a5e
examples: Minor fixes in udp_nulticast socket examples
...
Make sure that IPv6 mapped IPv4 addresses are not used when using
vanilla lwip
2022-05-18 17:10:42 +02:00
Harshit Malpani
63b1b1bd44
esp_local_ctrl example pytest migration
2022-05-17 15:23:22 +05:30
David McCurley
58db82c764
Update echo_example_main.c
...
Fixed compile error in example. `error: designator order for field 'esp_ping_callbacks_t::cb_args' does not match declaration order in 'esp_ping_callbacks_t'`. Moved `.cb_args` in example to match declaration.
2022-05-16 11:30:55 -05:00
Harshit Malpani
57e2e7a27c
Migrate cbor example to pytest framework
2022-05-13 04:41:00 +00:00
Ondrej Kosta
1a20b10fd3
Examples: common source for GPIO range in Kconfigs defined
2022-05-12 09:33:40 +02:00
Mahavir Jain
af1f342ee8
Merge branch 'fix/make_esp_tls_t_private' into 'master'
...
Make esp_tls_t as private structure
Closes IDF-2812
See merge request espressif/esp-idf!17812
2022-05-12 14:47:42 +08:00
Harshit Malpani
2c56c6cad8
Updated coding style and added error logs
2022-05-11 08:58:01 +00:00
Nathan Phillips
e8e63a06e8
Don't ignore return value of httpd_stop
2022-05-11 08:58:01 +00:00
Aditya Patwardhan
26a15058d3
Add sdkconfig.h to protocol/https* examples
2022-05-11 07:09:34 +00:00
Aditya Patwardhan
788c9ddf8d
esp_tls: Added getter function for esp_tls ssl ctx.
2022-05-11 07:09:34 +00:00
Erhan Kurubas
ad078c5153
semihosting: drop absolute path support
2022-05-05 09:12:42 +00:00
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