Commit Graph

2457 Commits

Author SHA1 Message Date
Angus Gratton
2a6dd33d35 Merge branch 'feature/c3_flash_enc_tests' into 'master'
flash enc: add flash encryption unit and example test for C3

Closes IDF-2936

See merge request espressif/esp-idf!12774
2021-03-29 06:45:32 +00:00
Krzysztof Budzynski
d25d3789e9 Merge branch 'doc/update_dead_url_links_to_iot_solution_repo' into 'master'
fix dead links directed to ESP-IoT-Solution repo

Closes DOC-1101 and IDFCI-472

See merge request espressif/esp-idf!12535
2021-03-26 14:23:06 +00:00
Hao Ning
80da446be7 fix dead links directed to iot solution repo
resolve confilcts

modify a board name

rebase master

fix ota example link in readme
2021-03-26 15:19:10 +08:00
Armando
37e3b79b89 adc: rename adc examples according to hw feature and usage 2021-03-26 12:04:46 +08:00
Armando
0030179642 adc: rename adc related examples 2021-03-26 12:04:46 +08:00
Marius Vikhammer
d3d145285d flash enc: add flash encryption unit and example test for C3 2021-03-25 17:51:22 +08:00
ronghulin
3373eff989 Bugfix: Connect example to add scan mode config
Closes https://github.com/espressif/esp-idf/issues/6595
2021-03-24 15:44:48 +08:00
Erohal
1da8dd5816 Update Gatt_Client_Example_Walkthrough.md
Closes https://github.com/espressif/esp-idf/pull/5961
Closes IDFGH-4090
2021-03-23 17:40:18 +05:30
mjcross
0ce4d3f9f7 examples/provisioning: add comment about linker errors
If the user copies the BLE example to their own project without understanding the need to enable the BT stack or BTDM BLE settings in the SDK then their build will probably fail at this line due to linker errors.

Closes https://github.com/espressif/esp-idf/pull/6652
Closes IDFGH-4854
2021-03-23 17:33:51 +05:30
mjcross
08087f754e Explain the need to enable BT and BTDM BLE in SDK
If users may try to use this (excellent) example code in their own projects, without understanding the need to enable the BT stack and BTDM settings in the SDK. If they do that then their builds will fail with linker errors but they may not understand why.
2021-03-23 17:31:40 +05:30
Shubham Kulkarni
4f6e0c1d27 esp_http_client: Add config option for HTTP Digest auth 2021-03-23 11:58:35 +05:30
Michael (XIAO Xufeng)
67ba80f2ec Merge branch 'bugfix/reduce_the_consumption_of_touch_sensor_during_deep_sleep' into 'master'
fix: reduce the consumption of touch sensor during deep sleep

See merge request espressif/esp-idf!12248
2021-03-22 07:10:44 +00:00
Michael (XIAO Xufeng)
3a90d51831 Merge branch 'refactor/using_isr_callback_in_timer_example' into 'master'
TIMG: clean up timer example and add example test

Closes IDF-2722, IDF-2766, and IDF-2347

See merge request espressif/esp-idf!12218
2021-03-22 06:36:32 +00:00
shenjun
f9fe524c32 mesh/ps: network duty signaling 2021-03-18 16:22:19 +00:00
Jiri Schiebel
0c58d5fc6a lwip: added config option to enable LWIP_NETIF_API 2021-03-17 17:53:07 +00:00
Aditya Patwardhan
a06dbc11a7 https_mbedtls_example: Add minimum free heap print in the example and
respective check in the example_test.py
2021-03-16 17:15:56 +05:30
morris
089801cd7f timer_group: added example test 2021-03-16 17:56:37 +08:00
morris
fcbde13755 timer_group: using isr callback in example 2021-03-16 17:56:37 +08:00
Michael (XIAO Xufeng)
be30289364 Merge branch 'feature/c3_example_tests' into 'master'
CI: add Example_GENERIC for C3

Closes IDF-2935

