Commit Graph

2027 Commits

Author SHA1 Message Date
Mahavir Jain
7727f1612e Merge branch 'task/httpd_strlen' into 'master'
httpd_resp_send: use `HTTPD_RESP_USE_STRLEN` when possible

Closes IDFGH-3268

See merge request espressif/esp-idf!8957
2020-07-14 12:11:52 +08:00
David Cermak
c226270138 pppos-client: support for SIM7600 modem
Reuses most of the code from BG96. At this moment, this is not a
perfect support for other modules as the generic handlers for most
common modem functionality is not easily reusable. Refactoring to a
fully independent modem component will solve this.

Closes https://github.com/espressif/esp-idf/issues/5250
2020-07-13 14:45:19 +00:00
David Cermak
005f21accc http_server: WebSocket server to set flag in transmitted messages by default
Add logic to set `FIN` flag automatically for transmitted WS frames, but
if `fragmented` option set indicating an expert/manual mode, then the
`FIN` flag is set according to the `final` option.
2020-07-13 14:39:22 +00:00
David Cermak
52150c2cd2 http_server example: WebSocket server to set final flag in async messages
Closes https://github.com/espressif/esp-idf/issues/5405
2020-07-13 14:39:22 +00:00
David Čermák
6edf0fed2b Merge branch 'feature/support_ksz8041' into 'master'
support ksz8041

Closes IDFGH-3495 and IDFGH-3584

See merge request espressif/esp-idf!9558
2020-07-13 22:30:58 +08:00
Ivan Grokhotkov
b62e4e6f85 Merge branch 'feature/vfs_uart_set_line_ending' into 'master'
feature: support vfs uart set line endings with specified uart number

See merge request espressif/esp-idf!9112
2020-07-13 15:51:42 +08:00
sU8U7SfkcwTJVH7PjaVmej7D
6673407f98 httpd_resp_send: use HTTPD_RESP_USE_STRLEN when possible 2020-07-13 05:34:56 +00:00
Jiang Jiang Jian
92d4bb6ed0 Merge branch 'bugfix/wps_multiple_ap_creds' into 'master'
Fix handling of multiple AP credentials in WPS

Closes FCS-356

See merge request espressif/esp-idf!9137
2020-07-12 20:26:08 +08:00
lly
578f775fb9 ble_mesh: ci: Enable friend & low power in build check 2020-07-10 14:14:01 +08:00
houwenxiang
8e00522cd7 vfs: support vfs uart set line endings with specified uart number 2020-07-10 11:15:09 +08:00
lly
953810aa68 ble_mesh: example: Add result check during mesh init 2020-07-10 00:57:09 +00:00
Island
5d970c0e8c Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc' into 'master'
Feat/ble mesh use iram for mem alloc

See merge request espressif/esp-idf!9449
2020-07-09 23:06:27 +08:00
morris
648bcc7a87 ethernet: add ksz8041 in basic ethernet example 2020-07-09 21:49:07 +08:00
Nachiket Kukade
81f037a299 Fix handling of multiple AP credentials in WPS
WPS can send multiple AP credentials, while existing implementation
will only use the first credentials which could be for the 5G band.
Fix this by passing these credentials to the App and attempting
to connect using each of those. Older Apps will remain compatible
without breaking WPS, but the issue will remain.
2020-07-08 11:02:55 +00:00
weitianhua
11abaed398 Fix tsk watchdog when running spp vfs demo 2020-07-08 17:50:19 +08:00
Mahavir Jain
5341688c7e Merge branch 'feature/add_status_code_check' into 'master'
esp_https_ota: Add check for HTTP error codes

Closes IDFGH-3593

See merge request espressif/esp-idf!9486
2020-07-08 13:12:46 +08:00
Shubham Kulkarni
60fcf1bae6 Increase receive timeout in sdkconfig.ci to fix CI failures 2020-07-08 04:03:26 +00:00
Marius Vikhammer
55982fa146 Rewrite Bluedroid BT READMEs from .rst to .md 2020-07-08 10:39:33 +08:00
Marius Vikhammer
a80cff924b docs: fix broken links in example READMEs 2020-07-08 10:39:33 +08:00
lly
b10b2884a6 ble_mesh: ci: Add iram & psram configurations 2020-07-08 01:45:01 +00:00
Ivan Grokhotkov
ea75605aa7 Merge branch 'feature/scan_test_at_pre_check' into 'master'
ci: scan_tests at pre_check stage to determine build/artifact behavior for example_test and custom_test

