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
Jiang Jiang Jian
a39514a55e
Merge branch 'bugfix/fix_format_error' into 'master'
...
examples: fix format errors, remove -Wno-format
Closes IDF-6433
See merge request espressif/esp-idf!21637
2023-03-21 19:19:47 +08:00
Bogdan Kolendovskyy
9a05cc7733
Updated CMakeList.txt for main component of mqtt/ssl_ds.
2023-03-17 16:03:52 +01:00
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
David Čermák
956e62c461
Merge branch 'feature/lwip_ipv6_only' into 'master'
...
lwip: Support IPv6 only mode
Closes IDF-6023
See merge request espressif/esp-idf!20468
2023-03-01 21:38:10 +08:00
Jiang Jiang Jian
df00fd874f
Merge branch 'feature/modbus_remove_example_tests' into 'master'
...
modbus remove example tests
Closes IDFCI-1222
See merge request espressif/esp-idf!22434
2023-02-28 19:50:26 +08:00
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
David Cermak
5f6cb31105
lwip: Support IPv6 only mode
2023-02-27 08:53:34 +01:00
Aditya Patwardhan
bd81d8f9d3
esp-tls: Add build test for server session ticket option
2023-02-24 04:45:23 +00:00
Alex Lisitsyn
953edad1ab
modbus: fix common parameters include order
2023-02-22 18:03:37 +08:00
aleks
ed86c026cb
modbus remove example tests
2023-02-20 12:00:06 +01:00
Bogdan Kolendovskyy
d7b8b36082
examples: fix format errors, remove -Wno-format
...
Logging in series of examples has misuse of "%d" instead of type-appropriate format specifiers.
Fix by changing "%d" to PRIxx macros corresponding to type.
Remove -Wno-format compile flag in those examples that are affected.
2023-02-14 15:46:54 +01:00
Mahavir Jain
50f7d40b89
mqtt/ssl_ds: enable the example for ESP32-H2 target
2023-02-13 10:27:22 +05:30
David Cermak
7294438329
sntp/test: Fixed flaky example test
...
From SNTP update in a71fa821
, the example test uses notification event
(before it simply polled the state in 2 seconds interval). With this
change it is possible that the time gets synchronized before retrying,
i.e. printing "Waiting for system time to be set... (2/15)". (it was
theoretically possible also before this change, but practically never
happened)
2023-02-01 08:01:54 +01:00
David Čermák
dba0718f47
Merge branch 'feature/lwip_linux' into 'master'
...
lwip: Add support for linux target
Closes IDF-5707, IDF-5647, and IDF-6003
See merge request espressif/esp-idf!19302
2023-01-31 22:01:50 +08:00
David Cermak
5d04ebab51
examples: Update socket udp_client to support lwip on linux
...
This uses FreeRTOS simulator and lwip on linux, with options
to use tap-io commponent for host network interactions.
2023-01-31 08:43:50 +01:00
David Cermak
fa97004faf
lwip: Support for linux target
...
Implement linux port layer and reuse the original FreeRTOS layer
that's compiled and used on linux target as well, by means of FreeRTOS
simulator.
2023-01-31 08:43:45 +01:00
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
Ivan Grokhotkov
248bc8a346
Merge branch 'feature/modbus_add_esp32c2_esp32c6_targets' into 'master'
...
examples: modbus add esp32c2 esp32c6 targets
See merge request espressif/esp-idf!22017
2023-01-28 00:45:47 +08:00
Alex Lisitsyn
464b6d803c
examples: modbus add esp32c2 esp32c6 targets
2023-01-28 00:45:46 +08:00
Laukik Hase
167618d6a4
examples/protocols: Added URI encoding/decoding feature
...
- http_server/simple: Decoding received query
- esp_http_client: Sending encoded query
2023-01-25 17:47:14 +05:30
Mahavir Jain
8db02b36ac
Merge branch 'bugfix/fix_potential_buffer_overflow_http_client_example' into 'master'
...
esp_http_client example: fix potential buffer overflow while copying data recieved in HTTP response
Closes IDFGH-9027
See merge request espressif/esp-idf!21869
2023-01-23 12:03:51 +08:00
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
Laukik Hase
45c6631a00
ci: Enable build stage for mqtt/ssl_ds
example for esp32c6
2023-01-19 10:00:00 +05:30
David Čermák
2f1d30d155
Merge branch 'bugfix/lwip_core_locking' into 'master'
...
esp_netif/lwip: Fix core-locking config
Closes IDFGH-8445, IDFGH-9098, and IDFGH-9063
See merge request espressif/esp-idf!20840
2023-01-18 20:31:25 +08:00
David Cermak
a71fa82177
esp_netif/lwip: Fix core-locking config
...
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples
* Fix openthread libs
Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-01-17 16:15:58 +01:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Mahavir Jain
c0c2e3a73a
Merge branch 'fix/esp_local_ctrl_header_incl' into 'master'
...
esp_local_ctrl: Fix header inclusion
See merge request espressif/esp-idf!22033
2023-01-13 23:47:55 +08:00
Laukik Hase
e7efda4709
esp_local_ctrl: Fix header inclusion
...
- Included `sdkconfig.h` and HTTP/S server based headers
explicitly
2023-01-12 16:16:45 +05:30
Chen Yudong
c07d237ffe
examples: enable build esp32c6 for wifi and network examples
2023-01-12 14:50:06 +08:00
Chen Yudong
8aca3932b0
CI: enable more wifi cases
2023-01-06 06:03:52 +00:00
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
5c728e94a7
Update esp_http_client example to build for linux target
2023-01-04 11:20:43 +05:30
Laukik Hase
b3fa7fcf73
esp_local_ctrl: Add support for insecure HTTP server transport
2022-12-23 12:14:25 +05:30
Chen Yu Dong
e0d564fc30
Merge branch 'ci/optimize_some_test_cases' into 'master'
...
Ci: optimize some test cases
See merge request espressif/esp-idf!21729
2022-12-21 22:07:31 +08:00
Suren Gabrielyan
e5926d1b1b
Merge branch 'examples/mqtt_tests_migration_pytest' into 'master'
...
Examples: migration mqtt examples to pytest
See merge request espressif/esp-idf!20957
2022-12-21 21:23:14 +08:00
Chen Yudong
4af4edc3da
CI: fix pattern in test case test_examples_protocol_mqtt5
2022-12-21 10:50:11 +08:00
Suren Gabrielyan
b68203bfb5
Examples: migration mqtt examples to pytest
2022-12-20 17:48:48 +04:00
Chen Yu Dong
e5b318ab71
Merge branch 'ci/fix_socket_ipv6_test' into 'master'
...
CI: Migrate socket example tests to pytest
See merge request espressif/esp-idf!21596
2022-12-20 11:13:09 +08:00
Mahavir Jain
35d2a825c4
Merge branch 'bugfix/fix_httpd_req_cleanup' into 'master'
...
esp_http_server: fix wrong context pointer in httpd_req_cleanup function
Closes IDFGH-8842
See merge request espressif/esp-idf!21320
2022-12-19 14:40:24 +08:00
Chen Yudong
51d2d20f75
example: add socket scripts again
2022-12-16 19:03:25 +08:00
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
Suren Gabrielyan
ec9abc7b02
Examples: update README of socket examples
2022-12-15 14:55:47 +08:00
Chen Yudong
2d006d488c
CI: Migrate socket example tests to pytest
2022-12-15 14:55:42 +08:00
David Cermak
38dec0be48
esp-netif: Support non-lwip mode, add test
...
It is required to define a mandatory dependency on lwip, so we
introduced esp_netif_stack component and made it require lwip, instead
of directly depending on lwip.
This enables building w-out lwip and support other TCP/IP stacks.
2022-12-14 14:12:50 +00:00
Chen Yudong
df92048180
CI: fix ipv6 test failed on some runners
2022-12-14 15:58:49 +08:00
Laukik Hase
184c09ea81
protocols/security: Remove -Wno-format
compile option for examples
2022-12-07 13:02:00 +05:30
Song Ruo Jing
7466ddfa8c
ci: Make consistence between pytest_*.py and .build-test-rules.yml for esp32c6 (i.e. to pass check_test_scripts_build_test_rules.py)
2022-11-28 11:58:30 +08:00
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
5ff6dbba85
cbor: Update cbor component version in idf_component.yml file in example
2022-11-09 18:03:26 +05:30
Armando
aba9f80cd2
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-09 20:15:17 +08:00
Mahavir Jain
960a84db47
Merge branch 'fix/esp_http_client_fix_behavior_disable_auto_redirect_enabled' into 'master'
...
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled
Closes IDF-6136
See merge request espressif/esp-idf!20805
2022-11-04 20:38:24 +08:00
Martin Vychodil
c9c7573f71
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01:00
Mahavir Jain
4e3c2cc456
Merge branch 'bugfix/fix_https_x509_example' into 'master'
...
ci: fix https_x509 example
See merge request espressif/esp-idf!20371
2022-11-02 19:40:41 +08:00
Harshit Malpani
22f3db0189
ci: fix https_x509 example
2022-11-02 14:57:14 +05:30
morris
84be4db4e5
Merge branch 'contrib/github_pr_10087' into 'master'
...
fixed url to console component (GitHub PR)
Closes IDFGH-8642
See merge request espressif/esp-idf!20896
2022-11-02 16:02:29 +08:00
morris
8d637ec985
doc: redirect console page
...
Previous the console doc is moved from api-guide to api-reference, which
broken the URL as well, this commit added a redirect link to ensure the
old URL can still work.
2022-11-02 14:21:57 +08:00
Song Ruo Jing
2557e24a28
ci: Enable esp32c6 example, test_apps, and unit tests CI build stage
2022-11-01 11:23:21 +08:00
harshal.patil
5feb4696be
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled
2022-10-27 14:04:54 +05:30
harshal.patil
f9db1ec366
esp_local_ctrl: added sec1 and sec2 support in esp_local_ctrl example
2022-10-14 17:04:08 +05:30
yuanjianmin
a839121285
ci: Fix mqtt broker is not available
2022-09-30 10:07:19 +08:00
Mahavir Jain
13a34affc6
Merge branch 'bugfix/fix_https_request_example' into 'master'
...
example: Updated https_request example to fail when time is not synced.
See merge request espressif/esp-idf!19701
2022-09-21 16:10:30 +08:00
David Čermák
720cc883d1
Merge branch 'tcp_transport_client_example' into 'master'
...
Create TCP Client using TCP TRANSPORT instead of socket
See merge request espressif/esp-idf!18429
2022-09-20 17:53:50 +08:00
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
AndriiFilippov
1befb078cd
Create TCP Client using TCP TRANSPORT instead of socket
...
Update error logs with returned values. Add transport_tcp_init() error check.Clean up
2022-09-15 14:26:21 +02:00
Abhik Roy
b3c39d2324
examples/socket: Fix for send() failure handling.
...
Closes https://github.com/espressif/esp-idf/issues/9475
2022-09-09 13:03:23 +05:30
Aditya Patwardhan
6c7fd1edc0
mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
...
the DS documentation
2022-08-30 10:54:15 +05:30
Aditya Patwardhan
41707d0f17
mqtt/ssl_ds: Add documentation on how to use esp-secure-cert-tool with
...
the example
2022-08-29 13:06:21 +05:30
Aditya Patwardhan
8387725c4f
mqtt/ssl_ds example: Update the code to use esp_secure_cert
component
2022-08-29 10:53:17 +05:30
Aditya Patwardhan
d64bda5946
mqtt/ssl_ds example: Remove configure_ds.py script, use
...
esp-secure-cert-tool instread
2022-08-29 10:53:17 +05:30
Ivan Grokhotkov
c6e9a0c350
esp_common: make esp_err_to_name and ESP_ERROR_CHECK usable on Linux
2022-08-18 18:16:45 +02:00
David Čermák
fbc32c0312
Merge branch 'examples/tcp_client_linux_support' into 'master'
...
tcp_client example: support for Linux target.
Closes IDF-5636
See merge request espressif/esp-idf!19203
2022-08-18 12:40:37 +08:00
David Čermák
8033878507
Merge branch 'bugfix/esp_netif_remove_slip' into 'master'
...
esp_netif: Migrate SLIP interface to user-space
Closes IDF-5678
See merge request espressif/esp-idf!19202
2022-08-18 03:53:30 +08:00
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