See merge request espressif/esp-idf!12557
2021-03-16 09:43:38 +00:00
yuanjm
3874c20b5d esp_http_server: Fix examples parse ws keep-alive packet fail. 2021-03-16 09:55:02 +05:30
Aditya Patwardhan
54b2b88e9e https_server/wss_server: Added example_test 2021-03-16 09:55:02 +05:30
Aditya Patwardhan
7c68c7a318 https_server_simple: Added example test 2021-03-16 09:55:02 +05:30
Aditya Patwardhan
d51c41d4c5 http_server/file_serving: Added example test
* Fixed unsused function warning
2021-03-16 09:55:01 +05:30
Aditya Patwardhan
4b7eaa1d1f http_request_example: Added example test 2021-03-16 09:55:01 +05:30
Aditya Patwardhan
31ddfbb7a6 https_mbedtls_example: Added example test 2021-03-16 09:55:01 +05:30
Aditya Patwardhan
dc62958241 http2_request_example: Added example test 2021-03-16 09:55:01 +05:30
fuzhibo
6b361ed70f fix: reduce the consumption of touch sensor during deep sleep 2021-03-15 03:59:54 +00:00
Marius Vikhammer
c85d949c1f ci: run Example_GENERIC for C3
Add support for running example_GENERIC tests for C3 on label.

Fix examples that fail.
2021-03-15 10:27:07 +08:00
Angus Gratton
429ea0a1c1 Merge branch 'feature/riscv_ulp_s2_example_test' into 'master'
ci: RISCV-ULP example test

Closes IDF-2505

See merge request espressif/esp-idf!12397
2021-03-10 23:53:47 +00:00
yuanjm
07d784f7fe examples: Add OTA bind specified interface example
Closes https://github.com/espressif/esp-idf/issues/6090
2021-03-10 02:19:29 +00:00
Mahavir Jain
2c511e0295 Merge branch 'feature/update_wifi_provisioning_readme' into 'master'
Feature/update wifi provisioning readme

Closes IDFGH-4830

See merge request espressif/esp-idf!12584
2021-03-09 15:15:04 +00:00
Mahavir Jain
67cb6b98f8 Merge branch 'feature/support_ws_handshake_callback' into 'master'
example: Identify the callback whether is hanshake or frame-receive by req->method

Closes IDFGH-4796 and IDFCI-488

See merge request espressif/esp-idf!12634
2021-03-09 12:11:56 +00:00
yuanjm
444f81983e provisioning: update README.md 2021-03-09 11:41:33 +00:00
mjcross
b3e384272a provisioning: Update README.md to explain QR code format
Add examples of how to create a QR code that will be recognised by the iOS or Android app

Signed-off-by: yuanjm <yuanjianmin@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/6629
2021-03-09 11:41:33 +00:00
Mahavir Jain
f5f25d2b53 Merge branch 'bugfix/ota_docs_openssl_windows' into 'master'
examples: Document OTA examples with openssl on windows tips/issues

See merge request espressif/esp-idf!12372
2021-03-09 08:21:38 +00:00
yuanjm
a1d5cfc260 example: Identify the callback whether is hanshake or frame-receive by req->method
Now the uri handler gets called immediately after the handshake. In the handler we can identify that this was the handshake by checking req->method as it is still a GET from the first part of the handshake the client has sent. On a normal websocket-frame-receive (when normally a websocket uriHandler gets called) this field is set to 0
Closes https://github.com/espressif/esp-idf/issues/6597
2021-03-09 07:32:15 +00:00
Mahavir Jain
907ea44ee9 Merge branch 'feature/http_server_optimizations' into 'master'
esp_http_server optimisations

Closes IDFGH-4484 and IDFGH-4741

See merge request espressif/esp-idf!12240
2021-03-08 09:01:20 +00:00
Island
ddea60c5ad Merge branch 'bugfix/kconfig_rename' into 'master'
Bugfix/kconfig rename

See merge request espressif/esp-idf!12588
2021-03-08 08:53:30 +00:00
Michael (XIAO Xufeng)
a3f5cf2c71 Merge branch 'bugfix/touch_element_callback_para' into 'master'
touch_element: fix event callback parameter type, change it into pointer