Closes IDF-1376

See merge request espressif/esp-idf!8447
2020-07-07 23:43:03 +08:00
Ivan Grokhotkov
8cd1f99ace Merge branch 'refactor/common_rom_gpio_apis' into 'master'
esp_rom: extract common GPIO apis into esp_rom_gpio.h

See merge request espressif/esp-idf!9248
2020-07-07 17:28:39 +08:00
Ivan Grokhotkov
adf86bd95e Merge branch 'feature/console_repl_on_uart' into 'master'
console_repl: move UART specific configuration into single config structure

See merge request espressif/esp-idf!8964
2020-07-07 16:27:47 +08:00
morris
a4d0033c03 esp_rom: extract common GPIO apis into esp_rom_gpio.h 2020-07-07 11:40:19 +08:00
Ivan Grokhotkov
983220e216 ci: temporarily disable RS485 related tests 2020-07-06 20:12:43 +00:00
Fu Hanxi
2c2f66aa21 add supported target to ESP32-S2 Temperature Sensor Example 2020-07-06 19:05:44 +08:00
Ivan Grokhotkov
59f5e9af37 Merge branch 'bugfix/monitor_wait_reconnect' into 'master'
Fix IDF Monitor so it will wait for the device to reconnect

Closes IDF-1640

See merge request espressif/esp-idf!8632
2020-07-06 15:18:48 +08:00
morris
29f8aecfc0 console_repl: change config structure to support different devices 2020-07-02 07:39:46 +00:00
Island
a97a16202e Merge branch 'bugfix/ble_mesh_compile_error' into 'master'
bugfix: ble mesh proxy compile error

See merge request espressif/esp-idf!9334
2020-07-01 11:17:26 +08:00
Island
9e23affd65 Merge branch 'bugfix/ble_mesh_readme_fix' into 'master'
ble_mesh: example: Fix example README & tutorial link error

Closes BMCI-97 and IDFGH-3558

See merge request espressif/esp-idf!9379
2020-07-01 11:11:59 +08:00
Darian Leung
97721d469c TWAI: Add ESP32-S2 support
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:

- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-06-30 16:56:03 +08:00
lly
aa2a98899b ble_mesh: example: Fix example README & tutorial link error 2020-06-29 19:23:18 +08:00
Roland Dobai
b9eb7cb7f0 tools: Fix IDF Monitor so it will wait for the device to reconnect 2020-06-29 09:18:05 +02:00
lly
e4a115f0e2 ble_mesh: ci: Add different proxy configurations 2020-06-28 23:09:47 +00:00
Angus Gratton
002a13a71a ci provisioning: Add some experiments to check the runner's STA state
Not clear why sometimes it associates without negotiating a new DHCP lease.
2020-06-28 22:52:45 +00:00
Angus Gratton
2e8d607b21 legacy provisioning: Always try to reconnect when disconnected
Some APs may fail authentication temporarily if they have too many
associated stations, for example.
2020-06-28 22:52:45 +00:00
Angus Gratton
5bdecb3db2 esp_prov: Refactor to use new 'wait_wifi_connected' function
Means all provisioning examples will have the same retry behaviour.
2020-06-28 22:52:45 +00:00
Angus Gratton
e969a5e5ff ci provisioning: Use strings instead of "magic numbers" for connection state 2020-06-28 22:52:45 +00:00
Angus Gratton
05ef08b1d5 ci: Wait up to 60 seconds for client to connect to DUT in provisioning test 2020-06-28 22:52:45 +00:00
Ivan Grokhotkov
45fff86e05 Merge branch 'feature/usb_console_ig' into 'master'
add USB CDC as a console option

Closes IDF-1620

See merge request espressif/esp-idf!8459
2020-06-29 05:16:15 +08:00
Ivan Grokhotkov
3e7506ccda examples/console: error out if built with USB CDC enabled 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
b767e6191d examples/console: add check for CONFIG_ESP_CONSOLE_UART_NUM 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
9548aea3e4 examples: add console_usb example for USB CDC 2020-06-26 15:38:49 +02:00
Angus Gratton
40d7ea68af Merge branch 'bugfix/ci_softap_example_test' into 'master'
Set sleep time to allow wlan0 to connect to softap

