Jiang Jiang Jian
8d54933e10
Merge branch 'mesh/bugfix_coexist_warning_4.1' into 'release/v4.1'
...
mesh: remove coexist warnings in ESP_WIFI_MESH (backport 4.1)
See merge request espressif/esp-idf!9414
2020-07-03 20:10:09 +08:00
Ivan Grokhotkov
b1e907ccf1
ci: consider sdkconfig.defaults.TARGET_NAME in examples and test apps
2020-07-03 09:45:03 +00:00
Ivan Grokhotkov
370aa39045
efuse: don't include esp_efuse_utility_debug_dump_blocks in bootloader
2020-07-03 09:45:03 +00:00
Ivan Grokhotkov
9b19b21073
ci: generate separate log files for each example config
...
Otherwise the build log gets overwritten, and warnings in earlier
builds may be masked.
2020-07-03 09:45:03 +00:00
Ivan Grokhotkov
88baff4cbb
ci: do fetch submodules in test_build_system_cmake_macos
...
Also install Python packages required by the CI scripts, and install
build tools (CMake, ninja).
2020-07-03 09:45:03 +00:00
Angus Gratton
4ea2935b1a
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-07-03 09:02:04 +00:00
Angus Gratton
a1cd7d0ef5
esp_prov: Extend the timeout for HTTP connection to SoftAP
2020-07-03 09:02:04 +00:00
Angus Gratton
113721f8fc
ci wifi_tools: Log the wpa_supplicant interface state when trying to connect
...
Trigger reconnection if wpa_supplicant seems to have dropped the connection.
2020-07-03 09:02:04 +00:00
Angus Gratton
5cc9ef901e
legacy provisioning: Always try to reconnect when disconnected
...
Some APs may fail authentication temporarily if they have too many
associated stations, for example.
2020-07-03 09:02:04 +00:00
Angus Gratton
ea8fae9ded
esp_prov: Refactor to use new 'wait_wifi_connected' function
...
Means all provisioning examples will have the same retry behaviour.
2020-07-03 09:02:04 +00:00
Angus Gratton
9d38b0ab9b
ci provisioning: Use strings instead of "magic numbers" for connection state
2020-07-03 09:02:04 +00:00
Angus Gratton
faaf08c441
ci: Wait up to 60 seconds for client to connect to DUT in provisioning test
2020-07-03 09:02:04 +00:00
zhangyanjiao
f9e22b627e
mesh: remove coexist warnings in ESP_WIFI_MESH
...
1. remove warning log when mesh is started:
Error! Should use default passive scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!
2. remove abort when mesh is started:
Error! Should enable WiFi modem sleep when both WiFi and Bluetooth are enabled!!!!!!
2020-07-03 14:54:20 +08:00
Jiang Jiang Jian
b6e2163e5e
Merge branch 'bugfix/beacon_security_downgrade_v4.1' into 'release/v4.1'
...
Avoid parsing RSN/WPA IE's after connection (Backport v4.1)
See merge request espressif/esp-idf!9284
2020-07-03 14:33:18 +08:00
Angus Gratton
40c9f0599c
mbedtls: Don't compile hardware MPI & SHA files if disabled in config
...
Fixes bug where hardware accelerated mbedtls_mpi API was always used, even when
disabled in config.
2020-07-03 10:37:15 +10:00
Nachiket Kukade
aceb46efc2
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-01 11:49:02 +00:00
ronghulin
15c8337424
bugfix: fix ICMP specify length issue
2020-06-30 10:53:48 +08:00
lly
bf35465658
ble_mesh: stack: Check model status with variable length
2020-06-30 09:31:27 +08:00
lly
289b8bcea7
ble_mesh: Remove boolean type definitions
2020-06-30 09:18:42 +08:00
Nikolaos Strikos
0d5eb50ce2
ble_mesh: Do not #define bool when compiling in C++
2020-06-30 09:18:42 +08:00
lly
353f893d95
ble_mesh: Fix wrong log output with bt_hex
...
- This issue was introduced in the commit: a788e7cd3d
which updated the bt_hex() function incorrectly.
- And in bt_hex(), we use 2 for the two-dimensional array, because currently
at most two bt_hex() will be used at the same time. Also this will save
some DRAM compared with using 4.
2020-06-30 09:16:29 +08:00
liminyang
a55bd7339c
docs:fix event typo
...
1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer.
2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event
Closes https://github.com/espressif/esp-idf/issues/5446
2020-06-29 20:56:08 +08:00
Mahavir Jain
56accfe4c4
spi_flash: esp32: fix regression in encrypted flash write
...
In commit 309376f51a
, it seems like regression
was added to use ROM level API for disabling flash write protection. This
started random firmware crashes (on specific modules) with exception
`IllegalInstruction` during encrypted flash writes.
Fix here removes relevant ROM API call, since disabling flash write protection
is already ensured by caller of this API.
Closes https://github.com/espressif/esp-idf/issues/5467
2020-06-29 14:51:58 +05:30
Angus Gratton
7ab2ffb45f
spi_flash: Use per-chip flash_ops files for legacy API
...
Looks like when ESP32-S2 Beta support was merged, the separate files
were dropped by accident.
2020-06-29 14:49:28 +05:30
Wang Jia Lin
6cbc7dc2cd
Merge branch 'bugfix/fix_adc_io_init_bug_for_idfv4.1' into 'release/v4.1'
...
driver(adc): fix adc io init bug for idfv4.1 (backport v4.1)
See merge request espressif/esp-idf!8714
2020-06-29 15:00:22 +08:00
fuzhibo
c711a048bb
driver(gpio): Solve gpio hold problems caused by code refactoring.
...
Closes https://github.com/espressif/esp-idf/issues/4600
2020-06-28 14:12:29 +00:00
Marius Vikhammer
5eb5b1148a
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-06-28 02:10:18 +00:00
Shubham Kulkarni
4b41f19a01
esp_http_server: Update LRU counter on accepting a new connection
...
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 19:24:49 +05:30
Ivan Grokhotkov
c735e7edf5
Merge branch 'bugfix/export_path_checks_v4.1' into 'release/v4.1'
...
tools: export.sh: better detection and checking of IDF_PATH (backport v4.1)
See merge request espressif/esp-idf!8747
2020-06-26 21:24:11 +08:00
Ivan Grokhotkov
f31a804c1e
Merge branch 'ci/http_client_remove_httpbin_redirect_v4.1' into 'release/v4.1'
...
ci: Temporarily remove the esp_http_client httpbin redirect tests (v4.1)
See merge request espressif/esp-idf!9341
2020-06-26 21:23:04 +08:00
Angus Gratton
d168611bbf
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-25 09:35:20 +00:00
Ivan Grokhotkov
b85f877817
tools: export.sh: fix compatibility with dash shell
...
* fix constructs invalid in dash
* clean shellcheck warnings and disable false positive ones
Closes https://github.com/espressif/esp-idf/issues/5366
2020-06-25 09:19:58 +00:00
Ivan Grokhotkov
6ae54e7fd2
tools: export.sh: better detection and checking of IDF_PATH
...
1. detect IDF_PATH in zsh, if it is not set
2. if IDF_PATH is set, check that it is valid
3. make sure IDF_PATH is exported, not just set
Related to https://github.com/espressif/esp-idf/issues/3793
Closes https://github.com/espressif/esp-idf/pull/4418
Closes https://github.com/espressif/esp-idf/issues/4770
Closes https://github.com/espressif/esp-idf/issues/5288
2020-06-25 09:19:58 +00:00
Roland Dobai
0ff9b0a812
Tools: Mention ESPPORT and ESPBAUD in idf.py --help
...
Closes https://github.com/espressif/esp-idf/issues/5461
2020-06-25 08:17:55 +02:00
David Cermak
a19fa857ad
static analysis: Apply current limits of known defects on v4.1
2020-06-25 05:45:16 +00:00
Angus Gratton
dd99fc77cb
Merge branch 'bugfix/python_lint_v4.1' into 'release/v4.1'
...
tools: fix python lint (4.1)
See merge request espressif/esp-idf!9294
2020-06-25 12:35:07 +08:00
morris
4daa605bd3
gh_action: fix python lint
2020-06-24 13:17:29 +08:00
Roland Dobai
43aafb0d86
tools/idf.py: Clean Python bytecode files
2020-06-22 10:24:12 +02:00
Aditya Patwardhan
6aba4efca0
esp_tls_wolfssl: fix incorrect error message after handshake fails
2020-06-18 13:58:07 +05:30
wangcheng
5cff7b1d55
components/bt:Fix instant reverse and add ble connect paramter check.
2020-06-18 15:52:34 +08:00
Elvis Dukaj
5925f6458a
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-18 15:44:25 +08:00
Jiang Jiang Jian
97f10f6509
Merge branch 'bugfix/wpa3_ble_coex_issue_v4.1' into 'release/v4.1'
...
Fix WPA3 Auth timeout during BLE coex (Backport 4.1)
See merge request espressif/esp-idf!9208
2020-06-18 14:44:38 +08:00
liminyang
be80b6f270
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-18 14:44:28 +08:00
Nachiket Kukade
ee70736a03
esp_wifi: Update wifi lib
...
1. Fix WPA3 Auth timeout during BLE coex by increasing CNX timeout
2. Extend Coex phase for SAE Handshake
3. Define and utilize WPA3 Mixed Authmode, update esp_wifi_types.h
2020-06-18 05:19:26 +00:00
Angus Gratton
9e55345c43
Merge branch 'bugfix/efuse_logs_v4.1' into 'release/v4.1'
...
esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization in startup code (v4.1)
See merge request espressif/esp-idf!9206
2020-06-18 07:11:42 +08:00
Jiang Jiang Jian
6b66850dc1
Merge branch 'bugfix/ble_conn_fail_v4.1' into 'release/v4.1'
...
Fix bugs from coex test v4.1
See merge request espressif/esp-idf!9136
2020-06-17 18:17:15 +08:00
KonstantinKondrashov
e0e391dce3
esp32s2: Move some code after the stdout initialization
2020-06-17 15:53:45 +08:00
KonstantinKondrashov
0a1919abff
esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization
...
After setting _GLOBAL_REENT, ESP_LOGIx can be used instead of ESP_EARLY_LOGx.
Closes: https://github.com/espressif/esp-idf/issues/5343
2020-06-17 15:53:45 +08:00
yuanjm
af82516cfb
feat(lwip): make LWIP TCP rto time configurable
2020-06-17 15:29:25 +08:00
Piyush Shah
6baa5f0d7b
protocomm_httpd: Restart security session if request is received on a new session
...
This commit fixes a bug as well as changes a behaviour.
Bugfix: During softap/httpd based provisioning, if a session was closed
midway and a new one started, it would never proceed if the http server
assigns same socket number to the new session (which happens almost always).
Now, if a session is closed, using the http callbacks, the older session
data is cleared so that a new one can be created.
Behavioural change: If a client (mobile app particularly) does not use
persistent http session i.e. all provisioning communication on the same
socket, the provisioning may fail. Earlier, since the session context was
not getting cleared, even if the client closed a session and continued
on a new one, it would go through if the socket number assigned was same
(which happens almost always).
Ideally, from a security perspective, all communication related
to secure provisioning must happen on the same socket, and so, this
change is required.
2020-06-17 05:34:11 +00:00