See merge request espressif/esp-idf!12600
2021-03-05 02:28:04 +00:00
David Cermak
7a020ea16f examples: Document OTA examples with openssl on windows tips/issues 2021-03-04 08:05:25 +01:00
David Cermak
79d596bcdc docs/ota: Allow example_test.py to run a custom https-server 2021-03-04 08:05:16 +01:00
mjcross
03901946ba Explain how to fix 'httpd_parse: header too long'
Because this is the 'simple' server example, it is probably where users will start out to understand the HTTP Server API; and also where they might come if they are having problems.
So I think it is useful to explain to users what to do if they see "httpd_parse: parse_block: request URI/header too long", which can easily happen if they submit a POST from an HTML form (for example). That certainly would have helped me!

Merges https://github.com/espressif/esp-idf/pull/6547

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-03-04 04:08:47 +00:00
Kang Zuo Ling
022bf82e01 touch_element: fix event callback parameter type, change it into pointer 2021-03-03 15:53:12 +08:00
Shubham Kulkarni
fb0beefefb advanced_https_ota: Add example_test for partial HTTP download 2021-03-02 16:48:18 +05:30
Chinmay Chhajed
3fa1f5d4d6 Renamed Kconfig to Kconfig.projbuild in some examples. 2021-03-02 16:00:59 +05:30
David Čermák
138ab8a3af Merge branch 'feature/refactor_pppos_modem' into 'master'
pppos-client: Refactor modem component

Closes IDFGH-4671

See merge request espressif/esp-idf!12313
2021-03-02 07:26:40 +00:00
Liu Han
b3a35e3d4e pppos-client: Refactor modem component
Merges https://github.com/espressif/esp-idf/pull/6483
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
42aaefe218 Remove duplicated empty lines
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
3968660b2a Move DCE_CHECK in the esp_modem_dce
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
de239f151f Edit comments with protocol foreach methods
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
a77e9a8ab9 Move typedef with private resource into esp_modem_dce.h
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
ea1df995f8 Move commun methods in DCE and align few methods
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Hassan DRAGA
b2eb199502 Update native_ota_example.c
* assert(update_partition) should be before trying to use update_partition in ESP_LOGI().
* if we show detailed description about the error ESP_ERR_OTA_VALIDATE_FAILED, why show it again using esp_err_to_name() ?

Merges https://github.com/espressif/esp-idf/pull/6623

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-03-01 14:00:27 +00:00
Kang Zuoling
cd8e874c8d touch_element: add touch element lib example 2021-02-28 17:33:50 +08:00
David Cermak
3748b4ac57 esp_modem: Add specific power-down command for SIM7600 2021-02-26 17:16:28 +01:00
David Čermák
00432fa2c3 Merge branch 'feature/update_mqtt_test_url' into 'master'
Feature/update mqtt test url

See merge request espressif/esp-idf!12473
2021-02-26 16:09:38 +00:00
Michael (XIAO Xufeng)
60dfb09122 Merge branch 'bugfix/freemodbus_fix_zero_based_reg_address_in_iterator' into 'master'
freemodbus: fix mb zero based reg address

See merge request espressif/esp-idf!12422
2021-02-26 08:13:59 +00:00
Renz Bagaporo
e5b3824f61 ci: add example test for ulp_riscv example 2021-02-26 13:34:09 +08:00
Cao Sen Miao
a8343bc470 esp_system: support gpio wakeup from deep sleep on esp32c3 2021-02-26 12:26:49 +08:00
aleks
0d3f19beea freemodbus: fix mb zero based reg address in the iterator
Fixes https://github.com/espressif/esp-idf/issues/6571
2021-02-25 15:17:45 +01:00
Michael (XIAO Xufeng)
fcad110dc8 Merge branch 'bugfix/flash_fatfs_example' into 'master'
spi_flash: bugfix for external flash fatfs example

Closes IDFCI-464

See merge request espressif/esp-idf!12468
2021-02-25 07:55:40 +00:00
Mahavir Jain
5db150b48a Merge branch 'feature/add_qrcode_in_provisioning_example' into 'master'
examples: Add QR code support for provisioning examples

Closes IDF-2030