See merge request espressif/esp-idf!9258
2020-06-25 09:06:55 +08:00
Shivani Tipnis
76232fd263 ci: Set sleep time to allow wlan0 to connect to softap 2020-06-24 23:07:46 +05:30
Ivan Grokhotkov
dafc6676ae examples/console: allow not registering sleep related commands 2020-06-24 15:50:51 +02:00
Ivan Grokhotkov
19c73192ba ble_mesh_coex_test: fix deprecated Kconfig option name 2020-06-24 15:50:51 +02:00
Angus Gratton
40f5ac4cd4 ci: Temporarily remove the esp_http_client httpbin redirect tests
Need to host httpbin ourselves or wait for
postmanlabs/httpbin/issues/617 to be resolved
2020-06-24 03:26:39 +00:00
Jiang Jiang Jian
2955342e9c Merge branch 'doc/add_UUID_description_in_gattc_demo' into 'master'
docs:add 128-bit UUID description

Closes BCI-202

See merge request espressif/esp-idf!9189
2020-06-23 22:01:58 +08:00
lly
a254c42173 ble_mesh: Move TAG definition to each example
Move the TAG definition of each example to the corresponding
source file (previously it is defined in the common example
intialization header file), which can avoid the redefinition
of TAG in some situations.
2020-06-20 05:34:30 +00:00
David Čermák
93aa9163c7 Merge branch 'bugfix/pppos_ignored_modem_start_return' into 'master'
pppos client: modem netif fix ignoring potential modem-start error

Closes IDFGH-3470

See merge request espressif/esp-idf!9244
2020-06-19 20:48:49 +08:00
Ivan Grokhotkov
cf155161c4 Merge branch 'feature/higher_level_com_gdb' into 'master'
CI: Use higher-level interaction with GDB in example tests and test apps

Closes IDF-1622

See merge request espressif/esp-idf!8840
2020-06-19 16:13:01 +08:00
David Cermak
8f0ec8bd50 pppos client: modem netif fix ignoring potential modem-start error
esp-modem netif glue layer implements esp-netif attach callback to setup corresponding driver functions and start the modem. The error code of esp_modem_start_ppp() was ignored and ESP_OK returned in all cases. Fixed by passing esp_modem_start_ppp()'s error code to post_attach callback.

Closes https://github.com/espressif/esp-idf/issues/5430
2020-06-18 16:20:50 +02:00
liminyang
8364bca3f4 docs:perfect 128-bit UUID description
The previous description is not easy for the reader to understand, some changees have been made to perfect it.
Closes https://github.com/espressif/esp-idf/issues/5057
2020-06-17 11:58:41 +08:00
Shubham Kulkarni
d36f5cf020 esp_http_client_example.c: Add fix to clear length of received data in case user_data buffer is passed 2020-06-16 20:48:40 +05:30
Shubham Kulkarni
1bbafb817d esp_http_client: Set user configurable authorization retries
Closes: https://github.com/espressif/esp-idf/issues/5407
2020-06-16 20:48:28 +05:30
Jiang Jiang Jian
8c7c3ff899 Merge branch 'bugfix/btdm_ESP_BT_GAP_DISCOVERY_STOPPED_evt_come_twice' into 'master'
Bugfix/fix event bug in GAP API

Closes BT-594 and BT-595

See merge request espressif/esp-idf!8808
2020-06-16 21:22:40 +08:00
liminyang
5bf8ff55d3 docs:add 128-bit UUID description
Gatt_client demo lacks description.When service and characteristic UUID is 128-bit, should change the order of UUID defined by macro in little-endian storage mode.
2020-06-16 20:36:33 +08:00
Krzysztof Budzynski
de9facf182 Merge branch 'bugfix/broken_links' into 'master'
docs: Fix broken links reported on https://esp32.com/

Closes DOC-236

See merge request espressif/esp-idf!9182
2020-06-16 19:13:25 +08:00
Jiang Jiang Jian
0a297dda58 Merge branch 'bugfix/att_buffer_count_fixed' into 'master'
fix acl att buffer count not auccrate

Closes BT-744

See merge request espressif/esp-idf!9071
2020-06-16 15:57:50 +08:00
Krzysztof
ae7ec27125 Resolve broken links reported on https://esp32.com/viewtopic.php?f=5&t=14148#p61449 by chegewara 2020-06-15 21:35:19 +02:00
wangcheng
e87a42f46c components/bt: Add api to query the number of available buffers for the current connection 2020-06-13 14:27:48 +08:00
Mahavir Jain
c533674120 simple_ota_example: add SPIRAM enabled configuration
This commit adds one example test case for OTA with SPIRAM
enabled configuration. Additionally it also keeps
`SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY` enabled to catch any issues
of sort "cache disabled but cached region accessed".

https://github.com/espressif/esp-idf/issues/5354
2020-06-12 05:45:02 +00:00
Mahavir Jain
d7e33d60fa Merge branch 'feature/httpd_low_level_apis' into 'master'
esp_http_server: Expose low level socket send/recv APIs

Closes IDFGH-1910

See merge request espressif/esp-idf!9084
2020-06-12 13:40:02 +08:00
Ivan Grokhotkov
625bd5eb18 Merge branch 'feature/reassign_example_test_runners' into 'master'
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC

See merge request espressif/esp-idf!9109
2020-06-11 14:22:05 +08:00
Fu Hanxi
bde4b1b350 ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC 2020-06-11 14:22:05 +08:00
Piyush Shah
627d8e7385 httpd_advanced_tests: Use the new low level APIs instead of calling an internal API 2020-06-11 01:56:47 +00:00
Elvis Dukaj
1463cd3550 ble_hid_device_demo: fix build if building with c++
Signed-off-by: Elvis Dukaj <elvis.dukaj@gmail.com>
Signed-off-by: liminyang <liminyang@example.com>

Merges https://github.com/espressif/esp-idf/pull/5191
2020-06-10 15:23:30 +08:00
Shubham Kulkarni
c287ca1363 example_test.py: Update OTA example tests to make it compatible with python3 2020-06-09 11:58:35 +00:00
Roland Dobai
493c852b73 CI: Use higher-level interaction with GDB in example tests and test apps 2020-06-05 14:58:34 +00:00
Jiang Jiang Jian
55b319e1ae Merge branch 'bugfix/authmode_degrade_fix' into 'master'
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold

Closes WIFI-2328

See merge request espressif/esp-idf!8708
2020-06-05 14:01:26 +08:00
Roland Dobai
1f05da9cfa Fix SNTP example test to match pattern 2020-06-04 13:46:47 +00:00
kapil.gupta
179292f9b3 esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of  WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-04 17:54:26 +05:30
David Čermák
d3588f53a7 Merge branch 'feature/pin_ethernet_task_to_core' into 'master'
ethernet: support pin emac task to core

Closes IDFGH-3383

See merge request espressif/esp-idf!8953
2020-06-03 22:26:03 +08:00
Angus Gratton
bea6590b07 Merge branch 'bugfix/app_trace_pins_for_esp32s2' into 'master'
example: update app_trace example

See merge request espressif/esp-idf!8343
2020-06-03 13:01:32 +08:00
Jiang Jiang Jian
c807e9f6af Merge branch 'bugfix/enable_esp32s2_wifi_example' into 'master'
esp_wifi: re-enable build wifi example

Closes WIFI-2384

See merge request espressif/esp-idf!8991
2020-06-02 17:38:22 +08:00
Chen Jian Xing
ebb2caa940 esp_wifi: re-enable build wifi example 2020-06-02 17:38:22 +08:00
Island
7c72a0b1f0 Merge branch 'bugfix/ble_mesh_example_nvs_store' into 'master'
Bugfix/ble mesh example nvs store

Closes BMCI-84

See merge request espressif/esp-idf!8972
2020-06-02 10:57:54 +08:00
Renz Bagaporo
e24c8eada3 examples: additional changes to app_trace example README for esp32s2 2020-06-01 17:04:12 +08:00
Renz Bagaporo
666ee00ebe examples: update app_trace pins for esp32s2 2020-06-01 17:04:12 +08:00
Renz Bagaporo
7c09cb1739 examples: update app_trace example relevant paths in README 2020-06-01 17:04:12 +08:00
David Čermák
738e9f76fd Merge branch 'bugfix/fix_esp_modem_mode_switch_timeout' into 'master'
fix esp_modem switch mode timeout

Closes FCS-412, IDFGH-2106, IDFGH-2170, and IDFGH-1201

See merge request espressif/esp-idf!8913
2020-06-01 15:12:32 +08:00
lly
55c5d2953d ble_mesh: Add nvs operations for examples
- Store onoff_client example proper mesh info
- Store vendor_client example proper mesh info