See merge request espressif/esp-idf!12409
2021-02-25 00:41:01 +00:00
David Čermák
a91e2744d5 Merge branch 'feature/support_dynamic_payload_len_for_ws_server' into 'master'
esp_http_server: support dynamic payload len for ws server

Closes IDFGH-4619

See merge request espressif/esp-idf!12235
2021-02-24 15:41:42 +00:00
Island
f283b7087d Merge branch 'feature/support_esp32c3_aligenie_demo' into 'master'
ble_mesh: aligenie_demo: Add sdkconfig.defaults for esp32c3

See merge request espressif/esp-idf!12260
2021-02-24 12:08:08 +00:00
Yuan Ming Fu
a2dc356e2c ble_mesh: aligenie_demo: Add sdkconfig.defaults for esp32c3 2021-02-24 20:08:04 +08:00
yuanjm
cd521d4ae3 esp_http_server: support dynamic payload len for ws server
Closes https://github.com/espressif/esp-idf/issues/6433
2021-02-24 11:40:34 +00:00
David Čermák
5f0aa46cbf Merge branch 'feature/seperate_ipv6_function_from_ipv4' into 'master'
Add LWIP_IPV6 macro to strip IPv6 function

See merge request espressif/esp-idf!11977
2021-02-24 11:20:53 +00:00
yuanjm
3c4bfdbf48 examples: Add QR code support for provisioning examples 2021-02-24 17:23:25 +08:00
Michael (XIAO Xufeng)
db1c635db4 Merge branch 'feature/esp32c3_rtc_temp_calibration' into 'master'
temperature_sensor: calibration for esp32c3

Closes IDF-2502

See merge request espressif/esp-idf!12158
2021-02-24 03:27:49 +00:00
Cao Sen Miao
3e0a765cfd spi_flash: fix the issue of ext_flash_fatfs_example 2021-02-24 11:13:43 +08:00
yuanjm
f8d27ebd76 examples: Make tcp_server example support tcp keepalive function 2021-02-23 18:26:03 +08:00
yuanjm
b06a588263 examples: Use CONFIG_LWIP_IPV6 to strip tcp_server example 2021-02-23 18:26:03 +08:00
yuanjm
821eea45b3 examples: Strip IPv6 function in example and use sockaddr_storage to replace sockaddr_in6 2021-02-23 18:26:03 +08:00
yuanjm
ca037eba9b examples: Update mqtt open source test server address 2021-02-23 15:29:07 +08:00
yuanjm
3ff3ea8f88 examples: Add Kconfig for resetting provisioning config 2021-02-23 14:21:11 +08:00
Cao Sen Miao
85855ad8a6 temp_sensor: add calibration for esp32c3 2021-02-23 10:48:17 +08:00
morris
0f5d1c1c46 rtc: supported disable rom log temporarily 2021-02-22 20:56:43 +08:00
Fu Hanxi
fc7b962e54 bugfix: fix http_server example sdkconfig file name 2021-02-22 15:50:52 +08:00
Michael (XIAO Xufeng)
f5f6c59e63 Merge branch 'feature/apply_gdma_new_channel_api_to_adc' into 'master'
adc: apply gdma new channel api to adc

Closes IDF-2500

See merge request espressif/esp-idf!12008
2021-02-19 13:07:32 +00:00
David Cermak
41146d674f ci: Update pppos client test regex with esp-tls transport layer 2021-02-16 09:01:35 +01:00
David Cermak
b4d792446c examples/mqtt: Use common transport for setting log severity 2021-02-16 09:00:43 +01:00
Angus Gratton
5b5431a5f0 Merge branch 'feature/new_blink_example' into 'master'
new blink example

See merge request espressif/esp-idf!12238
2021-02-15 22:47:47 +00:00
pedro.minatel
cccdb3e4aa Get started example update for addressable LED compatibility.
Added the RMT/addr LED blink to the example and more detailed README.md
 Moved component/led_strip to common_components
 Added missing README file to common_components/led_strip
 README file update
 Makefile and Kconfig fixed for led_strip component
 Fixing end-of-line on main/blink.c
 Component updated to handle multiple instances
 Added note on the RMT channel number (ESP32 and ESP32-S2)
 Removed components folder from rmt/led_strip example and README updated
 Changed the led_strip_denit function and added ESP32-C3 RMT info on channel configuration
 Updates on README, Kconfig default settings and configure_led() function added