Closes https://github.com/espressif/esp-idf/issues/5359
2020-06-01 10:00:49 +08:00
lly
c5226f8286 ble_mesh: Add mesh example common nvs operations 2020-06-01 09:34:13 +08:00
morris
1184366387 ethernet: support pin emac task to core 2020-05-29 17:51:37 +08:00
lly
2190c2c368 ble_mesh: Define a macro for invalid company id 2020-05-29 09:40:19 +00:00
morris
0fcb447707 add pppos client restart in example
Closes https://github.com/espressif/esp-idf/issues/4268
2020-05-29 13:09:53 +08:00
morris
6d70b7c352 fix esp_modem switch mode timeout
Closes https://github.com/espressif/esp-idf/issues/3506
Closes https://github.com/espressif/esp-idf/issues/4324
2020-05-29 13:03:15 +08:00
David Čermák
e1ec6c86e6 Merge branch 'bugfix/icmp_echo_ci_ttl_fail' into 'master'
ICMP echo: example test were failing due to regex not matching TTL

See merge request espressif/esp-idf!8931
2020-05-28 13:31:30 +08:00
Jiang Jiang Jian
b1cb127e61 Merge branch 'bugfix/esp32s2_iperf_config_update' into 'master'
update esp32s2 iperf config

See merge request espressif/esp-idf!8461
2020-05-27 13:56:19 +08:00
Marius Vikhammer
26d59f0f4c ICMP echo: example test were failing due to regex not matching TTL 2020-05-27 11:16:18 +08:00
David Čermák
ea78d06939 Merge branch 'bugfix/example_common_connect_no_ip6' into 'master'
examples: common connect: fix build error if ipv6 disabled

See merge request espressif/esp-idf!8877
2020-05-25 17:23:52 +08:00
Michael (XIAO Xufeng)
b3587ff88c Merge branch 'bugfix/fix_i2s_comm_format_unclear_description_bug' into 'master'
Bugfix(I2S):  Fix i2s_comm_format_t configuration parameter does not match the TRM bug

Closes IDFGH-3040, IDFGH-2913, IDFGH-578, IDFGH-2408, and IDFGH-3117

See merge request espressif/esp-idf!8339
2020-05-25 15:00:10 +08:00
David Cermak
5c6bca69a5 examples: common connect: fix build error if ipv6 disabled
Declaration of local variable esp_ip6_addr_t ip6[]; was active even if IPV6 disabled in sdkconfig. Introduced in 06711c7c36
2020-05-22 08:45:59 +00:00
Mahavir Jain
6272cb842f Merge branch 'feature/esp_wroom32_se_example' into 'master'
Feature/esp wroom32 se example

See merge request espressif/esp-idf!8552
2020-05-21 19:51:19 +08:00
Aditya Patwardhan
423e600d46 secure_element: atecc608_ecdsa example
* Replaced crypotoauthlib with esp-cryptoauthlib
* Added menuconfig option for esp-tls about using HSM
* Added error codes for HSM in esp-tls,
* Added support to select different type of ATECC608A chips
* Added README, updated docs
* tcp_transport: Added option to enable secure_element for ssl

Closes https://github.com/espressif/esp-idf/issues/4432
2020-05-21 13:08:30 +05:30
Island
fbf2088fc8 Merge branch 'example/ble_mesh_structural_adjust' into 'master'
Example/ble mesh structural adjustment

Closes BLEMESH-200

See merge request espressif/esp-idf!8719
2020-05-21 15:11:23 +08:00
Anton Maklakov
e1262aa68e Merge branch 'bugfix/gh_action_pass_IDF_PATH_to_pylint' into 'master'
gh_action: fix python lint

Closes IDF-1538 and IDFGH-3341

See merge request espressif/esp-idf!8812
2020-05-21 10:15:35 +08:00
Bryan Hunt
4553f6c95d Add cryptoauthlib as a component with mbedtls integration
* Add options to mbedtls for hardware acceleration
* Disable mbedtls EC curves if hardware acceleration is selected
since the hardware will have to define the curves supported
* Add a hardware ecdsa example
2020-05-20 22:52:37 +05:30
liqigan
55f6a927b5 btdm:fix emit ESP_BT_GAP_DISC_STATE_CHANGED_EVT event when call API esp_bt_gap_start_discovery
closes BT-594

See merge request espressif/esp-idf!8808
2020-05-20 22:43:44 +08:00