2021-02-15 12:34:55 +00:00
yuanjm
850053caad provisioning: Fix enable CONFIG_EXAMPLE_RESET_PROVISIONED will cause device crash
Closes https://github.com/espressif/esp-idf/issues/6240
2021-02-15 05:08:22 +00:00
Euripedes Rocha Filho
b5682610b6 examples/mqtt: Cleanup on examples
- Removes extra callback function, the code from the callback is integrated into the event handler code.
- Clarify usage of handler args, pass NULL as callback data instead of client, to avoid user confusion,
  and add documentation on usage of handler_args.
2021-02-11 07:29:29 +01:00
Liu Han
94512a76b7 example/http_server: add basic authenticated example to HTTP server
Closes https://github.com/espressif/esp-idf/issues/5646
2021-02-10 05:23:01 +00:00
Marius Vikhammer
04df1f3a42 CI: enable example builds for C3
Enables building C3 examples in CI.

Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Armando
5427c18781 adc: apply gdma api to adc on esp32c3 2021-02-08 11:41:21 +08:00
wangmengyang
2dd730d35c component/bt: [esp32c3] modify Bluetooth coexistence options 2021-02-05 09:16:29 +00:00
David Čermák
a2005adf32 Merge branch 'bugfix/disable_software_flow_control_with_small_buffers' into 'master'
esp_eth: added option to disable soft flow control when rx buffer is few

Closes WIFI-3362

See merge request espressif/esp-idf!12186
2021-02-04 20:36:04 +08:00
Island
aaa032b532 Merge branch 'bugfix/ble_mesh_example_c3_sdkconfig' into 'master'
ble_mesh: example: Add sdkconfig.defaults for esp32c3

See merge request espressif/esp-idf!12222
2021-02-04 20:13:37 +08:00
Jiang Jiang Jian
c172438e42 Merge branch 'bugfix/fix_iperf_example_exception_handling_for_no_ap_found' into 'master'
add exception handling for iperf example's scan when no ap was found

Closes WIFI-3229

See merge request espressif/esp-idf!11750
2021-02-04 19:36:41 +08:00
Jiang Jiang Jian
c1aacb2efc Merge branch 'bugfix/btdm_add_ble_connection_params_check' into 'master'
Bugfix/btdm add ble connection params check

See merge request espressif/esp-idf!12193
2021-02-04 17:32:42 +08:00
lly
3f8a7cc125 ble_mesh: example: Add sdkconfig.defaults for esp32c3 2021-02-04 09:20:18 +00:00
dongyou
543664f247 add exception handling for iperf example's scan when no ap was found 2021-02-04 08:40:10 +00:00
Jiang Jiang Jian
46b3cde07b Merge branch 'bugfix/fix_espnow_example_issue' into 'master'
espnow example: Fix the issue of restart in espnow blocking system

See merge request espressif/esp-idf!12084
2021-02-04 16:22:02 +08:00
Ivan Grokhotkov
1678f142fa Merge branch 'bugfix/fix_partition_find_example_on_find_null_partition' into 'master'
example/storage: fix find_partition function when no partition is found

See merge request espressif/esp-idf!12144
2021-02-03 23:00:16 +08:00
David Cermak
c6339d0b4c ci: Make the mqtt example test to send only portion of the partition
This makes the test faster and more robust in very a busy WiFi environment
(our CI) and still exercises the scenario of fragmenting the message on
both mqtt and ssl levels (binary size to send > mqtt buffer size)
2021-02-02 14:25:57 +01:00
Pedro Minatel
42b85a82ae Apply 1 suggestion(s) to 1 file(s) 2021-02-01 08:35:25 +00:00
pedro.minatel
5c1d19ad02 example/storage: fix find_partition function when no partition is found 2021-02-01 08:35:25 +00:00