Ivan Grokhotkov
be7df8bce9
Merge branch 'feature/windows_installer_moved_to_github_backport_4.0' into 'release/v4.0'
...
tools: Windows Installer project moved to github.com/espressif/idf-installer - backport v4.0
See merge request espressif/esp-idf!15753
2021-11-03 08:51:48 +00:00
Anton Maklakov
838c4a7af6
Merge branch 'feature/ci_runner_failure_retries_v4.0' into 'release/v4.0'
...
ci: runner system failure retries (v4.0)
See merge request espressif/esp-idf!15728
2021-11-01 12:43:01 +00:00
Juraj Michalek
46866fcc6e
tools: remove dependency on Windows installer - backport
2021-11-01 10:34:15 +01:00
Anton Maklakov
aa6b080002
ci: Add retries on runner system failures
2021-10-29 13:58:04 +07:00
Jiang Jiang Jian
d698ec82b4
Merge branch 'bugfix/bt_x_component_key_check_v4.0' into 'release/v4.0'
...
BT: Check only for same X component of public key in BR/EDR. (4.0)
See merge request espressif/esp-idf!15593
2021-10-22 07:26:31 +00:00
Chinmay Chhajed
d174315edf
BT: Check only for same X component of public key in BR/EDR.
2021-10-21 14:40:04 +05:30
Jiang Jiang Jian
1d396f7868
Merge branch 'bugfix/proper_tx_acl_buf' into 'release/v4.0'
...
BT lib: Fixed TX PDU ACL flush update error.
See merge request espressif/esp-idf!15516
2021-10-18 10:01:06 +00:00
Jiang Jiang Jian
26f7754ca8
Merge branch 'bugfix/btdm_ble_data_length_update_fail_v4.0' into 'release/v4.0'
...
Fix data length update failed(release v4.0)
See merge request espressif/esp-idf!15505
2021-10-18 07:40:49 +00:00
Chinmay Chhajed
8a88e590fe
BT lib: Fixed TX PDU ACL flush update error.
2021-10-15 20:11:00 +08:00
Jiang Jiang Jian
c8e00a81dd
Merge branch 'revert-f9a5e259' into 'release/v4.0'
...
Revert "Merge branch 'bugfix/set_authmode_by_switching_number_to_string_v4.0' into 'release/v4.0'"
See merge request espressif/esp-idf!15522
2021-10-15 06:00:58 +00:00
Hu Chao Ru
2d7a09e6af
Revert "Merge branch 'bugfix/set_authmode_by_switching_number_to_string_v4.0' into 'release/v4.0'"
...
This reverts merge request !14703
2021-10-14 16:26:04 +08:00
xiewenxiang
4d52613795
component/bt: fix data length update failed
2021-10-13 19:53:54 +08:00
Jiang Jiang Jian
fd8fc39894
Merge branch 'feature/btdm_add_clear_white_list_API_v4.0' into 'release/v4.0'
...
component/bt: add clear white list API(backport v4.0)
See merge request espressif/esp-idf!15301
2021-10-13 04:08:34 +00:00
Jiang Jiang Jian
f9a5e259b5
Merge branch 'bugfix/set_authmode_by_switching_number_to_string_v4.0' into 'release/v4.0'
...
bugfix: set authmode by switching number to string (backport v4.0)
See merge request espressif/esp-idf!14703
2021-10-13 04:01:39 +00:00
Jiang Jiang Jian
b4becd673e
Merge branch 'bugfix/revert_force_to_restart_conn_timer_commit' into 'release/v4.0'
...
[Bluetooth]: Revert esp32-bt-lib and eliminate the fucntion to restart conn timer when rx buffers run out
See merge request espressif/esp-idf!15359
2021-10-13 03:59:46 +00:00
Mahavir Jain
bd6fadce2b
Merge branch 'fix/update_https_example_root_certificate_v4.0' into 'release/v4.0'
...
Updated the root certificate of https examples (v4.0)
See merge request espressif/esp-idf!15440
2021-10-11 04:24:03 +00:00
Mahavir Jain
8a07569319
Merge branch 'bugfix/http_client_eagain_v4.0' into 'release/v4.0'
...
esp_http_client: Fixed handling of EAGAIN return (backport v4.0)
See merge request espressif/esp-idf!15277
2021-10-11 04:23:51 +00:00
Mahavir Jain
0bc978a067
Merge branch 'feature/upgrade_nghttp2_component_v4.0' into 'release/v4.0'
...
nghttp2: upgrade to v1.41.0 release (v4.0)
See merge request espressif/esp-idf!15345
2021-10-11 04:23:20 +00:00
Harshit Malpani
097149d88d
Update example test for esp_http_client
2021-10-07 18:10:31 +05:30
Harshit Malpani
59a56e59ab
Updated the root certificate of https examples
2021-10-07 16:52:53 +05:30
Vikram Dattu
b0e119640d
Fixed broken http2_request example.
...
Implementation of `esp_tls_conn_new_sync` now uses timeout_ms value to
give up retries.
Specified this value to be 10 sec. (10 * 1000 ms).
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2021-09-28 18:11:50 +05:30
Yang Zhao
08508e607a
Update esp32 bt-lib
...
revert Force to restart conn timer when rx buffers run out.
2021-09-27 19:24:36 +08:00
Mahavir Jain
ce82d1b9fa
nghttp2: upgrade to v1.41.0 release
...
Detailed changelog:
https://github.com/nghttp2/nghttp2/releases/tag/v1.41.0
Closes: https://github.com/espressif/esp-idf/issues/4883
Closes IDFGH-2821
2021-09-24 17:48:03 +05:30
Jiang Jiang Jian
7c4f5fae80
Merge branch 'bugfix/stack_init_check_v4.0' into 'release/v4.0'
...
Nimble: Check stack status before executing stack command
See merge request espressif/esp-idf!14874
2021-09-23 07:56:47 +00:00
zhiweijian
ae06bdadaf
component/bt: add clear white list API
2021-09-22 16:20:10 +08:00
Vikram Dattu
f125b018c3
esp_http_client: Fixed handling of EAGAIN return
...
For https connection `ESP_TLS_ERR_SSL_WANT_READ` of esp_transport_read was getting treated as error.
Treated this as a timeout to fix connection abort issue!
Also handled http connection EAGAIN with `errno == EAGAIN` check.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2021-09-21 14:08:12 +05:30
Jiang Jiang Jian
a887f8df83
Merge branch 'bugfix/fix_airkiss_esptouch_find_channel_crash_issue_v4.0' into 'release/v4.0'
...
esp_wifi: fix airkiss and esptouch find channel crash issue(Backport V4.0)
See merge request espressif/esp-idf!15208
2021-09-18 06:27:33 +00:00
Michael (XIAO Xufeng)
10e14c7bf1
Merge branch 'feature/add_official_support_for_gd_v4.0' into 'release/v4.0'
...
spi_flash: move the unlock patch to bootloader and add support for GD (backport v4.0)
See merge request espressif/esp-idf!14913
2021-09-17 20:28:09 +00:00
Cao Sen Miao
4d2c8738c3
spi_flash: move the unlock patch to bootloader and add support for GD (backport v4.0)
2021-09-18 04:28:03 +08:00
muhaidong
c8b7ef1333
esp_wifi: fix airkiss and esptouch find channel crash issue
2021-09-15 19:56:59 +08:00
Jiang Jiang Jian
86f061fddc
Merge branch 'bugfix/wps_wfa_cert_fixes_v4.0' into 'release/v4.0'
...
wpa_supplicant: Add WPS strict in config option(backport v4.0)
See merge request espressif/esp-idf!14228
2021-09-15 10:55:57 +00:00
Jiang Jiang Jian
15f22b0563
Merge branch 'bugfix/fix_scan_failed_issue_v4.0' into 'release/v4.0'
...
Update bt-lib to fix the scan failed issue
See merge request espressif/esp-idf!15197
2021-09-15 08:43:32 +00:00
Jiang Jiang Jian
aa66520d0b
Merge branch 'bugfix/pmf_bcast_deauth_fix_v4.0' into 'release/v4.0'
...
Stop dropping bcast PMF deauths/disassocs with certain reason codes (Backport v4.0)
See merge request espressif/esp-idf!14803
2021-09-15 07:03:31 +00:00
Jiang Jiang Jian
72b1f29307
Merge branch 'bugfix/bt_spp_timer_collision_v4.0' into 'release/v4.0'
...
Fix timer collision in role switch(v4.0)
See merge request espressif/esp-idf!14821
2021-09-15 07:00:32 +00:00
Jiang Jiang Jian
cf4c28fbcb
Merge branch 'cherry-pick-e8360fe0' into 'release/v4.0'
...
wpa_supplicant: clean tls client state machine (backport v4.0)
See merge request espressif/esp-idf!15037
2021-09-15 06:41:57 +00:00
Kapil Gupta
bcfed14255
wpa_supplicant: clean tls client state machine (backport v4.0)
2021-09-15 14:41:49 +08:00
Yang Zhao
fe2982c195
Update bt-lib
...
1.Force to restart conn timer when rx buffers run out.
2.Fix the scan failed issue.
2021-09-14 20:03:03 +08:00
Cao Sen Miao
1f33d7830f
Merge branch 'bugfix/flash_encryption_v4.0.0' into 'release/v4.0'
...
ota: fix ota with flash encryption(backport v4.0)
See merge request espressif/esp-idf!14925
2021-09-14 09:42:57 +00:00
Cao Sen Miao
771a02da93
ota: fix ota with flash encryption
2021-09-14 12:40:56 +08:00
Cao Sen Miao
83dbaaaee8
flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322 , Related https://github.com/espressif/esp-idf/issues/6254
2021-09-13 14:46:00 +08:00
Michael (XIAO Xufeng)
0a8e7be7cc
Merge branch 'bugfix/modbus_add_task_affinity_and_callbacks_v40' into 'release/v4.0'
...
freemodbus: add task affinity and callbacks (backport v4.0)
See merge request espressif/esp-idf!14544
2021-09-10 18:54:21 +00:00
aleks
f26621fd9e
freemodbus: add affinity option for modbus stack tasks
2021-09-11 01:55:20 +08:00
Michael (XIAO Xufeng)
fb0c3e8016
Merge branch 'bugfix/fix_modbus_rs485_rts_en_fail_v40' into 'release/v4.0'
...
Bugfix/fix modbus rs485 rts en fail (backport v4.0)
See merge request espressif/esp-idf!14472
2021-09-10 17:43:56 +00:00
Alex Lisitsyn
a183b32972
Bugfix/fix modbus rs485 rts en fail (backport v4.0)
2021-09-11 01:43:49 +08:00
Michael (XIAO Xufeng)
f875a9e726
Merge branch 'bugfix/modbus_fix_invalid_error_handling_for_duplicate_param_key_v40' into 'release/v4.0'
...
freemodbus: fix invalid error handling for duplicate param key (backport v4.0)
See merge request espressif/esp-idf!14785
2021-09-09 18:00:38 +00:00
Michael (XIAO Xufeng)
39fd83885a
Merge branch 'bugfix/modbus_allow_master_slave_work_simultaneously_v40' into 'release/v4.0'
...
freemodbus: fix issues when modbus master and slave work simultaneously (backport v4.0)
See merge request espressif/esp-idf!14966
2021-09-09 17:58:16 +00:00
Alex Lisitsyn
83cc427577
freemodbus: fix issues when modbus master and slave work simultaneously (backport v4.0)
2021-09-10 01:58:11 +08:00
Roland Dobai
47ed58eb25
Merge branch 'feature/oocd_ver_upgrade_v4.0' into 'release/v4.0'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902' (v4.0)
See merge request espressif/esp-idf!15135
2021-09-09 07:39:32 +00:00
Alexey Gerenkov
f721f452ab
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902'
2021-09-08 21:23:50 +03:00
Rahul Tank
721fc03b9f
Nimble: Check stack status before executing stack command
...
Added change of checking stack status in the APIs exposed to user
2021-09-09 00:11:18 +08:00
Wang Meng Yang
f657430aec
Merge branch 'bugfix/controller_hci_uart_sdkconfig_v4.0' into 'release/v4.0'
...
controller_hci_uart: fixed the sdkconfig.defaults in the example(backport v4.0)
See merge request espressif/esp-idf!14809
2021-09-08 06:05:08 +00:00
Wang Meng Yang
416e92e5e3
Merge branch 'bugfix/ble_set_scan_param_error_v4.0' into 'release/v4.0'
...
Fix the bug when ble setting scan param
See merge request espressif/esp-idf!13979
2021-09-08 02:00:57 +00:00
Wang Meng Yang
1cb40eae67
Merge branch 'bugfix/hf_disc_acl_no_disc_v4.0' into 'release/v4.0'
...
bugfix/acl can't disconnect when hfp_client disconnect [release/v4.0]
See merge request espressif/esp-idf!15059
2021-09-07 10:13:22 +00:00
Mahavir Jain
ebbad183d1
Merge branch 'feature/update_expat_v4.0' into 'release/v4.0'
...
expat: Update library from 2.2.9 to 2.4.1(backport v4.0)
See merge request espressif/esp-idf!15070
2021-09-07 03:35:51 +00:00
Mahavir Jain
6097f78ea7
Merge branch 'feature/update_cjson_submodule_v4.0' into 'release/v4.0'
...
cJSON: Update submodule to v1.7.15 (v4.0)
See merge request espressif/esp-idf!15077
2021-09-06 06:38:10 +00:00
yuanjm
22c1618dd9
expat: Update library from 2.2.9 to 2.4.1
2021-09-06 12:04:28 +08:00
jincheng
55ca8774ba
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-09-06 10:30:02 +08:00
Shubham Kulkarni
cd0f22c258
cJSON: Update submodule to latest release.
...
This update fixes NULL pointer dereference issues in previous release
Closes https://github.com/espressif/esp-idf/issues/7317
2021-09-06 07:45:21 +05:30
Michael (XIAO Xufeng)
2b077cedb1
Merge branch 'bugfix/mcpwm-deadtime-preset-config-backport_v4.0' into 'release/v4.0'
...
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition (backport v4.0)
See merge request espressif/esp-idf!14625
2021-09-03 04:46:28 +00:00
Li Hang Fan
f68e0e0ef4
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition
...
Closes https://github.com/espressif/esp-idf/issues/7321
2021-09-03 12:46:19 +08:00
jincheng
ed4b55fee7
fix acl can not disconnect when hf_client disconnect
2021-09-03 11:01:33 +08:00
Wang Meng Yang
f5b9cf028b
Merge branch 'bugfix/btdm_fix_some_Document_Description_Error_v4.0' into 'release/v4.0'
...
component/bt: fix some ble document description error(backport v4.0)
See merge request espressif/esp-idf!14826
2021-09-03 01:40:46 +00:00
David Čermák
150594f3a9
Merge branch 'Bugfix/pppos_coonection_lost_v4.0' into 'release/v4.0'
...
Bugfix/PPPOS fix stack smashing, modify get operator and add access technology(backport v4.0)
See merge request espressif/esp-idf!14032
2021-09-01 14:25:45 +00:00
XieWenxiang
6253befcbc
component/bt: fix some ble document description error
2021-09-01 20:48:00 +08:00
David Čermák
01b79d0df4
Merge branch 'Bugfix/pppos_coonection_lost' into 'master'
...
Bugfix/PPPOS fix stack smashing, modify get operator and add access technology
Closes IDFGH-2262 and IDFGH-3844
See merge request espressif/esp-idf!11557
(cherry picked from commit 5d92cdc5d9 )
d59ffd91 Expose get operator name command. Add get access tech
935edc9e rename dce parameter
7f3bcc13 esp-modem: prefix the crash issue both bg96 and sim800l in OVERALL mode
2021-09-01 18:33:36 +08:00
aditi_lonkar
4f7bab1c2b
wpa_supplicant: Add WPS strict in config option
...
WPS strict disables workarounds with different APs and may cause
IOT issues. Remove this as default and introduce as a config option.
Also declare esp device as single band mobile device otherwise
WFA sniffer was not able to identify it in the certification setup.
2021-08-25 21:42:17 +08:00
Nachiket Kukade
05cceabf15
esp_wifi: Update wifi lib
...
1. Stop dropping bcast PMF deauths/disassocs with certain reason codes
2. Fix MIC comparison logic in BIP check
2021-08-25 14:55:01 +08:00
Ivan Grokhotkov
d64bf0dfbe
Merge branch 'bugfix/xmc_overerase_v4.0' into 'release/v4.0'
...
bootloader: add xmc spi_flash startup flow to improve reliability (v4.0)
See merge request espressif/esp-idf!14779
2021-08-25 03:40:44 +00:00
Wang Meng Yang
91ba111dba
Merge branch 'bugfix/fix_a2dp_sink_blocked_v4.0' into 'release/v4.0'
...
Bugfix/Fix a2dp Sink Blocked Bugs[backport v4.0]
See merge request espressif/esp-idf!14014
2021-08-23 05:17:08 +00:00
Wang Meng Yang
fa3ff3afac
Merge branch 'component_bt/add_spp_faq_v4.0' into 'release/v4.0'
...
Component_bt/Add FAQ in SPP Demo README[backport v4.0]
See merge request espressif/esp-idf!14799
2021-08-23 05:16:26 +00:00
Jiang Jiang Jian
1bcad13691
Merge branch 'bugfix/spp_memory_leak_v4.0' into 'release/v4.0'
...
Fix spp memory leak(v4.0)
See merge request espressif/esp-idf!14865
2021-08-20 02:51:04 +00:00
Michael (XIAO Xufeng)
606955382e
spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command
...
The user register, especially dummy related ones, needs to be restored, otherwise the ROM function will not work.
Introduced in dd40123129
2021-08-19 22:10:18 +08:00
Michael (XIAO Xufeng)
1c69e063d2
bootloader: add xmc spi_flash startup flow to improve reliability
2021-08-19 16:41:08 +08:00
xiongweichao
640cc93b03
components/bt: fix spp memory leak
...
Closes https://github.com/espressif/esp-idf/issues/7238
2021-08-19 14:44:48 +08:00
huchaoru
b76e97be1c
bugfix: set authmode by switching number to string (backport v4.0)
2021-08-19 11:35:44 +08:00
Island
f076d9bb85
Merge branch 'bugfix/ble_mesh_cve_recommendation_v4.0' into 'release/v4.0'
...
ble_mesh: Update the SIG recommendations for CVE issues (v4.0)
See merge request espressif/esp-idf!14844
2021-08-18 12:42:08 +00:00
Zim Kalinowski
5fd93f27cc
Merge branch 'bugfix/remove_bt_get_mac_v4.0' into 'release/v4.0'
...
bt: Remove unused function esp_bt_get_mac. (v4.0)
See merge request espressif/esp-idf!14837
2021-08-18 05:04:29 +00:00
lly
780db9b7bf
ble_mesh: Update the SIG recommendations for CVE issues
2021-08-18 11:00:22 +08:00
Chinmay Chhajed
77e8e0e362
bt: Remove unused function esp_bt_get_mac.
2021-08-17 18:57:01 +05:30
liqigan
95f2edde07
add FAQ in SPP demo README
2021-08-17 15:20:53 +08:00
Zim Kalinowski
66fb27c0e8
Merge branch 'bugfix/add_critical_section_in_uart_driver_v4.0' into 'release/v4.0'
...
UART: add missing critical section wrappers around rx_buffered_len (backport v4.0)
See merge request espressif/esp-idf!14778
2021-08-16 09:32:22 +00:00
Omar Chebib
abd6ea3087
uart: Add missing critical section wrappers around rx_buffered_len
...
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.
Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com >
Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-08-16 17:32:14 +08:00
wangmengyang
2d431023ee
controller_hci_uart: fixed the sdkconfig.defaults in the example
2021-08-16 17:23:58 +08:00
aleks
efa0aeb831
freemodbus: fix invalid error handling for duplicate param_key
2021-08-13 10:06:59 +02:00
Roland Dobai
33a2927dab
Merge branch 'feature/oocd_ver_upgrade_v4.0' into 'release/v4.0'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721' (v4.0)
See merge request espressif/esp-idf!14696
2021-08-10 14:16:10 +00:00
Zim Kalinowski
eeb4dd74c6
Merge branch 'feature/skip_known_failure_cases_v4.0' into 'release/v4.0'
...
CI: Ignore Known Failure Cases Result (v4.0)
See merge request espressif/esp-idf!14651
2021-08-10 02:29:53 +00:00
Fu Hanxi
367aae5069
feat(tiny_test_fw): ignore known failure cases result
...
py
2021-08-10 10:29:48 +08:00
Alexey Gerenkov
080bc2080c
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721'
2021-08-06 21:40:52 +03:00
Zim Kalinowski
1373a3665d
Merge branch 'bugfix/freertos_ut_suspend_v4.0' into 'release/v4.0'
...
freertos: Increases delta for UT - Test suspend-resume CPU. The number of... (v4.0)
See merge request espressif/esp-idf!14633
2021-08-05 05:12:52 +00:00
KonstantinKondrashov
bac5767666
freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs
2021-08-03 15:56:15 +05:00
Zim Kalinowski
de4c735e38
Merge branch 'bugfix/uart_sw_sw_flow_error_typo_v4.0' into 'release/v4.0'
...
uart: fix typo in error message (v4.0)
See merge request espressif/esp-idf!14616
2021-08-03 02:31:51 +00:00
Marius Vikhammer
3b708987f0
uart: fix typo in error message
...
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:30:31 +08:00
Yuan Jian Min
40cf3c5e99
Merge branch 'bugfix/fix_truncated_headers_for_esp_http_client_v4.0' into 'release/v4.0'
...
esp_http_client: Fix header truncated when responded header length over buffer_size (backport v4.0)
See merge request espressif/esp-idf!14386
2021-07-30 12:35:05 +00:00
Anton Maklakov
0f304fe08d
Merge branch 'bugfix/ttfw_fix_flush_index_error_v4.0' into 'release/v4.0'
...
test: TTFW fix flush index error (v4.0)
See merge request espressif/esp-idf!14263
2021-07-30 06:36:59 +00:00
David Čermák
a790508e17
Merge branch 'bugfix/fix_eth2ap_example_crash_v4.0' into 'release/v4.0'
...
eth2ap: Fix eth2ap example crash issue (backport v4.0)
See merge request espressif/esp-idf!14559
2021-07-30 05:13:26 +00:00
yuanjm
f512899388
esp_http_client: Optimize code structure
2021-07-29 16:39:08 +08:00
Clickau
e662ecb957
esp_http_client: fix truncated headers
...
Signed-off-by: yuanjm <yuanjianmin@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/6370
2021-07-29 16:39:08 +08:00
Mahavir Jain
0ff2e22674
Merge branch 'bugfix/ci_ble_wifi_example_test_v4.0' into 'release/v4.0'
...
Fix for ble and wifi example test (v4.0)
See merge request espressif/esp-idf!13882
2021-07-29 04:18:05 +00:00
yuanjm
51cf1c0d34
eth2ap: Fix eth2ap example crash issue
...
Closes https://github.com/espressif/esp-idf/issues/7260
2021-07-29 10:49:19 +08:00
Shivani Tipnis
9b5595983b
ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests
...
(cherry picked from commit 2d223744 )
2021-07-28 17:33:09 +05:30
Zim Kalinowski
c352ef24a4
Merge branch 'fix/memory_leaks_identified_by_cppcheck_v4.0' into 'release/v4.0'
...
Fix/memory leaks identified by cppcheck (v4.0)
See merge request espressif/esp-idf!14504
2021-07-26 06:37:43 +00:00
Aditya Patwardhan
269d40c0db
Fix memory leak on error path in register_select
...
And remove dead error handling code from unregister_select.
Closes https://github.com/espressif/esp-idf/pull/7296
2021-07-26 14:37:36 +08:00
Island
c128769170
Merge branch 'feat/ble_mesh_make_unprov_beacon_interval_configurable_v4.0' into 'release/v4.0'
...
Feat/ble mesh make unprov beacon interval configurable (v4.0)
See merge request espressif/esp-idf!14064
2021-07-23 06:30:54 +00:00
Roland Dobai
4235c8c990
Merge branch 'ci/rename_test_log_path_v4.0' into 'release/v4.0'
...
CI: rename log path of IT jobs (v4.0)
See merge request espressif/esp-idf!14455
2021-07-22 13:56:38 +00:00
Zim Kalinowski
ec77ce6962
Merge branch 'bugfix/esp_event_any_id_unregister_4.0' into 'release/v4.0'
...
ESP Event: fix unregister documentation (backport 4.0)
See merge request espressif/esp-idf!14433
2021-07-22 06:59:52 +00:00
wangjialiang
bbaf8c5277
ble_mesh: stack: Fix crash for net_key_del when subnet is NULL
2021-07-22 11:40:22 +08:00
wangjialiang
d6b0a84b5d
ble_mesh: stack: Make unprovisioned beacon interval configurable.
...
Closes https://github.com/espressif/esp-idf/issues/6722
2021-07-22 11:40:22 +08:00
Zim Kalinowski
fa089df662
Merge branch 'docs/fix_readme_links_v4.0' into 'release/v4.0'
...
docs: fixed dead readme links (v4.0)
See merge request espressif/esp-idf!14467
2021-07-22 02:43:47 +00:00
Mahavir Jain
172bc4b5bb
Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'
...
mbedtls: upgrade to release v2.16.11 (v4.0)
See merge request espressif/esp-idf!14440
2021-07-21 09:44:42 +00:00
David Čermák
8a69fa793e
Merge branch 'feature/mqtt_intro_new_modes_v4.0' into 'release/v4.0'
...
MQTT: Update submodule reference to support new config modes (v4.0)
See merge request espressif/esp-idf!13710
2021-07-21 09:36:56 +00:00
Marius Vikhammer
2de05e006d
docs: fixed dead readme link
2021-07-21 17:36:37 +08:00
He Yin Ling
8df884841e
Merge branch 'bugfix/enable_pmf_in_iperf_test_v4.0' into 'release/v4.0'
...
iperf example: set PMF capable to connect to PMF required APs (v4.0)
See merge request espressif/esp-idf!13872
2021-07-21 07:54:34 +00:00
He Yin Ling
756beb0e7a
Merge branch 'test/merge_ble_mesh_node_and_provioner_in_console_v4.0' into 'release/v4.0'
...
Test:merge ble mesh node and provioner in console(backport v4.0)
See merge request espressif/esp-idf!9911
2021-07-21 07:35:45 +00:00
Zim Kalinowski
bfd99d8241
Merge branch 'feature/idf_tools_darwin_arm64_v4.0' into 'release/v4.0'
...
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64 (v4.0)
See merge request espressif/esp-idf!14074
2021-07-21 07:30:48 +00:00
Zim Kalinowski
ba059149aa
Merge branch 'bugfix/a2dp_deint_crash_v4.0' into 'release/v4.0'
...
component_bt: fix a2dp deinit crash(v4.0)
See merge request espressif/esp-idf!14419
2021-07-21 05:32:36 +00:00
He Yin Ling
a419e0c18c
CI: rename log path of IT jobs
2021-07-21 10:31:55 +08:00
Mahavir Jain
7c773cd74c
mbedtls: upgrade to release v2.16.11
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-20 14:41:10 +05:30
Jakob Hasse
1bab0dd8ca
[esp_event]: fixed and improved docs
...
* Description of unregistering was incorrect
* Made clear that event loop arg mustn't be NULL
* Added parameter check in create function
Closes https://github.com/espressif/esp-idf/issues/6761
Closes IDFGH-4969
2021-07-20 16:05:35 +08:00
Jiang Jiang Jian
fa6886f898
Merge branch 'bugfix/SCO_connect_fail_after_peer_not_accept_sniff_v4.0' into 'release/v4.0'
...
bugfix/unable to initiate SCO connection when peer device not accept sniff mode (v4.0)
See merge request espressif/esp-idf!14402
2021-07-20 04:14:30 +00:00
xiongweichao
573b660797
Not initialized or in the process of de-initialization, calling API will return ERR
2021-07-19 20:22:22 +08:00
xiongweichao
d7fb0c1f07
fix a2dp deinit crash
2021-07-19 20:22:14 +08:00
Zim Kalinowski
3d5fdbfa1d
Merge branch 'bugfix/newlib_FD_ISSET_v4.0' into 'release/v4.0'
...
newlib: Fix a case in FD_ISSET macro when n==-1 (v4.0)
See merge request espressif/esp-idf!13693
2021-07-19 09:45:25 +00:00
KonstantinKondrashov
c8e6563e48
newlib: Fix a case in FD_ISSET macro when n==-1
2021-07-19 12:39:58 +08:00
Zim Kalinowski
7cfe37f907
Merge branch 'bugfix/prefetch_invalid_v4.0' into 'release/v4.0'
...
soc: add dummy bytes to ensure instr prefetch always valid (v4.0)
See merge request espressif/esp-idf!12996
2021-07-19 01:41:26 +00:00
Zim Kalinowski
f3e40d21bb
Merge branch 'feature/dis_uart_dl_mode_v4.0' into 'release/v4.0'
...
feature: Disable UART download mode (v4.0)
See merge request espressif/esp-idf!10766
2021-07-19 01:35:03 +00:00
xiongweichao
d21da1f61a
Add remove sniff when peer not accepted sniff mode
2021-07-16 20:21:50 +08:00
Yang Zhao
75b387d7e7
If the scan window set as 4 slots and the scan interval set as 5 slots,
...
then the device will crash when starting scanning.This commit is to fix
this bug.Remove duplicate events in r_lld_evt_end
2021-07-16 20:14:32 +08:00
Yang Zhao
5abd645cce
bugfix:Set address resolution enable. If not set enable and the filter
...
policy is 2 or 3, the controller will reply with invalid param error.
2021-07-16 20:11:53 +08:00
Chinmay Chhajed
27e5498524
bt/controller: Fix for BLE ACL tx flush issue during reset.
2021-07-16 20:06:17 +08:00
Anton Maklakov
0f7d8a8768
Merge branch 'bugfix/update_ota_cert_v4.0' into 'release/v4.0'
...
OTA examples: Update server certificate (v4.0)
See merge request espressif/esp-idf!14357
2021-07-16 07:14:50 +00:00
Zim Kalinowski
308bbd1e89
Merge branch 'bugfix/link_gcov_rtio_backport_v4.0' into 'release/v4.0'
...
Bugfix/link gcov rtio backport v4.0
See merge request espressif/esp-idf!13847
2021-07-16 06:11:32 +00:00
Zim Kalinowski
02e9ca69bc
Merge branch 'docs/spi_max_transfer_sz_limit_v4.0' into 'release/v4.0'
...
spi_docs: Fixed the default value of max_transfer_sz_limit (backport v4.0)
See merge request espressif/esp-idf!14255
2021-07-16 06:09:34 +00:00
Zim Kalinowski
d8c011428e
Merge branch 'nimble/fix_broadcaster_role_v4.0' into 'release/v4.0'
...
NimBLE: Fix build error for broadcaster role and bug in peer_dev_record (v4.0)
See merge request espressif/esp-idf!14304
2021-07-16 06:07:58 +00:00
Zim Kalinowski
51b70d6237
Merge branch 'bugfix/websocket_example_error_handling_v4.0' into 'release/v4.0'
...
ci: Fix websocket example test error handling (v4.0)
See merge request espressif/esp-idf!13808
2021-07-16 03:37:21 +00:00
Angus Gratton
d9710a6498
flash encryption: In Release mode, set FLASH_CRYPT_CNT to max value
...
Compared to write disabling, this leaves possibility to burn
UART_DL_DIS efuse later.
2021-07-16 10:59:51 +10:00
Angus Gratton
5a4091a2c0
efuse: Add ESP32 V3 'disable Download Mode' functionality
2021-07-16 10:59:51 +10:00
Angus Gratton
363589e849
efuse: Add new esp_efuse_read_field_bit() convenience function
2021-07-16 10:59:51 +10:00
Angus Gratton
9ca02bd8ac
efuse: Add new esp_efuse_write_field_bit() convenience function
2021-07-16 10:59:51 +10:00
Angus Gratton
814ff17256
efuse: Don't need to burn WR_CRYPT_CNT if CRYPT_CNT is already max
...
Reduces write cycles, and useful on ESP32 ECO3 as UART_DIS_DL is protected by
the same efuse.
Also fixes accidental macro definition introduced in 7635dce502
2021-07-16 10:59:51 +10:00
Angus Gratton
12704ae528
Merge branch 'origin/feature/prevent_unwind_code_linking_4.0' into 'release/v4.0'
...
[C++]: prevent unwind code linking (backport 4.0)
See merge request espressif/esp-idf!13806
2021-07-15 11:44:19 +00:00
Ivan Grokhotkov
c775e4e1b5
Merge branch 'test/wifi_connect_with_full_scan_in_examples_v4.0' into 'release/v4.0'
...
example: set example wifi scan method to all channel (v4.0)
See merge request espressif/esp-idf!13915
2021-07-14 23:58:09 +00:00
Angus Gratton
2b7f4ec8e6
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj_v4.0' into 'release/v4.0'
...
ldgen: check mappings (v4.0)
See merge request espressif/esp-idf!14065
2021-07-14 08:46:34 +00:00
Shubham Kulkarni
ff0043456d
OTA examples: Updated server certificate
2021-07-14 12:50:37 +05:30
He Yin Ling
27db9f7e4e
ttfw: fix incorrect length when flush data cache after expect:
...
data cache is unicode. while we use bytes in RegEx expect. The index of
matched pattern is calculated with bytes, could be different from
unicode. Now we fix this issue by using unicode in expect.
2021-07-14 11:58:34 +08:00
Ivan Grokhotkov
68d417c4dc
esp_ringbuf: don't test xRingbufferCreate with cache disabled
...
Creating a ringbuffer is not an operation that needs to be done when
the cache is disabled.
2021-07-13 18:52:53 +10:00
Renz Bagaporo
8de50b5655
components: fix ldgen check errors
2021-07-13 18:52:40 +10:00
Renz Bagaporo
74eb5590b2
ci: exempt upstream libmbedtls mapping for sha256
2021-07-13 18:52:40 +10:00
Renz Bagaporo
bd6caa524c
ldgen: fix sections info parsing
...
Fixes an issure where the first part of an object file name is not
included, due to matching the rule for a section entry previously.
Reduce depedency on matching literal strings in sections which might
change depending on toolchain (ex. matching 'elf32-xtensa-le')
Make sure parsing rule succeeds for the entirety of the sections info
string by adding 'parseAll=True'.
Add test for sections info parsing.
2021-07-13 18:52:40 +10:00
Renz Bagaporo
e27315e63d
ci: enabled ldgen mapping check in ci
2021-07-13 18:52:40 +10:00
Renz Bagaporo
04f6830b09
ldgen: allow checking mappings
2021-07-13 18:52:40 +10:00
Prasad Alatkar
817de5bee1
NimBLE: Fix build error for broadcaster role and bug in peer_dev_record (v4.0)
...
* Fix bug in nvs deletion of `ble_dev_record`.
* Update NimBLE submodule to nimble-1.1.0-idf
2021-07-13 13:56:03 +08:00
Angus Gratton
fa7126b628
Merge branch 'feature/idf_tools_github_mirror_v4.0' into 'release/v4.0'
...
Add GitHub mirror option for IDF tools installs (v4.0)
See merge request espressif/esp-idf!13767
2021-07-13 03:52:29 +00:00
Mahavir Jain
190ef37994
Merge branch 'bugfix/pthread_join_debug_log_v4.0' into 'release/v4.0'
...
pthread: Fix possible deadlock when using pthread_join() and Debug log level (v4.0)
See merge request espressif/esp-idf!13779
2021-07-12 11:23:21 +00:00
Angus Gratton
2f24b37d3c
Merge branch 'bugfix/driver_spi_poll_test_stack_v4.0' into 'release/v4.0'
...
driver test: Increase stack for the "spi poll tasks" test (v4.0)
See merge request espressif/esp-idf!13809
2021-07-12 01:26:40 +00:00
Angus Gratton
2f1feb8ea1
driver test: Increase stack for the "spi poll tasks" test
...
Current stack usage gets very close to overflowing
2021-07-12 08:46:04 +08:00
luchangjie
c1e5584cd8
backport_test/merge_ble_mesh_node_and_provioner_in_console_4.0
2021-07-09 17:17:31 +08:00
Zim Kalinowski
eec2482ecf
Merge branch 'feature/regi2c_add_lock_v4.0' into 'release/v4.0'
...
regi2c: add a spinlock for accessing (reg)I2C devices (v4.0)
See merge request espressif/esp-idf!13716
2021-07-09 07:33:19 +00:00
Angus Gratton
80f5b1cee1
Merge branch 'bugfix/cmake_export_ver_during_reqs_expansion_v4.0' into 'release/v4.0'
...
cmake: set IDF_VERSION_* variables at requirement expansion stage (v4.0)
See merge request espressif/esp-idf!14046
2021-07-06 07:52:03 +00:00
daiziyan
1904d60641
add CN translation for index.rst in get started section for MR10616
2021-07-06 09:30:05 +10:00
Anton Maklakov
4bddbb2ddf
tools: windows installer: Modify IDF's archive mirror link
2021-07-06 09:30:05 +10:00
Angus Gratton
a480803469
tools: Use GitHub download URLs for all files that can be downloaded from GitHub
2021-07-06 09:30:05 +10:00
Angus Gratton
c41d706134
idf_tools: Add option to replace all GitHub tools download URLs with dl.espressif.com
...
Via new IDF_GITHUB_ASSETS environment variable.
2021-07-06 09:28:07 +10:00
Michael (XIAO Xufeng)
84b149fcc5
spi_docs: Fixed the default value of max_transfer_sz.
...
(cherry picked from commit e89fabb963 )
2021-07-05 14:20:34 +08:00
Michael (XIAO Xufeng)
911f432e82
Merge branch 'bugfix/spi_flash_cs_setup_v4.0' into 'release/v4.0'
...
spi_flash: fix cs line setup to make the flash driver more stable (v4.0)
See merge request espressif/esp-idf!13894
2021-07-03 06:05:02 +00:00
Michael (XIAO Xufeng)
8fc6c7d404
Merge branch 'bugfix/freemodbus_change_max_task_prio_v40' into 'release/v4.0'
...
Bugfix/freemodbus change max task prio (backport v4.0)
See merge request espressif/esp-idf!13720
2021-07-03 05:59:57 +00:00
He Yin Ling
c43bc330e1
Merge branch 'bugfix/example_test_socket_issue_4.0' into 'release/v4.0'
...
CI: example test socket issue (4.0)
See merge request espressif/esp-idf!13907
2021-07-02 13:08:11 +00:00
Wang Meng Yang
4a181c7872
Merge branch 'bugfix/invalid_feat_page_exec_v4.0' into 'release/v4.0'
...
bt controller: Fixed handling for invalid feature page. (v4.0)
See merge request espressif/esp-idf!13574
2021-07-02 13:01:33 +00:00
David Čermák
d7967133c8
Merge branch 'bugfix/start_emac_after_phy_reset_v4.0' into 'release/v4.0'
...
esp_eth: restart negotiation in esp_eth_start (v4.0)
See merge request espressif/esp-idf!13704
2021-07-02 12:51:13 +00:00
Ivan Grokhotkov
9a7de332f4
Merge branch 'bugfix/override_cmake_python_v4.0' into 'release/v4.0'
...
cmake: Minor Python CMake build fixes (v4.0)
See merge request espressif/esp-idf!13197
2021-07-02 12:32:46 +00:00
Ivan Grokhotkov
0f47e6b189
Merge branch 'feature/portmux_debug_bump_timeout_v4.0' into 'release/v4.0'
...
bugfix/freertos: increase portmux timeouts to avoid crashing when using debug feature (v4.0)
See merge request espressif/esp-idf!13750
2021-07-02 12:31:51 +00:00
Ivan Grokhotkov
714f1be6cc
Merge branch 'bugfix/make_docs_ldgen_v4.0' into 'release/v4.0'
...
docs: remove quotes in ldgen documentation for adding fragment file (v4.0)
See merge request espressif/esp-idf!14003
2021-07-02 12:29:21 +00:00
Ivan Grokhotkov
7a9ee2c8ac
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64
...
Until arm64 tool binaries are available, we can run existing x86_64
ones under emulation.
Suggested in https://github.com/espressif/esp-idf/issues/6113 .
2021-07-02 14:22:18 +02:00
Ivan Grokhotkov
69f43e4668
Merge branch 'bugfix/idf_tools_not_found_issue_v4.0' into 'release/v4.0'
...
tools: Catch OSError which is raised when the tool is not available (v4.0)
See merge request espressif/esp-idf!14136
2021-07-02 12:18:41 +00:00
Mahavir Jain
7b994feb13
Merge branch 'bugfix/http_client_test_memcorupt_v4.0' into 'release/v4.0'
...
ci/test: Fix esp_http_client test not to use pointer after free (v4.0)
See merge request espressif/esp-idf!13703
2021-07-02 12:17:59 +00:00
Wang Meng Yang
06ee358a09
Merge branch 'bugfix/fix_data_length_callback_param_err_v4.0' into 'release/v4.0'
...
Fixed data length update callback parameters error (back port v4.0)
See merge request espressif/esp-idf!14183
2021-07-02 12:16:31 +00:00
Wang Meng Yang
783bf67cbd
Merge branch 'bugfix/spp_connect_20_fail_v4.0' into 'release/v4.0'
...
component_bt: fix spp acceptor deadlock
See merge request espressif/esp-idf!14108
2021-07-02 12:15:26 +00:00
Ivan Grokhotkov
a7d43619d9
Merge branch 'docs/windows_installer_2.9_backport_4.0' into 'release/v4.0'
...
docs: update Windows Tools 2.9 installation backport to v4.0
See merge request espressif/esp-idf!14192
2021-07-02 12:12:41 +00:00
Ivan Grokhotkov
6241eb8e06
Merge branch 'feature/ci_release_zips_v4.0' into 'release/v4.0'
...
ci: Use GitHub Actions to generate recursive source code zips for releases (v4.0)
See merge request espressif/esp-idf!13201
2021-07-02 12:12:08 +00:00
David Cermak
754a15890e
ci/test: Fix esp_http_client test not to use pointer after free
2021-06-30 14:05:59 +02:00
Juraj Michálek
c28c933751
docs: update Windows Tools 2.9 installation
2021-06-30 11:21:24 +02:00
zwj
16e5b25c98
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-29 14:16:03 +08:00
Marius Vikhammer
4463db7e7f
soc: add dummy bytes to ensure instr prefetch always valid
...
The CPU might prefetch instructions, which means it in some cases
will try to fetch instruction located after the last instruction in
flash.text.
Add dummy bytes to ensure fetching these wont result in an error,
e.g. MMU exceptions
2021-06-26 08:55:04 +08:00
Jiang Jiang Jian
7504329ef9
Merge branch 'bugfix/fix_amsdu_fragment_vulnerability_v4.0' into 'release/v4.0'
...
esp_wifi: fix amsdu & fragment vulnerabilities(v4.0)
See merge request espressif/esp-idf!14101
2021-06-25 11:45:15 +00:00
Jiang Jiang Jian
c2f9002b03
Merge branch 'update/version_4_0_3' into 'release/v4.0'
...
Update version to 4.0.3
See merge request espressif/esp-idf!14141
2021-06-25 11:42:07 +00:00
ChenJianxing
f3f1190959
esp_wifi: fix amsdu & fragment vulnerabilities
2021-06-24 22:39:13 +08:00
Roland Dobai
d5d0c624d0
tools: Catch OSError which is raised when the tool is not available
...
Closes https://github.com/espressif/esp-idf/issues/7140
2021-06-24 12:04:08 +02:00
He Yin Ling
03fc307e21
versions: Update version to 4.0.3
2021-06-24 17:35:06 +08:00
Ivan Grokhotkov
b0097bb64f
Merge branch 'feature/codeowners_v4.0' into 'release/v4.0'
...
add simplified CODEOWNERS file for older release branches (v4.0)
See merge request espressif/esp-idf!14093
2021-06-23 08:08:35 +00:00
xiongweichao
8a45db1a7a
fix spp acceptor deadlock
2021-06-23 11:12:59 +08:00
He Yin Ling
251ca7dd4e
example: set example wifi scan method to all channel:
...
in CI example test we could have runners with same SSID in the same lab.
Use scan on all channel will let DUT connect to the AP with best RSSI.
2021-06-23 10:25:21 +08:00
Ivan Grokhotkov
57a9782f8b
add simplified CODEOWNERS file for older release branches
2021-06-22 09:23:33 +02:00
liqigan
936572fa13
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:19:07 +08:00
Ivan Grokhotkov
93ee9aab3b
cmake: set IDF_VERSION_* variables at requirement expansion stage
...
Currently IDF_VERSION_* variables are not available to the component
CMakeLists.txt files at the requirements expansion stage. This makes
it harder to write component CMakeLists files compatible with
different IDF versions.
Include version.cmake from the requirements expansion script, add a
build system test.
2021-06-18 15:32:40 +02:00
Island
ee8c27e5e3
Merge branch 'bugfix/AuthValue_leak_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth... (v4.0)
See merge request espressif/esp-idf!14005
2021-06-18 03:47:47 +00:00
wangjialiang
6ba3ae339b
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM
2021-06-17 16:53:07 +08:00
Island
3ea9deff82
Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation... (v4.0)
See merge request espressif/esp-idf!13924
2021-06-17 07:38:45 +00:00
Renz Bagaporo
081d0d5225
docs: remove quotes in ldgen documentation for adding fragment file
...
Closes https://github.com/espressif/esp-idf/issues/5142
2021-06-17 09:14:02 +02:00
wangjialiang
f9b2bba5a4
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner
2021-06-16 21:28:52 +08:00
Yang Zhao
1b603ee330
bugfix:Set address resolution enable. If not set enable and the filter
...
policy is 2 or 3, the controller will reply with invalid param error.
2021-06-15 19:41:11 +08:00
Island
577aef29ad
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.0' into 'release/v4.0'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13916
2021-06-10 02:56:25 +00:00
Island
8ca5068f20
Merge branch 'bugfix/bt_impersonation_passkey_fix_v4.0' into 'release/v4.0'
...
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. (v4.0)
See merge request espressif/esp-idf!13898
2021-06-09 06:32:42 +00:00
Chen Yudong
bc65641ac4
test: fix socket issue in iperf example test
2021-06-08 17:25:41 +08:00
He Yin Ling
7be1a8d689
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-06-08 17:25:33 +08:00
Chen Yudong
61fd08e5ef
CI: fix connection failures in asio example tests
2021-06-08 17:25:23 +08:00
Chinmay Chhajed
e42479e129
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-06-08 10:09:21 +05:30
Cao Sen Miao
e6222ccf60
spi_flash: fix cs line setup to make the flash driver more stable
2021-06-08 01:02:39 +08:00
xiewenxiang
3892a92d80
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 18:03:19 +08:00
He Yin Ling
d35bcf65b0
example: set PMF capable to connect to PMF required APs
2021-06-04 18:00:49 +08:00
Alexey Gerenkov
37538d2188
gcov: Fixes not linked gcov rtio functions
2021-06-03 11:43:05 +03:00
Angus Gratton
bdbfdcdf5c
Merge branch 'bugfix/partition_table_integrity_check_v4.0' into 'release/v4.0'
...
paritition_table: Verify the partition table md5sum when loading in the app (v4.0)
See merge request espressif/esp-idf!13586
2021-06-03 02:14:28 +00:00
liaowenhao
ac190b6a01
bugfix/fix crash when lmp flooding
2021-06-02 17:25:45 +08:00
Angus Gratton
c572e0bf5f
paritition_table: Verify the partition table md5sum when loading the app
...
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).
The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-06-02 16:30:02 +10:00
baohongde
cff9332ddd
components/bt: Delete BLE ADV priority high
2021-06-02 11:35:56 +08:00
Angus Gratton
2483fb2777
ci: Fix websocket example test error handling
...
If connection fails for websocket test, a second exception was generated in
__exit__
2021-06-01 17:19:26 +10:00
Jakob Hasse
1d8ca35eec
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-06-01 15:00:23 +08:00
Angus Gratton
aea01b00e1
pthread: Fix possible deadlock when using pthread_join() and Debug log level
...
Possible for a joined task to be deleted at the moment it is logging,
meaning it might hold the stdout lock. In that case the lock isn't
released and the next task to try and take it (i.e. call printf)
will block indefinitely.
2021-05-31 13:50:41 +10:00
Felipe Neves
e29da11f6b
freertos/portmux: increase portmux timeouts to avoid crashing when using debug feature
...
Closes: https://github.com/espressif/esp-idf/issues/3629#
2021-05-28 09:52:26 +10:00
He Yin Ling
b23f8e21cd
Merge branch 'ci/ttfw_fix_dut_exception_not_added_to_junit_report_v4.0' into 'release/v4.0'
...
ttfw: fix DUT exception not added to junit report (v4.0)
See merge request espressif/esp-idf!13614
2021-05-26 03:12:41 +00:00
aleks
44832d2379
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-05-25 16:31:04 +02:00
Jiang Jiang Jian
1a415f3e31
Merge branch 'nimble/fix_ble_sm_sc_pub_key_v4.0' into 'release/v4.0'
...
NimBLE: Fix MITM vulnerability and free AES context (v4.0)
See merge request espressif/esp-idf!13599
2021-05-25 14:27:33 +00:00
Omar Chebib
8d1f243bff
regi2c: add a spinlock for accessing (reg)I2C devices
...
When not compiling bootloader, a spinlock will be used for reading or writing
I2C internal devices/registers.
When compiling for bootloader, no need to use any lock.
2021-05-25 17:57:07 +08:00
Prasad Alatkar
fc9f2e8782
NimBLE: Fix MITM vulnerability and free AES context (v4.0)
2021-05-25 14:57:37 +05:30
David Cermak
f456ab2353
MQTT: Update submodule reference to support new config modes
...
* Queueing publish messages to outbox when the client is not connected (default=off -> messages are queued if disconnected)
* Use of incremental msg-id instead of random id (default=off -> msg-id uses platform_random())
* Posting a new event-id if a queued message gets deleted from the outbox (default=off -> events are not posted)
Detailed description of included `esp-mqtt` changes
(da850b0add1e71b3659bfac5d797cc834dc3e89b...9ea804e0ab5368d5ab53ae2301a5fec9d1f12f1a)
* mqtt: Remove unused mqtt_header_state_t
- esp-mqtt commit: b7158a4aea
- esp-mqtt MR: espressif/esp-mqtt!84
- Merges https://github.com/espressif/esp-mqtt/pull/180
* Cleanup public include dirs
- esp-mqtt commit: f65d5d05db
- esp-mqtt MR: espressif/esp-mqtt!85
* Config: Add a new option to use incremental message id
- esp-mqtt commit: 8bb4a26f46
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/176
* Publish: Add new API to enqueue qos>0 messages
- esp-mqtt commit: dc7fd5c0b1
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/155
* Config: Add a new option to disable publishing when disconnected
- esp-mqtt commit: f44dcb1c26
- esp-mqtt MR: espressif/esp-mqtt!85
- Related https://github.com/espressif/esp-mqtt/issues/177
* Events: Add new event to report deleted messages from outbox
- esp-mqtt commit: 2e35d4d4d5
- esp-mqtt MR: espressif/esp-mqtt!85
* Publish: Allow for qos=0 messages to be stored using esp_mqtt_client_enqueue()
- esp-mqtt commit: e2de0f3e3e
- esp-mqtt MR: espressif/esp-mqtt!85
2021-05-25 09:56:43 +02:00
morris
7ab8594813
esp_eth: restart negotiation in esp_eth_start
2021-05-25 15:31:53 +08:00
Chinmay Chhajed
805f30fda9
bt controller: Fixed handling for invalid feature page.
2021-05-25 05:09:36 +00:00
He Yin Ling
091681faec
ttfw: fix DUT exception not added to junit report
2021-05-20 16:57:06 +08:00
Island
532d0a72c3
Merge branch 'nimble/fix_host_flow_ctrl_v4.0' into 'release/v4.0'
...
NimBLE: Fix host flow control in NimBLE porting layer and host (release/v4.0)
See merge request espressif/esp-idf!13577
2021-05-19 09:50:27 +00:00
Angus Gratton
51623fd4ce
Merge branch 'feature/oocd_ver_backport_v4.0' into 'release/v4.0'
...
Feature/oocd ver backport v4.0
See merge request espressif/esp-idf!11378
2021-05-19 07:57:38 +00:00
Angus Gratton
0242438e9d
Merge branch 'bugfix/setjmp_longjmp_4.0' into 'release/v4.0'
...
[system]: Made longjmp save for context switch (backport v4.0)
See merge request espressif/esp-idf!13503
2021-05-19 01:39:51 +00:00
Prasad Alatkar
e123d89625
NimBLE: Update submodule to fix host flow control bugs.
2021-05-18 19:01:28 +05:30
Prasad Alatkar
b57b6f1adb
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-05-17 20:01:17 +05:30
Angus Gratton
0425b2e7b5
cmake: Improve the error message if the Python interpreter fails to run
...
RESULT_VARIABLE will return a string not a number in this case, so display it
for the user.
2021-05-12 00:35:15 +00:00
Angus Gratton
262323e740
cmake: Set IDFTOOL variable using the correct PYTHON interpreter variable
2021-05-12 00:35:15 +00:00
Angus Gratton
632796887e
cmake: Fix passing PYTHON path via CMake variable if using IDF as library
...
Closes https://github.com/espressif/esp-idf/issues/6285
2021-05-12 00:35:15 +00:00
He Yin Ling
4ba4b5780e
Merge branch 'bugfix/python3_target_test_4.0' into 'release/v4.0'
...
ci: using python3 to tun target test (4.0)
See merge request espressif/esp-idf!13241
2021-05-11 09:15:18 +00:00
Alexey Gerenkov
0d99d2a1a1
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
2021-05-10 16:23:48 +00:00
Jakob Hasse
19eab31660
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-05-10 19:21:56 +08:00
Jiang Jiang Jian
fa1f7e112c
Merge branch 'feature/twdt_prints_backtrace_v4.0' into 'release/v4.0'
...
Add Task Watchdog backtrace printing (v4.0)
See merge request espressif/esp-idf!12618
2021-05-10 09:47:28 +00:00
Jiang Jiang Jian
f5c4e5e7d2
Merge branch 'bugfix/gtk_reinstallation_fix_v4.0' into 'release/v4.0'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key (v4.0)
See merge request espressif/esp-idf!13184
2021-05-10 08:33:46 +00:00
Jiang Jiang Jian
ce99b662c2
Merge branch 'bugfix/freemodbus_fix_event_processing_after_destroy_backport40' into 'release/v4.0'
...
freemodbus: fix event processing failure after destroy (backport v4.0)
See merge request espressif/esp-idf!9323
2021-05-10 08:30:45 +00:00
aleks
940e108c4b
freemodbus: fix event processing failure after destroy
...
Closes https://github.com/espressif/esp-idf/issues/5275
2021-05-10 08:43:42 +02:00
Kapil Gupta
39a3d1df8e
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-05-10 11:22:01 +05:30
Kapil Gupta
c5f0a609c8
wpa_supplicant: Prevent reinstallation of an already in-use group key
2021-05-10 11:22:01 +05:30
Jiang Jiang Jian
1ce0d7bcf4
Merge branch 'bugfix/scheduler_start_iram_v4.0' into 'release/v4.0'
...
freertos: move some of the initialization functions out of IRAM (v4.0)
See merge request espressif/esp-idf!11222
2021-05-10 04:36:16 +00:00
Jiang Jiang Jian
dba7cab2d9
Merge branch 'bugfix/spi_fix_duplex_switch_v4.0' into 'release/v4.0'
...
spi_master: fix duplex mode switch issue for multi devices (4.0)
See merge request espressif/esp-idf!11235
2021-05-10 04:13:28 +00:00
Jiang Jiang Jian
6b294bac4c
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop_v4.0' into 'release/v4.0'
...
esp_wifi: Fix setting channel error after WiFi stop ( backport v4.0)
See merge request espressif/esp-idf!13452
2021-05-10 03:18:32 +00:00
Jiang Jiang Jian
66b2b5f45c
Merge branch 'feature/nvs_allow_custom_part_4.0' into 'release/v4.0'
...
Feature/nvs allow custom part 4.0
See merge request espressif/esp-idf!9519
2021-05-10 03:13:47 +00:00
Darian Leung
29d6823d2f
Add Task Watchdog backtrace printing
...
This commit makes the Task Watchdog print the backtrace of both
cores when it times out.
2021-05-10 03:09:20 +00:00
Jiang Jiang Jian
676905709a
Merge branch 'bugfix/fix_uart_module_enable_issue_4.0' into 'release/v4.0'
...
driver(uart): fix uart module reset issue (release V4.0)
See merge request espressif/esp-idf!11971
2021-05-10 03:07:41 +00:00
Jiang Jiang Jian
b89b1ec022
Merge branch 'bugfix/ble_timeout_disconnected_no_report_v4.0' into 'release/v4.0'
...
Fix the issue that the controller do not report the timeout disconnect event
See merge request espressif/esp-idf!13468
2021-05-10 03:03:58 +00:00
Jiang Jiang Jian
763aa66036
Merge branch 'bugfix/generate_value_0_when_prov_auth_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix provisioning input or output count number should be at least 1 (v4.0)
See merge request espressif/esp-idf!13482
2021-05-08 12:54:53 +00:00
ChenJianxing
4a24cb7d8f
esp_wifi: fix some wifi bugs
...
1. Fix setting channel error after WiFi stop
2. Fixed issue of reason code change from 15 to 204 when provide wrong password
3. Fix set config return value error
4. Fix ampdu age timer memory leak
5. Add beacon timeout event
6. Ignore dirtyBuf check when buffer size is larger than 4092
7. Fix SoftAP not initiating 4-way handshake if max length passphrase is set
8. Fix esptouch find hidden AP fail
9. Clear AP Bss when auth timeout happens.
10.Fix not connect to open AP when WPA3 auth fail.
11.Fix esp_wifi_80211_tx when out of memory unlock mutex issue.
12.Fix esp_wifi_80211_tx can't be used in ap mode
13.Fix hidden AP scans after connecting AP
14.Fix watchdog happens when receiving action frame
2021-05-08 19:55:00 +08:00
Jiang Jiang Jian
9ee19a35b8
Merge branch 'bugfix/spp_data_send_delay_v4.0' into 'release/v4.0'
...
Bugfix/spp data send delay v4.0
See merge request espressif/esp-idf!11774
2021-05-08 09:47:23 +00:00
Jiang Jiang Jian
3907e8a067
Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.0' into 'release/v4.0'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.0]
See merge request espressif/esp-idf!12558
2021-05-08 07:28:38 +00:00
Jiang Jiang Jian
5c0b14e167
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed_and_cancle_con_state_err_v4.0' into 'release/v4.0'
...
fix multi con pair failed and cancel con state error (backport v4.0)
See merge request espressif/esp-idf!13477
2021-05-08 07:28:10 +00:00
Jiang Jiang Jian
970dc8cf80
Merge branch 'mesh/esp_mesh_send_block_time_v4.0' into 'release/v4.0'
...
esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send(backport v4.0)
See merge request espressif/esp-idf!13411
2021-05-08 07:05:53 +00:00
baohongde
09e665770f
components/bt: Add API to config QoS
2021-05-08 06:05:50 +00:00
baohongde
e1c9aafd46
components/bt: Add QOS for SPP, to decrease the delay from slave to master
2021-05-08 06:05:50 +00:00
wangjialiang
6826f9dbba
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-08 13:13:58 +08:00
zwj
eb9841e769
update con state when getting connection cancle complete
2021-05-08 03:42:02 +00:00
zwj
84df41cdf0
fix multi-connection pair failed
2021-05-08 03:42:02 +00:00
Jiang Jiang Jian
d4970113af
Merge branch 'example/aligenie_v4.0' into 'release/v4.0'
...
ble_mesh: add aligenie ble mesh example (backport V4.0)
See merge request espressif/esp-idf!11402
2021-05-08 03:17:31 +00:00
InfiniteYuan
89bff63443
ble mesh: add aligenie ble mesh example
2021-05-08 01:57:48 +00:00
liaowenhao
acbcf13ee5
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-05-07 23:23:38 +00:00
Wang Meng Yang
522103b43a
Merge branch 'bugfix/endianness_in_output_or_input_oob_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number (v4.0)
See merge request espressif/esp-idf!13257
2021-05-07 23:03:35 +00:00
wangjialiang
c0a397e0a2
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-05-07 13:32:20 +00:00
Yang Zhao
269e903f8c
Fix the issue that the controller do not report the timeout disconnect event.
...
This issue is caused by modem sleep.The sleep interrupt will come the second
time before the CLKN interrupt. If we disable the sleep interrupt when it
comes in the first time, the CLKN will never come.
2021-05-07 20:29:32 +08:00
Wang Meng Yang
755ae308d1
Merge branch 'bugfix/btdm_incorrectly_spelled_v4.0' into 'release/v4.0'
...
component/bt: fix Spelling mistakes (release v4.0)
See merge request espressif/esp-idf!12818
2021-05-07 09:35:00 +00:00
Jiang Jiang Jian
1fa03e6b25
Merge branch 'bugfix/backport_some_lwip_bugs_0428_v4.0' into 'release/v4.0'
...
lw-ip:backport bugfix lwip for v4.0(backport v4.0)
See merge request espressif/esp-idf!13376
2021-05-07 09:16:59 +00:00
XieWenxiang
1d1368858c
component/bt: Modify some ambiguous descriptions (release v4.0)
2021-05-07 08:08:39 +00:00
David Čermák
29b8bf0221
Merge branch 'bugfix/mqtt_examples_certificates_update_v4.0' into 'release/v4.0'
...
bugfix/mqtt examples: Updates the CA certificates used. (v4.0)
See merge request espressif/esp-idf!13128
2021-05-07 06:45:45 +00:00
Ivan Grokhotkov
6c6e4ca637
freertos: move some of the initialization functions out of IRAM
2021-05-07 04:32:49 +00:00
shenjun
ebf59642c2
esp_wifi_mesh: update wifi mesh libs
...
1. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2. Fix the issue that tx beacon interval become 1 minute
2021-05-07 11:56:03 +08:00
Armando
9e9ebed861
spi: fix duplex mode switch issue for multi devices
...
Closes https://github.com/espressif/esp-idf/issues/1080
2021-05-06 15:56:33 +08:00
Angus Gratton
5ba7202cc1
Merge branch 'bugfix/freertos_addition_overflow_v4.0' into 'release/v4.0'
...
freertos: Fix addition overflow (v4.0)
See merge request espressif/esp-idf!13425
2021-05-05 23:23:01 +00:00
Angus Gratton
728f0807f4
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 18:35:51 +10:00
Angus Gratton
beed6820f2
Merge branch 'bugfix/espsecure_args_v4.0' into 'release/v4.0'
...
esptool: Update to fix espsecure.py sign_data default version argument (v4.0)
See merge request espressif/esp-idf!13320
2021-05-03 05:57:27 +00:00
Angus Gratton
15f34b4cc2
ci: Use GitHub Actions to generate recursive source code zips for releases
...
We do this for all ESP-IDF releases, this step automates it.
Uses action added in https://github.com/espressif/github-actions/pull/10
2021-05-03 04:20:07 +00:00
Angus Gratton
d106141032
esptool: Update to fix espsecure.py sign_data default version argument
...
Regression in Secure Boot signing, reported at https://github.com/espressif/esp-idf/issues/6831
2021-05-03 04:19:31 +00:00
Euripedes Rocha
d12f023a32
bugfix/mqtt examples: Updates the CA certificates used.
...
- Updates the CA certificates.
- Updates the URI names to reflect the new URI in the service used in
the examples.
Closes IDFGH-4986
Closes https://github.com/espressif/esp-idf/issues/6776
2021-04-30 12:20:10 +00:00
Jiang Jiang Jian
14c7c49515
Merge branch 'bugfix/remove_redundant_other_core_cache_disable_v4.0' into 'release/v4.0'
...
[system]: Remove redundant othercore cache disable (backport v4.0)
See merge request espressif/esp-idf!13359
2021-04-30 06:00:35 +00:00
Jiang Jiang Jian
dd26a96a29
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v4.0' into 'release/v4.0'
...
backport v4.0: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13397
2021-04-30 02:50:23 +00:00
xueyunfei
bc6a98c12c
backport bugfix lwip for v4.0
2021-04-29 13:03:39 +00:00
Li Shuai
16546a89e5
deep sleep: optimize sleep current in wifi softap mode
2021-04-29 15:13:47 +08:00
Mahavir Jain
b6b44f4b4c
Merge branch 'bugfix/esp_http_client_read_v4.0' into 'release/v4.0'
...
Fix esp_http_client_read for file size aligned to 289 bytes (v4.0)
See merge request espressif/esp-idf!13308
2021-04-29 06:07:56 +00:00
Shubham Kulkarni
69e1d0d2d6
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-29 05:13:52 +00:00
Michael (XIAO Xufeng)
173e8eb18c
Merge branch 'bugfix/freemodbus_fix_mbm_event_processing_v40' into 'release/v4.0'
...
Bugfix/freemodbus fix mbm event processing v40 (backport v4.0)
See merge request espressif/esp-idf!12827
2021-04-28 15:48:57 +00:00
Chen Yudong
ef1f74174a
ci: run target test with python3
2021-04-28 19:32:59 +08:00
Michael (XIAO Xufeng)
c891be655c
Merge branch 'bugfix/put_uart_isr_in_iram_v4.0' into 'release/v4.0'
...
uart: add option to put ISR in IRAM (v4.0)
See merge request espressif/esp-idf!13143
2021-04-28 07:03:22 +00:00
Hou Wen Xiang
4740d8e42c
driver(uart): fix uart module reset issue (release V4.0)
2021-04-27 10:12:13 +00:00
wuzhenghui
4be9f15803
remove othercore cache disable
2021-04-27 14:36:23 +08:00
Jiang Jiang Jian
d61d8a6756
Merge branch 'feature/installed_tool_failed_v4.0' into 'release/v4.0'
...
tools: Warning about tool being installed but failed to run. (v4.0)
See merge request espressif/esp-idf!13233
2021-04-26 14:18:08 +00:00
Jiang Jiang Jian
b0d6b95fc1
Merge branch 'feature/IDF-2612_human_readable_error_v4.0' into 'release/v4.0'
...
export.bat/install.bat: print human-readable error message if Git or Python are not in PATH (v4.0)
See merge request espressif/esp-idf!13229
2021-04-26 14:17:40 +00:00
Marek Fiala
d2b0cfc7e4
Human-readable error if Git or Python are missing.
...
When user forgot to add git.exe or python to the PATH, there was a not
very helpful error message.
This improves the error with which tool is misssing and shows a link to
the espressif installer tool.
2021-04-26 14:08:37 +02:00
Marek Fiala
ebbe25ec73
tools: Warning about tool beiing installed but failed to run.
...
idf_tool.py runs "<tool> --version" which returns the error message but it is not used
This improves the error printing.
2021-04-26 13:48:56 +02:00
Michael (XIAO Xufeng)
9a6f507091
Merge branch 'bugfix/fix_i2s_channals_issue_v4.0' into 'release/v4.0'
...
i2s: fix i2s left/right channels swapped issue(backport v4.0)
See merge request espressif/esp-idf!12943
2021-04-26 03:39:28 +00:00
Angus Gratton
28a42ff170
Merge branch 'bugfix/extern_c_decl_4.0' into 'release/v4.0'
...
[cxx]: fixed extern "C" declarations (backport 4.0)
See merge request espressif/esp-idf!12744
2021-04-23 08:43:21 +00:00
Krzysztof Budzynski
179d20dbc4
Merge branch 'docs/update_CN_tran_build-system_v4.0' into 'release/v4.0'
...
Backport CN translation for api-guides for v4.0
See merge request espressif/esp-idf!13180
2021-04-23 07:53:07 +00:00
Dai Zi Yan
e1a6d45e83
Backport CN translation for api-guides for v4.0
2021-04-23 15:52:58 +08:00
Angus Gratton
8fcf311e7f
Merge branch 'bugfix/calc_8m_freq_test_v4.0' into 'release/v4.0'
...
rtc: increase CI acceptance range for calc 8M test (v4.0)
See merge request espressif/esp-idf!13088
2021-04-23 07:31:55 +00:00
William Ferguson
da3e3b5e28
[cxx]: fixed extern "C" declarations
...
* Moving #includes above
#ifdef __cplusplus extern "C" { #endif
So that we can compile with CPP.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/6634
2021-04-23 07:22:09 +00:00
Jiang Jiang Jian
b2bcb609ad
Merge branch 'nimble/add_error_prints_acl_buf_v4.0' into 'release/v4.0'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v4.0)
See merge request espressif/esp-idf!12971
2021-04-22 06:04:33 +00:00
Jiang Jiang Jian
59fecb2f8f
Merge branch 'bugfix/correct_cod_check_v4.0' into 'release/v4.0'
...
esp-idf: Corrected check of Class of Device for discovered devices (v4.0)
See merge request espressif/esp-idf!13022
2021-04-22 06:03:44 +00:00
Jiang Jiang Jian
48cb46af55
Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v4.0' into 'release/v4.0'
...
Bugfix/btdm backport ble bugs v4.0
See merge request espressif/esp-idf!12434
2021-04-21 15:17:12 +00:00
zwj
911ce08722
add connection parameter check
2021-04-21 12:21:57 +00:00
zwj
f637a0792d
fix ble connection maximum latency is 499
2021-04-21 12:21:57 +00:00
zwj
d0b8d53410
disable bluedroid congest error log print
2021-04-21 12:21:57 +00:00
zhiweijian
722035b846
fix read multi char failed(GATT_27001)
2021-04-21 12:21:57 +00:00
zhiweijian
fcf36466cd
fix add white list failed
2021-04-21 12:21:57 +00:00
zwj
47e5793c73
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-04-21 12:21:57 +00:00
zwj
d321ee69d5
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-04-21 12:21:57 +00:00
zwj
e0362061a5
fix ble read multi char err when the number of handles is more than 10
2021-04-21 12:21:57 +00:00
zwj
0776318c56
fix scan rsp length err
2021-04-21 12:21:57 +00:00
zwj
712feb1e81
fix vendor hci memory leak
2021-04-21 12:21:57 +00:00
Ivan Grokhotkov
33c4e7f953
Merge branch 'bugfix/broken_virtualenv_v4.0' into 'release/v4.0'
...
tools: Reinstall virtualenv if it is broken (v4.0)
See merge request espressif/esp-idf!12954
2021-04-20 23:34:19 +00:00
Ivan Grokhotkov
4ff13dfd7e
Merge branch 'bugfix/fix_idf_monitor_unicode_path_crash_v4.0' into 'release/v4.0'
...
tools: handle exception in case of logging Unicode characters (v4.0)
See merge request espressif/esp-idf!13044
2021-04-20 23:34:02 +00:00
Anton Maklakov
5f2a5c1f93
Merge branch 'bugfix/ci/ci_fetch_submodule_fully_match_return_first_v4.0' into 'release/v4.0'
...
fix(ci): ci_fetch_submodule return full match name first (v4.0)
See merge request espressif/esp-idf!13213
2021-04-20 02:35:49 +00:00
Fu Hanxi
3636d44aa9
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 20:24:20 +08:00
morris
10a0d7b8cf
uart: add option to put ISR in IRAM
2021-04-14 17:57:32 +08:00
Krzysztof Budzynski
17500de409
Merge branch 'bugfix/doxygen_input_file_bug_v4.0' into 'release/v4.0'
...
docs: fix doxygen compile warnings for doxygen 1.9.1 (v4.0)
See merge request espressif/esp-idf!13079
2021-04-12 00:44:08 +00:00
Marius Vikhammer
531cab5fc4
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-12 08:44:04 +08:00
Marius Vikhammer
915305fe61
rtc: increase CI acceptance range for calc 8M test
2021-04-09 15:06:46 +08:00
Cao Sen Miao
4e5805dec3
i2s: fix i2s left/right channels swapped issue, Closes https://github.com/espressif/esp-idf/issues/6625
2021-04-07 12:23:08 +08:00
Juraj Michálek
3d83ce6d7a
tools: handle exception in case of logging Unicode characters
2021-04-06 19:17:23 +02:00
Rahul Tank
5bcc93a213
esp-idf: Corrected check of Class of Device for discovered devices
...
Current code stopped inquiry if major class is not Phone. Modified the
condition to consider for both Phone and Audio to cover majority of real
world devices.
Closes https://github.com/espressif/esp-idf/issues/6548
2021-04-05 15:29:50 +05:30
Prasad Alatkar
2045e8c701
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-03-31 10:43:52 +05:30
Roland Dobai
5ca77d9d2c
tools: Reinstall virtualenv if it is broken
...
Closes https://github.com/espressif/esp-idf/issues/6656
2021-03-29 19:28:29 +02:00
Angus Gratton
acddb8fca2
Merge branch 'bugfix/dport_init_min_stack_size_v4.0' into 'release/v4.0'
...
freertos: Increase minimum task stack size when stack smashing checker is enabled (v4.0)
See merge request espressif/esp-idf!12801
2021-03-29 06:42:42 +00:00
Krzysztof Budzynski
4d5dba250d
Merge branch 'bugfix/remove_readdocs_badge_v4.0' into 'release/v4.0'
...
docs: remove the read the docs CI badge (v.4.0)
See merge request espressif/esp-idf!12844
2021-03-26 08:31:42 +00:00
Krzysztof Budzynski
36383b0648
Merge branch 'bugfix/translation_link_v4.0' into 'release/v4.0'
...
docs: fix "link to translation" being broken (v4.0)
See merge request espressif/esp-idf!12828
2021-03-24 11:00:09 +00:00
Jiang Jiang Jian
8d22544abf
Merge branch 'bugfix/fix_tx_issue_after_esp_restart_v4.0' into 'release/v4.0'
...
components/bt: Shutdown Bluetooth before esp_restart.(V4.0)
See merge request espressif/esp-idf!11757
2021-03-24 06:09:04 +00:00
Jiang Jiang Jian
e46a106a89
Merge branch 'bugfix/wpa_supplicant_coverity_issue_fixes_v4.0' into 'release/v4.0'
...
Bugfix/wpa supplicant coverity issue fixes v4.0
See merge request espressif/esp-idf!12850
2021-03-24 04:18:28 +00:00
Jiang Jiang Jian
a5effa6bf3
Merge branch 'bugfix/revert_refactor_wifi_interface_v4.0' into 'release/v4.0'
...
Revert "Refactor wifi_interface_t" (v4.0)
See merge request espressif/esp-idf!12504
2021-03-23 16:19:51 +00:00
aditi_lonkar
8719683deb
esp_local_ctrl: Fix some memory leak issues by coverity static analyzer.
2021-03-23 12:00:29 +05:30
aditi_lonkar
426e0f3948
esp_http_client: Fix some memory leak issues by coverity static analyzer.
2021-03-23 12:00:01 +05:30
aditi_lonkar
53f5b64887
wifi_provisioning: Fix some memory leak issues by coverity static analyzer.
2021-03-23 11:59:34 +05:30
aditi_lonkar
903f7bb99f
wpa_supplicant: Fix some memory leak issues by coverity static analyzer.
2021-03-23 11:59:09 +05:30
aditi_lonkar
a6e44ac881
tcp_transport: Fix some memory leak issues by coverity static analyzer.
2021-03-23 11:58:32 +05:30
aditi_lonkar
3a40b3b349
fatfs: Fix some memory leak issues by coverity static analyzer.
2021-03-23 11:57:50 +05:30
Marius Vikhammer
87e56f132b
docs: remove the read the docs CI badge
...
Docs are built and hosted on our server, so this badge is
no longer needed.
2021-03-23 12:25:17 +08:00
Jiang Jiang Jian
d3fa4c3749
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v4.0' into 'release/v4.0'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled (v4.0)
See merge request espressif/esp-idf!12493
2021-03-23 03:05:28 +00:00
Jiang Jiang Jian
33087e3f27
Merge branch 'component_bt/optimize_spp_stop_server_v4.0' into 'release/v4.0'
...
component_bt/Optimize SPP Stop Server API[backport v4.0]
See merge request espressif/esp-idf!12622
2021-03-22 12:59:10 +00:00
xiehang
48050c7c64
Revert "Refactor wifi_interface_t"
...
This reverts commit 9370b74ee0 .
2021-03-22 17:44:33 +08:00
Jiang Jiang Jian
0ab7751926
Merge branch 'bugfix/fix_wifi_interface_use_v4.0' into 'release/v4.0'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA (backport v4.0)
See merge request espressif/esp-idf!12168
2021-03-22 09:06:10 +00:00
Marius Vikhammer
6b251820d7
docs: fix "link to translation" being broken
...
The translation link would link a specifc commit hash instead of
the release name.
2021-03-22 13:55:21 +08:00
Jiang Jiang Jian
63fdd7a03c
Merge branch 'bugfix/fix_arp_buffer_error_in_smart_config_v4.0' into 'release/v4.0'
...
bugfix/fix_arp_buffer_error_in_smart_config_v4.0
See merge request espressif/esp-idf!12256
2021-03-22 04:29:10 +00:00
Jiang Jiang Jian
3ece767fb1
Merge branch 'bugfix/fix_iperf_example_exception_handling_for_no_ap_found_v4.0' into 'release/v4.0'
...
bugfix/fix_iperf_example_exception_handling_for_no_ap_found_v4.0
See merge request espressif/esp-idf!12273
2021-03-22 04:28:54 +00:00
baohongde
b8b91f43f1
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-22 02:54:06 +00:00
baohongde
862f335f05
components/bt: Shutdown Bluetooth before esp_restart.
2021-03-22 02:54:06 +00:00
aleks
e7c16f92d0
freemodbuss: fix event processing after merge
2021-03-19 23:00:03 +01:00
Angus Gratton
0e5d47836b
freertos: Add a small additional stack when optimization set to None
...
Fix for occasional crash on startup when DPORT task overwrites its stack during
context switch, otherwise.
2021-03-19 13:34:07 +08:00
Angus Gratton
f24e1f5601
freertos: Increase minimum task stack size when stack smashing checker is enabled
...
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.
Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.
Closes https://github.com/espressif/esp-idf/issues/6403
2021-03-19 13:33:48 +08:00
Michael (XIAO Xufeng)
41efdb0b34
Merge branch 'bugfix/spi_master_multiple_dev_with_diff_cs_lvl_4.0' into 'release/v4.0'
...
spi_master: correctly set cs polarity (4.0)
See merge request espressif/esp-idf!10403
2021-03-10 15:24:06 +00:00
Michael (XIAO Xufeng)
98c76d46bd
Merge branch 'bugfix/freemodbus_fix_parity_propagation_issue_v40' into 'release/v4.0'
...
Bugfix/freemodbus fix parity propagation issue (backport v4.0)
See merge request espressif/esp-idf!12387
2021-03-10 03:09:38 +00:00
Jiang Jiang Jian
b9ba76ac9f
Merge branch 'bugfix/fix_csa_channel_crash_v4.0' into 'release/v4.0'
...
esp_wifi: fix CSA and BAR crash issue(v4.0)
See merge request espressif/esp-idf!12551
2021-03-05 12:25:19 +00:00
Jiang Jiang Jian
05e3e58ebb
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp_4_0' into 'release/v4.0'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v4.0]
See merge request espressif/esp-idf!12152
2021-03-05 12:20:11 +00:00
Jiang Jiang Jian
3118147dc7
Merge branch 'bugfix/fix_a2dp_underrun_issue_4_0' into 'release/v4.0'
...
Fix A2DP Underrun Issue [backport v4.0]
See merge request espressif/esp-idf!12279
2021-03-05 12:17:53 +00:00
Mahavir Jain
772c48041d
Merge branch 'fix/esp_tls_typo_v4.0' into 'release/v4.0'
...
Fix/protocom_null_check(v4.0)
See merge request espressif/esp-idf!12633
2021-03-05 06:22:27 +00:00
Aditya Patwardhan
2803e6b111
protocomm: Fixed NULL check of allocated memory
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:21:24 +05:30
liqigan
75d4004ce6
add API esp_spp_stop_srv_scn to stop a specific server
2021-03-04 15:46:10 +08:00
Angus Gratton
a0efde0997
Merge branch 'bugfix/ci_stdout_encoding_v4.0' into 'release/v4.0'
...
ci: Fix missing sys.stdout.encoding in python2 runners (v4.0)
See merge request espressif/esp-idf!12598
2021-03-04 06:52:32 +00:00
Angus Gratton
570694761e
Merge branch 'bugfix/gpio_ci_fix_input_output_mode_v4.0' into 'release/v4.0'
...
test_gpio: Fix GPIO_MODE_INPUT_OUTPUT test case
See merge request espressif/esp-idf!12608
2021-03-04 06:17:27 +00:00
Angus Gratton
964bed5c1b
test_gpio: Fix GPIO_MODE_INPUT_OUTPUT test case
...
The case sets one pin as output and the other as INPUT_OUTPUT (so output buffer
is enabled in both), then only changes level of one pin - causing a conflict.
Probably this test should be deleted, as it's not good practice for two output
pins to drive each other, but this fix also seems to work.
2021-03-04 12:20:55 +11:00
Angus Gratton
f0b32f0b79
ci: Fix missing sys.stdout.encoding in python2 runners
...
Regression in dad0230776
2021-03-04 09:28:02 +11:00
Mahavir Jain
781b7f21dc
Merge branch 'bugfix/esp_wifi_deinit_v4.0' into 'release/v4.0'
...
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped (v4.0)
See merge request espressif/esp-idf!12543
2021-03-01 05:31:44 +00:00
Shubham Kulkarni
8f7fb5f126
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
...
Add test case to test this workflow
2021-03-01 03:55:01 +00:00
Angus Gratton
4db922612a
Merge branch 'bugfix/ttfw_example_test_fails_port_remains_open_v4.0' into 'release/v4.0'
...
ci: Fix CI issue if one example test fails, and if serial port returns some noise (v4.0)
See merge request espressif/esp-idf!12383
2021-02-28 23:57:08 +00:00
ChenJianxing
08828b6fe8
esp_wifi: fix CSA and BAR crash issue
2021-02-27 16:55:20 +08:00
aditi_lonkar
c716d71089
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:09:28 +05:30
Michael (XIAO Xufeng)
756cb17ae0
Merge branch 'feat/spi_flash_override_size_v4.0' into 'release/v4.0'
...
spi_flash: add config option to override flash size in bootloader header (v4.0)
See merge request espressif/esp-idf!12462
2021-02-26 10:07:18 +00:00
Michael (XIAO Xufeng)
e65ed8c959
spi_flash: add config option to override flash size in bootloader header
...
Sometimes the flash size read from bootloader is not correct. This may
forbid SPI Flash driver from reading the the area larger than the size
in bootloader header.
When the new config option is enabled, the latest configured
ESPTOOLPY_FLAHSIZE in the app header will be used to override the value
read from bootloader header.
2021-02-26 10:12:16 +08:00
Michael (XIAO Xufeng)
8b067e25e2
Merge branch 'revert-983220e2_v4.0' into 'release/v4.0'
...
ci: enable RS485 related tests again (v4.0)
See merge request espressif/esp-idf!12465
2021-02-25 10:07:43 +00:00
Michael (XIAO Xufeng)
b870f6f43c
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2021-02-23 11:06:33 +08:00
Ivan Grokhotkov
7987f7ccae
Merge branch 'bugfix/eclipse_make_decode_v4.0' into 'release/v4.0'
...
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte” (v4.0)
See merge request espressif/esp-idf!12360
2021-02-19 15:55:52 +00:00
Ivan Grokhotkov
37d3d920bb
Merge branch 'feature/prefer_python3_in_installer_v4.0' into 'release/v4.0'
...
tools: Prefer python3 during install and export (v4.0)
See merge request espressif/esp-idf!12379
2021-02-19 15:54:14 +00:00
Island
32383a6dfe
Merge branch 'bugfix/ignore_null_valued_comb_key_4_0' into 'release/v4.0'
...
Bugfix/ignore null valued comb key 4 0
See merge request espressif/esp-idf!12356
2021-02-18 11:00:21 +00:00
aleks
0a36f36016
freemodbus: fix mb controller parity propagation issues
2021-02-17 14:05:14 +01:00
Angus Gratton
dad0230776
ci: ttfw: Encode serial port data to whatever the console encoding is
...
This is a bit of a hack, but gives us a way to always log it
2021-02-15 10:48:44 +11:00
Angus Gratton
2f196cface
ci: Log failure to close any DUT
2021-02-15 10:48:44 +11:00
Roland Dobai
b086a41569
tools: Prefer python3 during install and export
...
Install and export script should work on systems without "python"
executable.
Closes https://github.com/espressif/esp-idf/pull/6471
Closes https://github.com/espressif/esp-idf/issues/6532
Related to https://github.com/espressif/esp-idf/issues/6421 and
https://github.com/espressif/arduino-esp32/issues/4717
2021-02-14 19:47:14 +01:00
Patryk Krzywdziński
b0f2091e63
Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
...
Closes https://github.com/espressif/esp-idf/pull/6505
2021-02-10 12:50:52 +01:00
Chinmay Chhajed
3c7594f1ff
component/bt: Added check for NULL valued combination key.
2021-02-10 15:44:12 +05:30
Chinmay Chhajed
ce21340dc5
Bluedroid: Do not initiate/accept connection with device having same BDADDR.
...
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-10 15:41:40 +05:30
Chinmay Chhajed
c98b72326e
bt: removed esp_bt_get_mac()
...
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-10 15:41:31 +05:30
Mahavir Jain
857b34cfd8
Merge branch 'bugfix/softap_prov_cookies_v4.0' into 'release/v4.0'
...
protocomm_httpd: Use HTTP cookies to track session (v4.0)
See merge request espressif/esp-idf!12267
2021-02-09 16:59:24 +08:00
Island
d1c9216602
Merge branch 'bugfix/ble_mesh_server_model_deinit_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix deinit server models with no matching id (v4.0)
See merge request espressif/esp-idf!12315
2021-02-09 16:25:05 +08:00
Krzysztof Budzynski
498aebe38f
Merge branch 'feature/self_hosted_v4.0' into 'release/v4.0'
...
docs: self host docs (v4.0)
See merge request espressif/esp-idf!11595
2021-02-08 14:21:01 +08:00
Marius Vikhammer
8e7e0973db
docs: self host docs
...
Move doc hosting from readthedocs to espressif servers
Update CI, Sphinx configs and add IDF Sphinx theme
2021-02-08 11:54:11 +08:00
lly
dbe997ce1b
ble_mesh: stack: Fix deinit server models with no matching id
2021-02-07 11:18:49 +08:00
Piyush Shah
f132cf2b8b
protocomm security1: Restart security session if SESSION_STATE_CMD0 is received
...
With the introduction of cookies to track a session, it is possible that the
clients restart the provisioning on the same session, specifically when a user
cancels a current provisioning attempt. This can result in an error as the state
on the device side and client side will go out of sync.
This has now been changed such that if SESSION_STATE_CMD0 is received on
an existing session, the state is reset and flow allowed to continue.
2021-02-05 14:28:45 +05:30
Piyush Shah
7755d3955f
protocomm_httpd: Use HTTP cookies to track session
...
Earlier, a "socket connection" was being considered as a protocomm "session".
However, for HTTP, we cannot expect clients to necessarily use the same
socket for all requests of a given transaction. This was indeed causing
some failures for Wi-Fi provisioning from Android phones.
So, we have introduced http cookies to track a session even if the socket
connection does not stay intact throughout the transaction.
This change is backward compatible. If the client does not use cookies, the
socket connection will be considered as the session.
Closes: https://github.com/espressif/esp-idf/issues/6316
Reference: https://github.com/espressif/esp-idf/pull/6330
2021-02-05 14:28:45 +05:30
Island
22688745f6
Merge branch 'bugfix/ble_mesh_mbedtls_aes_fix_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh mbedtls aes fix (v4.0)
See merge request espressif/esp-idf!12271
2021-02-05 14:46:08 +08:00
lly
d94289c83a
ble_mesh: stack: Fix mbedtls aes ctx not deallocated
2021-02-05 03:26:49 +00:00
lly
574958367f
ble_mesh: stack: Fix mbedtls aes ctx not initialized
2021-02-05 03:26:49 +00:00
Ivan Grokhotkov
5dd22738d6
Merge branch 'bugfix/esp_pm_dump_critical_v4.0' into 'release/v4.0'
...
esp_pm: esp_pm_dump_locks: don't print from a critical section, and fix formatting (backport v4.0)
See merge request espressif/esp-idf!12019
2021-02-05 09:52:40 +08:00
Michael (XIAO Xufeng)
2a7aaacec6
Merge branch 'spi_dma_close_before_cpu_reset_v4.0' into 'release/v4.0'
...
spi: fix issue with closing DMA before CPU reset (4.0)
See merge request espressif/esp-idf!10840
2021-02-05 00:52:09 +08:00
Mahavir Jain
1b5d2bf66e
Merge branch 'bugfix/protocomm_http_print_v4.0' into 'release/v4.0'
...
protocomm_httpd: Change an info print to debug print as it isn't really required in the logs (v4.0)
See merge request espressif/esp-idf!12263
2021-02-04 20:51:19 +08:00
weitianhua
ebe344f852
Fix A2DP Underrun Issue
2021-02-04 19:35:19 +08:00
dongyou
5d83b9c2b0
add exception handling for iperf example's scan when no ap was found
2021-02-04 17:52:37 +08:00
Piyush Shah
948ec32caf
protocomm_httpd: Change an info print to debug print as it isn't really required in the logs
2021-02-04 15:05:22 +05:30
dongyou
509ff013bd
fix smartconfig issue when router reply arp late
2021-02-04 11:40:05 +08:00
Anton Maklakov
43127a5084
Merge branch 'bugfix/ttfw_idf_find_artifacts_inaccurate_with_same_prefix_path_v4.0' into 'release/v4.0'
...
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one (v4.0)
See merge request espressif/esp-idf!12230
2021-02-03 11:34:30 +08:00
David Čermák
a6bddd68d2
Merge branch 'feature/support_transport_keepalive_v4.0' into 'release/v4.0'
...
Feature/support transport keepalive v4.0 [backport v4.0]
See merge request espressif/esp-idf!12155
2021-02-02 22:00:53 +08:00
Mahavir Jain
e454fdb8fc
Merge branch 'bugfix/reenable_encrypted_partition_write_v4.0' into 'release/v4.0'
...
Re-enable encrypted flash read/writes even if flash encryption is disabled (v4.0)
See merge request espressif/esp-idf!12192
2021-02-02 18:30:27 +08:00
Fu Hanxi
f39d69b592
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one
2021-02-02 11:14:28 +08:00
Mahavir Jain
7b60b944b1
Merge branch 'bugfix/update_howsmyssl_cert_v4.0' into 'release/v4.0'
...
examples/protocols: update www.howsmyssl.com certificate to fix test failures (v4.0)
See merge request espressif/esp-idf!12213
2021-02-01 18:18:29 +08:00
Mahavir Jain
ae1aef7b9e
examples/protocols: update www.howsmyssl.com certificate to fix test failures
2021-02-01 11:10:38 +05:30
Mahavir Jain
544a2a4f4e
unit-test-app: disable encrypted flash read/write in psram config to fix build failure
2021-01-29 11:45:51 +05:30
Mahavir Jain
d82adb482b
spi_flash: add config option to enable encrypted partition read/write
...
This feature can be disabled to save some IRAM (approx 1KB) for cases
where flash encryption feature is not required.
2021-01-29 11:45:50 +05:30
Mahavir Jain
9c169a1812
Revert "esp_partition: disable encrypted reads/writes if flash encryption is disabled"
...
This reverts commit bf35ef1ce7 .
It has been noticed that there are scenarios where even though firmware is not enabled
with flash encryption config feature, it should be able to write to encrypted partitions.
This revert adds the feature back which was removed around v4.0 timelines, and same
change will be backported to all releases (upto v4.0) for consistency.
2021-01-29 11:45:50 +05:30
xiehang
e9de533c81
esp_wifi: Modify WIFI_IF_AP to TCPIP_ADAPTER_IF_AP
2021-01-27 15:00:55 +08:00
xiehang
041ad04fdd
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-27 15:00:51 +08:00
xiehang
4c68212c8f
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-27 14:59:25 +08:00
weitianhua
1ae261dcdd
Add init & deinit event for a2dp
2021-01-26 10:54:15 +08:00
yuanjm
9ada8df5c0
Make OTA example support keepalive
2021-01-25 21:01:31 +08:00
Shubham Kulkarni
985de73e6d
Add options for esp_http_client and esp_websocket_client to support keepalive
2021-01-25 21:01:30 +08:00
yuanjm
7201411f49
Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection
2021-01-25 21:01:25 +08:00
Michael (XIAO Xufeng)
8e8e54737d
Merge branch 'bugfix/modbus_fix_slave_id_support_v40' into 'release/v4.0'
...
Bugfix/modbus fix slave id support v40
See merge request espressif/esp-idf!12096
2021-01-25 12:23:57 +08:00
Mahavir Jain
4b50c99957
Merge branch 'bugfix/httpd_session_close_lru_v4.0' into 'release/v4.0'
...
esp_http_server: Add flag in sock_db to identify httpd_sess_close is called from httpd_session_close_lru (v4.0)
See merge request espressif/esp-idf!12114
2021-01-22 21:26:29 +08:00
Mahavir Jain
7d677373e1
Merge branch 'bugfix/http_client_buffer_overread_v4.0' into 'release/v4.0'
...
esp_http_client: Fix buffer overread, update https_request example to use HTTP/1.1 (v4.0)
See merge request espressif/esp-idf!12110
2021-01-22 18:08:49 +08:00
Shubham Kulkarni
1c10469890
Enable lru_purge_enable in simple HTTP server example
2021-01-22 15:35:46 +05:30
Mahavir Jain
5d490dbc1e
Merge branch 'fix/esp_tls_fix_memory_leak_v4.0' into 'release/v4.0'
...
esp-tls: Fix mem leak when global_ca_store is freed
See merge request espressif/esp-idf!12087
2021-01-22 17:37:32 +08:00
Shubham Kulkarni
9951421910
esp_http_server: Add lru_socket flag in sock_db to indicate httpd_sess_close is called from httpd_sess_close_lru
2021-01-22 11:17:17 +05:30
Shubham Kulkarni
d0a4d91838
esp_http_client.c: Clear raw_len for response buffer after dispatching HTTP_EVENT_ON_FINISH event
...
Closes: https://github.com/espressif/esp-idf/issues/6146
2021-01-22 11:04:11 +05:30
aleks
4f7f09a64f
freemodbus: fix compilation issue when slave id support is enabled
...
Closes https://github.com/espressif/esp-idf/issues/6003
2021-01-21 18:50:39 +01:00
Aditya Patwardhan
4df95abb22
esp-tls: Fix mem leak when global_ca_store is freed
2021-01-21 11:31:52 +05:30
Island
38ea44faaf
Merge branch 'bugfix/ble_mesh_node_set_name_status_check_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Remove node set device name return status check (v4.0)
See merge request espressif/esp-idf!12082
2021-01-21 11:08:02 +08:00
Island
9f78bcc36d
Merge branch 'bugfix/ble_mesh_proxy_client_net_resend_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix proxy client may fail to resend msg (v4.0)
See merge request espressif/esp-idf!12080
2021-01-21 11:07:41 +08:00
Island
ffc0f59565
Merge branch 'bugfix/ble_mesh_prov_use_diff_rand_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Use different random for each provisioning (v4.0)
See merge request espressif/esp-idf!12078
2021-01-21 11:07:26 +08:00
lly
9d4abeb907
ble_mesh: stack: Remove node set device name return status check
2021-01-20 21:11:33 +08:00
lly
4c86bec0e9
ble_mesh: stack: Fix proxy client may fail to resend msg
2021-01-20 21:10:30 +08:00
lly
8737392af0
ble_mesh: stack: Use different random for each provisioning
2021-01-20 21:09:28 +08:00
David Čermák
b1178d092e
Merge branch 'bugfix/mdns_txt_length_collision_v4.0' into 'release/v4.0'
...
mDNS: Fix of text length calculation when detecting a collision(Backport v4.0)
See merge request espressif/esp-idf!12027
2021-01-19 22:16:08 +08:00
Jiang Jiang Jian
a61ec41740
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.0)
See merge request espressif/esp-idf!11849
2021-01-19 21:44:35 +08:00
Island
c23c45a12a
Merge branch 'bugfix/ble_mesh_log_macro_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Add prefix for log macros (v4.0)
See merge request espressif/esp-idf!12053
2021-01-19 17:34:26 +08:00
Angus Gratton
c26e20770d
Merge branch 'bugfix/soc_cpu_signed_compare_v4_0_pr5687' into 'release/v4.0'
...
fix compiler warning: comparison of integer expressions of different...
See merge request espressif/esp-idf!12049
2021-01-19 15:46:30 +08:00
Angus Gratton
7c204c38dd
Merge branch 'bugfix/idf_py_disable_cmake_warnings_default_v4.0' into 'release/v4.0'
...
idf.py: disable cmake uninitialized variable warnings by default (v4.0)
See merge request espressif/esp-idf!10203
2021-01-19 14:21:50 +08:00
lly
421f044eea
ble_mesh: stack: Fix compile warning when log is disabled
2021-01-19 14:05:25 +08:00
lly
3e5d2b9c41
ble_mesh: ci: Add disable log sdkconfig test files
2021-01-19 14:05:25 +08:00
lly
f9152550d2
ble_mesh: stack: Add prefix BLE_MESH_ for log related macros
2021-01-19 14:05:25 +08:00
SiLeader
d7c8dd270f
fix compiler warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int'
...
Merges https://github.com/espressif/esp-idf/pull/5687
Equivalent fix to https://github.com/espressif/esp-idf/issues/6120 for v4.0 branch
2021-01-19 09:15:52 +11:00
Jiang Jiang Jian
a3cee22e7e
Merge branch 'bugfix/fix_some_wifi_bugs_0105_v4.0' into 'release/v4.0'
...
Bugfix/fix some wifi bugs 0105 v4.0 (backport v4.0)
See merge request espressif/esp-idf!11906
2021-01-18 21:22:29 +08:00
Jiang Jiang Jian
822e64d312
Merge branch 'bugfix/fix_iperf_example_crash_issue_v4.0' into 'release/v4.0'
...
Bugfix/fix iperf example crash issue v4.0 (backport v4.0)
See merge request espressif/esp-idf!12020
2021-01-18 19:18:07 +08:00
Island
ff7db0cdc4
Merge branch 'update/ble_mesh_set_hsl_states_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Enable updating lighting hsl state (v4.0)
See merge request espressif/esp-idf!12037
2021-01-18 19:10:26 +08:00
Island
173a5fc131
Merge branch 'bugfix/ble_mesh_build_error_c3_merge_master_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh build error merge master (v4.0)
See merge request espressif/esp-idf!12039
2021-01-18 19:10:01 +08:00
lly
7134ef67cf
ble_mesh: stack: Fix compile warning with BIT macro
2021-01-18 14:08:49 +08:00
lly
d42f39dcb4
ble_mesh: stack: Update mesh max conn macro when using bluedroid
2021-01-18 14:08:12 +08:00
lly
5c1e3eabc1
ble_mesh: stack: Enable updating lighting hsl state
2021-01-18 14:02:01 +08:00
Island
3a56233a4d
Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn_v4.0' into 'release/v4.0'
...
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR. (v4.0)
See merge request espressif/esp-idf!11992
2021-01-18 14:01:19 +08:00
suren.gabrielyan
52fa88b54e
mDNS: Fix of text length calculation when detecting a collision
2021-01-15 16:53:27 +04:00
suren.gabrielyan
0f80a4bd47
mDNS: Fix of collision detection during txt length calculation
...
Closes https://github.com/espressif/esp-idf/issues/6114
2021-01-15 16:53:09 +04:00
xiehang
eb1a1620fe
example: Scan failure should not cause system crash
2021-01-15 20:03:25 +08:00
xiehang
7778034cba
example: do not check the return value of esp_wifi_connect()
2021-01-15 20:00:40 +08:00
Ivan Grokhotkov
9d9d30965f
esp_pm: fix formatting issues in esp_pm_dump_locks
...
- line was truncated because 64 characters were not sufficient
- length passed to snprintf should be full buffer length, not -1
- make the width of lock name field fixed
- fix alignment of lock type column
2021-01-15 12:42:34 +01:00
Ivan Grokhotkov
62da2362a8
esp_pm: esp_pm_dump_locks: don't print from a critical section
...
Reported in https://github.com/espressif/esp-idf/issues/1917
2021-01-15 12:40:17 +01:00
xiehang
9370b74ee0
esp_wifi: Update WiFi lib
...
1. Add check CSA state before CSA timer process
2. Change wifi scan duration from 120ms to 100ms
3. Using deport reg instead of ahb
4. Check TID in ieee80211_recv_bar()
5. Revert to report specific reason code when receiving deauth during 4-way-handshark
6. Fix the bug that tx ampdu parameter is not from peer device
7. Refactor wifi_interface_t
8. Faster WiFi station connect improvement, avoid 100ms passive scan
9. Add FCS failed packets filter
10.Update esp32 phy lib to v4660
11.Fix csa timer issue
12.Fix country code last byte to space instead of NULL
13.Fix softap cannot forward A-MSDU
14.Fix max tx power to 20dBm
15.Fix the issue that the esp_wifi_sta_get_ap_info can't get country
2021-01-15 03:51:36 +00:00
xiehang
155a7f816d
esp_wifi: ESP32 phy add [sections:phy_iram]
2021-01-15 03:51:36 +00:00
ChenJianxing
9eb34fd153
esp_wifi: optimize phy version log
2021-01-15 03:51:36 +00:00
ronghulin
70777a256a
bugfix: fix some wifi bugs
...
1. fix max tx power to 20dBm
2. fix the issue that the esp_wifi_sta_get_ap_info can't get country
Closes https://github.com/espressif/esp-idf/issues/6267
2021-01-15 03:51:36 +00:00
Island
5718652952
Merge branch 'bugfix/ble_mesh_macro_OR_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix using wrong | for OR between macros (v4.0)
See merge request espressif/esp-idf!11995
2021-01-14 19:01:15 +08:00
lly
4902b2745b
ble_mesh: stack: Fix using wrong | for OR between macros
2021-01-14 15:59:46 +08:00
Island
a47099b028
Merge branch 'feat/ble_mesh_support_ble_scan_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Add BLE scan callback when mesh is enabled (v4.0)
See merge request espressif/esp-idf!11965
2021-01-14 15:47:52 +08:00
Chinmay Chhajed
c4fe4dbf67
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-14 12:23:04 +05:30
Jiang Jiang Jian
f2038b959a
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs_v4.0' into 'release/v4.0'
...
component_bt/fix spp vfs demo crash when use dynamic memory[backport v4.0]
See merge request espressif/esp-idf!11729
2021-01-14 11:19:34 +08:00
Mahavir Jain
5a64638848
Merge branch 'fix/esp_tls_add_warning_if_ca_chain_has_invalid_cert_v4.0' into 'release/v4.0'
...
esp_tls: Add warning if the CA chain provided contains one/more invalid cert
See merge request espressif/esp-idf!11943
2021-01-12 23:26:55 +08:00
lly
024017e3f2
ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files
2021-01-12 19:15:36 +08:00
lly
f9b53a909b
ble_mesh: stack: Support reporting normal ble adv packets
2021-01-12 19:15:36 +08:00
lly
34b5c1cf72
ble_mesh: stack: Add a btc file for ble coex functions
...
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().
With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2021-01-12 19:15:36 +08:00
lly
88b550ba75
ble_mesh: stack: Move ble scan funcitons to a single file
2021-01-12 19:15:35 +08:00
lly
d1553311a2
ble_mesh: stack: Optimize handling received mesh adv packets
2021-01-12 19:15:35 +08:00
Island
725f882897
Merge branch 'optimize/ble_mesh_miscellaneous_v4.0' into 'release/v4.0'
...
Optimize/ble mesh miscellaneous (v4.0)
See merge request espressif/esp-idf!11949
2021-01-12 19:13:10 +08:00
lly
73dee43e55
ble_mesh: stack: Move bt_mesh_rand to mesh_common.c
2021-01-11 19:28:36 +08:00
lly
decd6956f3
ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files
2021-01-11 19:28:31 +08:00
lly
93991bda4a
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2021-01-11 19:28:25 +08:00
lly
866b6b439c
ble_mesh: stack: Update ARRAY_SIZE definition
2021-01-11 19:27:55 +08:00
Island
9172fcaa77
Merge branch 'feat/ble_mesh_multiple_nvs_namespace_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Provisioner supports multiple nvs namespaces (v4.0)
See merge request espressif/esp-idf!11936
2021-01-11 18:55:37 +08:00
Aditya Patwardhan
238ac2293b
esp_tls: Add warning if the CA chain provided contains one/more invalid cert
2021-01-11 12:41:07 +05:30
Mahavir Jain
0be9d54b90
Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'
...
mbedtls: upgrade to v2.16.9 release (v4.0)
See merge request espressif/esp-idf!11901
2021-01-11 14:01:14 +08:00
lly
63adf8503f
ble_mesh: ci: Add settings sdkconfig test files
2021-01-11 10:08:33 +08:00
lly
8c883fd410
ble_mesh: stack: Provisioner supports multiple nvs namespaces
...
Now Provisioner can use different NVS namespaces to store
different instances of mesh information, for example, for
different user accounts.
2021-01-11 10:08:23 +08:00
Island
c97fc5ef8c
Merge branch 'feat/ble_mesh_provisioner_recv_hb_support_v4.0' into 'release/v4.0'
...
Feat/ble mesh provisioner recv hb support (v4.0)
See merge request espressif/esp-idf!11915
2021-01-08 18:30:28 +08:00
lly
f9f29b779c
ble_mesh: ci: Add enabling hb recv sdkconfig file
2021-01-08 09:33:04 +08:00
lly
f0af8858da
ble_mesh: stack: Provisioner supports receiving heartbeat
2021-01-08 09:33:04 +08:00
Mahavir Jain
2d7eb60491
mbedtls: upgrade to v2.16.9 release
...
For details release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.9
2021-01-07 11:20:30 +05:30
Island
b4261e53d9
Merge branch 'bugfix/ble_mesh_node_id_adv_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix Node ID adv with wrong timeout (v4.0)
See merge request espressif/esp-idf!11879
2021-01-06 17:08:51 +08:00
lly
726225c5f3
ble_mesh: stack: Fix Node ID adv with wrong timeout
2021-01-05 20:15:16 +08:00
Jiang Jiang Jian
d56cca3413
Merge branch 'bugfix/fix_ping_specify_length_issue_v4.0' into 'release/v4.0'
...
bugfix: fix ICMP specify length issue (backport v4.0)
See merge request espressif/esp-idf!11838
2021-01-05 10:45:16 +08:00
XieWenxiang
f81bdd933e
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 15:54:09 +08:00
Mahavir Jain
43c9d9c1cd
Merge branch 'fix/i2c_pm_lock_v4.0' into 'release/v4.0'
...
i2c: Acquire PM lock after acquiring mutex (v4.0)
See merge request espressif/esp-idf!11832
2020-12-31 12:33:50 +08:00
ronghulin
4985b77fff
bugfix: fix ICMP specify length issue
2020-12-30 18:01:01 +08:00
Sachin Parekh
e78721db05
i2c: Acquire PM lock after acquiring mutex
2020-12-30 13:25:21 +05:30
Jiang Jiang Jian
37317d1f2f
Merge branch 'bugfix/bt_bluedroid_same_public_key_attack_v4.0' into 'release/v4.0'
...
Bluedroid: Fixes for some Bluetooth vulnerabilities. (v4.0)
See merge request espressif/esp-idf!11765
2020-12-28 11:41:14 +08:00
Chinmay Chhajed
b3d5ed3a03
Bluedroid: Fixes for some vulnerabilities.
...
This commit fixes 'Impersonation in Passkey entry protocol'
(CVE-2020-26558) and suggests fixes for other vulnerabilites like
'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and
'Authentication of the LE Legacy Pairing Protocol'
CVE-2020-26558 can be easily implemented if the peer device can
impersonate our public key. This commit adds a check by comparing our
and received public key and returns failed pairing if keys are same.
This commit also adds comments suggesting to use secure connection when
supported by all devices.
2020-12-25 16:01:47 +05:30
Jiang Jiang Jian
5a069ea324
Merge branch 'bugfix/fix_wps_examples_issue_v4.0' into 'release/v4.0'
...
esp_wifi: Fix WPS examples issue (v4.0)
See merge request espressif/esp-idf!11730
2020-12-24 12:34:39 +08:00
zhangyanjiao
e4bd2bebb5
esp_wifi: Add WPS Reason code in all failures
2020-12-23 17:35:06 +08:00
xiehang
41a4da16d3
esp_wifi: Fix WPS examples issue
2020-12-23 15:43:19 +08:00
liqigan
d64a19b73c
fix spp vfs demo crash when use dynamic memory
2020-12-23 15:26:58 +08:00
Jiang Jiang Jian
64dfa78eed
Merge branch 'bugfix/collection_bugfix_backport_for_4_0' into 'release/v4.0'
...
Bugfix/collection bugfix backport for 4 0
See merge request espressif/esp-idf!11710
2020-12-23 13:55:01 +08:00
baohongde
711184762b
components/bt: Fix waking up fail while sleeping
2020-12-22 21:28:44 +08:00
baohongde
998a1f9ebb
components/bt: Make sleep avaliable in hli(for future use)
2020-12-22 21:23:09 +08:00
wangcheng
b9f79249b8
components/bt: backport need commit to release/v4.0
2020-12-22 19:54:53 +08:00
wangcheng
0f4592eea0
components/bt: fixed memory damage caused by bluetooth memory release
2020-12-22 19:54:53 +08:00
gengyuchao
16ff064f68
btdm: Add comments to clarify the two different device names of GAP and ADV in the ble_spp_server_demo example, as the old example might confuse users.
2020-12-22 19:54:53 +08:00
weitianhua
ca66b50481
collection of bugfix backport for release/v4.0
2020-12-22 19:54:53 +08:00
wangcheng
e11820cd5b
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-22 19:54:53 +08:00
Jiang Jiang Jian
5a1a21ed2f
Merge branch 'bugfix/revert_wifi_iram_optimization_v4.0' into 'release/v4.0'
...
esp_wifi: revert wifi iram optimization(v4.0)
See merge request espressif/esp-idf!11514
2020-12-22 19:03:01 +08:00
Jiang Jiang Jian
90e4363f7a
Merge branch 'fixbug/baidu_tcp_recv_assert_for_4.0' into 'release/v4.0'
...
lw-ip:fix bug for tcp recv assert(backport 4.0)
See merge request espressif/esp-idf!11603
2020-12-22 16:19:05 +08:00
Jiang Jiang Jian
ef7aca1a66
Merge branch 'nimble/fix_misc_coverity_issue_v4.0' into 'release/v4.0'
...
Nimble: Fix misc issues in NimBLE NVS, `ble_eddystone`, recursive call and L2CAP CoC (v4.0)
See merge request espressif/esp-idf!11392
2020-12-22 15:01:25 +08:00
xueyunfei
0859b2a63e
fix bug for tcp recv assert
2020-12-22 06:37:02 +00:00
Anton Maklakov
0b540809bc
Merge branch 'ci/disable_dev_push_pipelines_v4.0' into 'release/v4.0'
...
CI: Disable pipelines generated by push on dev branches (v4.0)
See merge request espressif/esp-idf!11594
2020-12-22 13:11:55 +08:00
Jiang Jiang Jian
e2cd3495a1
Merge branch 'bugfix/confirmed_bugfix_from_baidu_proj_4.0' into 'release/v4.0'
...
Fix BT controller dead issue caused by clk overflow [backport v4.0]
See merge request espressif/esp-idf!10546
2020-12-22 12:47:44 +08:00
Jiang Jiang Jian
f030faa34c
Merge branch 'bugfix/fix_crash_caused_by_calling_deinit_directly_4_0' into 'release/v4.0'
...
Fix crash cause by calling a2dp deinit when connected [backport v4.0]
See merge request espressif/esp-idf!11691
2020-12-21 11:49:00 +08:00
weitianhua
66be657233
Fix crash cause by calling a2dp deinit when connected
2020-12-21 10:27:04 +08:00
weitianhua
cd46129b49
Free ACL RX Buffer in EM when disconnecting
2020-12-17 20:35:57 +08:00
weitianhua
911b90eb21
Confirmed bugfix from Baidu Project
2020-12-17 20:35:57 +08:00
weitianhua
62f781553b
Enable PCM config in Host
2020-12-17 20:35:57 +08:00
Artem Godlevskyi
ce999fe02e
Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition
...
Signed-off-by: Prasad Alatkar <prasad.alatkar@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5825
2020-12-17 07:19:59 +00:00
Prasad Alatkar
80ad3c1337
NimBLE: Fix misc coverity issues in NimBLE host
...
- NimBLE NVS : Additional check to account for NVS operation failure
- NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen
- NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857
2020-12-17 07:19:59 +00:00
Fu Hanxi
518c4372fa
CI: Disable pipelines generated by push on dev branches
2020-12-17 04:59:15 +00:00
Island
4891353122
Merge branch 'optimize/ble_mesh_provision_dev_uuid_check_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Need uuid when adding device for provisioning (v4.0)
See merge request espressif/esp-idf!11579
2020-12-16 19:25:09 +08:00
Anton Maklakov
3259f7a964
Merge branch 'bugfix/cxx_exception_workarounds_4.0' into 'release/v4.0'
...
toolchain: C++ exception workarounds (backport 4.0)
See merge request espressif/esp-idf!10289
2020-12-16 16:14:58 +08:00
Jakob Hasse
8329d51fd0
toolchain: C++ exception workaround
...
* disable C++ exception FDE sorting (saves RAM)
Closes IDF-1128
2020-12-16 09:25:36 +07:00
Anton Maklakov
1797fa7716
Merge branch 'bugfix/docker_gdb_python_v4.0' into 'release/v4.0'
...
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies (backport v4.0)
See merge request espressif/esp-idf!10309
2020-12-16 10:02:16 +08:00
Ivan Grokhotkov
f7dfee7dcd
Merge branch 'test/disable_twai_example_ci_v4.0' into 'release/v4.0'
...
Temporarily disable TWAI network example test (backport v4.0)
See merge request espressif/esp-idf!11563
2020-12-16 04:22:02 +08:00
Martin Stejskal
c9427ea613
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies
...
It was not possible to run xtensa-esp32-elf-gdb from container due to
missing libpython2.7 library.
Merges https://github.com/espressif/esp-idf/pull/5817
Closes https://github.com/espressif/esp-idf/issues/5284
2020-12-15 20:09:08 +00:00
Michael (XIAO Xufeng)
65517844f7
Merge branch 'bugfix/phy_xpd_v4.0' into 'release/v4.0'
...
wifi: add set_xpd_sar override(backport v4.0)
See merge request espressif/esp-idf!11544
2020-12-16 01:04:53 +08:00
lly
b8827d45c6
ble_mesh: ci: Add PB-ADV & PB-GATT sdkconfig test files
2020-12-15 11:59:11 +00:00
lly
85e3b86fd7
ble_mesh: stack: Need uuid when adding device for provisioning
2020-12-15 11:59:11 +00:00
Anton Maklakov
a987a8ade6
Merge branch 'bugfix/ci_py2_warnings_fix_v4.0' into 'release/v4.0'
...
ci: Python 2 warnings fix (v4.0)
See merge request espressif/esp-idf!11619
2020-12-15 19:06:33 +08:00
Anton Maklakov
9e780a5be9
Merge branch 'feature/ci_fix_docker_build_v4.0' into 'release/v4.0'
...
ci: Use git mirror for docker image (v4.0)
See merge request espressif/esp-idf!10447
2020-12-15 15:42:39 +08:00
Anton Maklakov
3fc9ab4eb3
tools: Redirect some warnings to stderr
2020-12-15 13:32:49 +07:00
Anton Maklakov
a10d115e84
ci: Ignore Python 2 deprecation warning
2020-12-15 13:32:30 +07:00
Mahavir Jain
db603854a9
Merge branch 'bugfix/redirection_v4.0' into 'release/v4.0'
...
esp_http_client: Skip check for redirection counter if status code is success, fix issue with digest auth, configurable user agent string. (v4.0)
See merge request espressif/esp-idf!11599
2020-12-14 20:20:40 +08:00
Scott Shell
52b069bd03
Make the UserAgent string in esp-http-client configurable
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/6044
2020-12-14 14:42:17 +05:30
Shubham Kulkarni
670144ed7c
http_auth.c: Fix crash when opaque field is not present in challenge string
...
Closes: https://github.com/espressif/esp-idf/issues/5888
2020-12-14 14:42:08 +05:30
Shubham Kulkarni
3194bba14d
esp_http_client: Skip check for redirection counter if status code is success.
...
Set disable_auto_redirect in esp_http_client example to validate this condition in CI
2020-12-14 14:41:54 +05:30
Victor Lamoine
cad6eda381
Fix ccache documentation: environment variable is IDF_CCACHE_ENABLE
...
Merges https://github.com/espressif/esp-idf/pull/5753
2020-12-14 07:26:09 +00:00
Angus Gratton
047480058c
idf.py: Disable CMake --warn-uninitialized option by default
...
Can still be enabled by passing --cmake-warn-uninitialized on the command line
Prevents CMake warnings printed by default if IDF_PATH is underneath the CMake
project directory.
The reason for this is that CMake --warn-uninitialized only enables checks
inside the project directory (ie top-level CMakeLists.txt directory and
subdirectories), it doesn't enable for files included from other directories.
(The only way to enable warnings in other directories is to pass
--check-system-dirs and this looks like it's only useful for CMake's own
developers as it prints a lot of warnings from inside CMake otherwise - see
https://gitlab.kitware.com/cmake/cmake/-/issues/19645 )
Plan to follow up with a later commit to clean up most of the warnings (which
aren't problems for CMake execution), but we'll also disable this option by
default to avoid this unexpected triggering of IDF warnings.
2020-12-14 07:26:09 +00:00
Angus Gratton
7ae3bb3298
Merge branch 'feature/switch_from_external_to_interanl_ram_v4.0' into 'release/v4.0'
...
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack (v4.0)
See merge request espressif/esp-idf!9969
2020-12-14 15:24:40 +08:00
Angus Gratton
4f7eacee75
Merge branch 'bugfix/esptool_version_v4.0' into 'release/v4.0'
...
esptool: Update esptool to latest v2.x version (backport v4.0)
See merge request espressif/esp-idf!11584
2020-12-14 15:14:32 +08:00
radim.karnis
1592e29a71
Changed esptool version to latest v2.x
2020-12-11 13:08:47 +01:00
Krzysztof Budzynski
8822c94ef1
Merge branch 'feature/python2-deprecation-warn_v4.0' into 'release/v4.0'
...
Tools: Add Python 2 deprecation warning (v4.0)
See merge request espressif/esp-idf!11528
2020-12-11 11:37:47 +08:00
Darian Leung
51103377c6
twai: Temporarily disable network example test
...
Disabling network example test due to issue with synchronizing the
start of each DUT
2020-12-10 21:34:05 +08:00
daiziyan
4c65e031ea
add CN translation for adding python2 deprecation warning(MR 11115)
2020-12-09 23:50:19 +01:00
Cao Sen Miao
c4f11f7138
adc_i2s: solve the i2s_adc issue when using wifi
2020-12-09 22:41:49 +08:00
KonstantinKondrashov
b902d6be39
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
...
If esp_restart_noos() is run and the stack address points to external memory (SPIRAM)
then Cache_Read_Disable() raises up the error "Cache disabled but cached memory region accessed"
to fix this we switch stack to internal RAM before disable cache.
Added unit tests.
Closes: https://github.com/espressif/esp-idf/issues/5107
2020-12-08 16:55:50 +00:00
martin.gano
c05fcc6a1d
Tools: add Python 2 deprecation warning
2020-12-08 15:46:41 +01:00
ChenJianxing
3cefb0ad8f
esp_wifi: revert wifi iram optimization
2020-12-08 14:23:09 +08:00
Krzysztof Budzynski
3467c44ff8
Merge branch 'doc/update_CN_translation_for_relase/v4.0' into 'release/v4.0'
...
update CN translation for index.rst in get-started folder (v4.0)
See merge request espressif/esp-idf!11457
2020-12-08 10:44:43 +08:00
Dai Zi Yan
14de2ba81a
update CN translation for index.rst in get-started folder (v4.0)
2020-12-08 10:44:40 +08:00
Michael (XIAO Xufeng)
31760789c3
Merge branch 'bugfix/can_backport_accumulated_fixes_v4.0' into 'release/v4.0'
...
CAN backport accumulated fixes (backport v4.0)
See merge request espressif/esp-idf!11461
2020-12-04 23:59:12 +08:00
Darian Leung
7c8208d903
CAN: ISR runs when cache is disabled
...
This commit adds the feature where the CAN ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_CAN_ISR_IN_IRAM option.
2020-12-04 19:03:19 +08:00
Jiang Jiang Jian
7428caeb06
Merge branch 'bugfix/fix_some_wifi_bugs_1117_v4.0' into 'release/v4.0'
...
Fix some wifi bugs 1117 (backport v4.0)
See merge request espressif/esp-idf!11263
2020-12-04 11:57:51 +08:00
Angus Gratton
3ca0b7a447
Merge branch 'bugfix/fix_partition_table_in_flash_encryption_example_v4.0' into 'release/v4.0'
...
example/flash_encryption: Fix partition table (v4.0)
See merge request espressif/esp-idf!10853
2020-12-04 11:25:09 +08:00
Island
0182e53431
Merge branch 'feature/btdm_support_some_ble_new_features_v4.0' into 'release/v4.0'
...
components/bt: backport some new features for Bluedroid BLE(release v4.0)
See merge request espressif/esp-idf!11453
2020-12-03 19:04:02 +08:00
xiehang
c088c19322
esp_wifi: Fix some wifi bugs 1117
...
1. Optimize WiFi debug log
2. WiFi IRAM optimization
3. Update WiFi toolchain to 1.22.0-97-gc752ad5
4. Optimize WiFi TX performance
2020-12-03 17:49:22 +08:00
xiewenxiang
f8581b40fc
component/bt: support BLE Read Attribute value by UUID
2020-12-03 16:47:13 +08:00
xiewenxiang
2505769c0b
component/bt: refactor ble random address setting
2020-12-03 16:47:04 +08:00
XieWenxiang
8db16a50ae
component/bt: support BLE Application Layer Encryption key size check
2020-12-03 16:46:53 +08:00
XieWenxiang
069325a7ed
component/bt: support BLE Authorization
2020-12-03 16:44:45 +08:00
xiewenxiang
b585eccf36
component/bt: fix incorrect encryption flag setting
2020-12-03 16:36:19 +08:00
liu zhifu
c2b6a2d24f
esp_wifi: optimize WiFi debug log
...
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-12-03 16:04:11 +08:00
Darian Leung
bcc7d105ba
can: Fix critical section ESP_LOG functions
...
This commit removes any function calls within
the CAN driver that result in a call to ESP_LOG
whilst inside a critical section.
These function calls are either moved outside
critical sections (e.g., intr_alloc and gpio
functions), or substituted (e.g., assert()).
2020-12-02 21:47:35 +08:00
Darian Leung
05adedcc72
can: Fix semaphore take in critical section
...
This commit fixes can_reconfigure_alerts() which
could lead to a call to xSemaphoreTake() whilst
inside a critical section.
2020-12-02 21:45:55 +08:00
Darian Leung
4741e6787d
CAN: Fix size of RX msg count field on the esp32
...
This commit fixes the size of the RX message count register field
on the esp32.
2020-12-02 21:35:07 +08:00
Jiang Jiang Jian
6823364442
Merge branch 'bugfix/blufi_config_potential_double_free_v4.0' into 'release/v4.0'
...
Bugfix/blufi config potential double free v4.0
See merge request espressif/esp-idf!11165
2020-12-02 17:03:27 +08:00
Angus Gratton
78bbde6b44
Merge branch 'bugfix/blecent_example_test_4.0' into 'release/v4.0'
...
Fix CI blecent example test (backport v4.0)
See merge request espressif/esp-idf!11321
2020-12-02 15:41:09 +08:00
Jiang Jiang Jian
b3b712c24e
Merge branch 'bugfix/fix_some_wifi_bugs_1127_v4.0' into 'release/v4.0'
...
esp_wifi: fix some wifi bugs 1127 (backport v4.0)
See merge request espressif/esp-idf!11416
2020-12-02 13:20:17 +08:00
zhangyanjiao
160e43a95b
esp_wifi: update wifi lib for bugfixs
2020-12-01 20:10:35 +08:00
aditi_lonkar
54c012905f
wifi: Fix esp_wifi log levels
2020-12-01 19:36:00 +08:00
Nachiket Kukade
2db6b1578e
esp_wifi: Update wifi lib
...
1. Use flag ESP32_WIFI_ENABLE_WPA3_SAE to control WPA3 code, disabling
it code footprint reduces by 7.7kB in libwpa_supplicant.a
2. Fix handling of multiple AP credentials in WPS, apps need update
to handle the new event for the fix to work
2020-12-01 19:28:56 +08:00
Ivan Grokhotkov
c15579fd85
examples: fix flash encryption example test
...
Commit 5e8795eebe has changed the partition table offset, which
has resulted in the ciphertext not matching the one expected in the
example test.
Fix by calculating the ciphertext using espsecure.py.
2020-12-01 18:32:54 +08:00
KonstantinKondrashov
5686cbb1d7
example/flash_encryption: Fix partition table and sdkconfig.defaults
...
When the flash encryption is enabled then we do not need to change the partition table.
The partition_example.csv should not have fixed offsets for partitions because we want to move the whole table.
The fixed offsets in the table were cleared.
2020-12-01 16:49:12 +08:00
Nachiket Kukade
b2dec946b6
esp_wifi: Update docs for wifi headers
2020-12-01 16:44:53 +08:00
ChenJianxing
2c85d3dd62
esp_wifi: remove wifi tx buffer limits
2020-12-01 16:36:59 +08:00
Xia Xiaotian
5616dd57da
Wi-Fi: set softap beacon DTIM count according to TSF timer
2020-12-01 16:35:38 +08:00
dongyou
2252c75588
esp_wifi: update description for WiFi APIs
...
1. Add description for esp_wifi_set_inactive_time()
2. Add documentation to avoid using WiFi modem sleep for WiFi/BT coexistence
3. Remove description of unusable API esp_wifi_restart()
4. Update esp_now_fetch_peer discription
5. Update table format prblm for esp_wifi_set_max_tx_power()
6. Update description for ssid and password
2020-12-01 15:48:59 +08:00
kapil.gupta
280a342826
esp_wifi: Add support for 802.1x sha256 auth key mode
...
Closes https://github.com/espressif/esp-idf/issues/5805
2020-12-01 14:47:30 +08:00
Angus Gratton
52019fdd63
Merge branch 'bugfix/rtc_clk_cal_cycles_add_default_vals_for_all_sources_v4.0' into 'release/v4.0'
...
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option (v4.0)
See merge request espressif/esp-idf!11414
2020-12-01 13:54:19 +08:00
KonstantinKondrashov
80629a75a2
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option
...
Closes: https://github.com/espressif/esp-idf/issues/6037
2020-11-30 23:13:44 +08:00
Shivani Tipnis
70841722f1
ci: Fix blecent example test
...
(cherry picked from commit fc146a98e4 )
2020-11-30 16:29:54 +05:30
Hrudaynath Dhabe
7b4a2560a6
wpa_supplicant: Minor bugfix with wpa_supplicant debug logs.
2020-11-27 15:42:41 +08:00
Hrudaynath Dhabe
395fa980d8
wpa_supplicant: Fix configurable debug log feature's warning issue
2020-11-27 15:41:55 +08:00
GOPTIONS\pfrost
e5b52ae423
Reduce log level of hexdumps to verbose
...
Revert "Reduce log level of hexdumps to verbose"
Add a menuconfig option to enable or disable the logging in wpa_supplicant
Clarify help message
2020-11-27 15:41:34 +08:00
ronghulin
9a7ba5e6fc
bugfix: fix TCP timer interval
2020-11-27 15:35:10 +08:00
ronghulin
9253d41b1a
fix TCP retransmission interval
2020-11-27 15:33:07 +08:00
Jan-Hendrik Frintrop
d39fc7ca00
Fixed links to example directories for fast_scan and scan
...
Signed-off-by: ronghulin <ronghulin@espressif.com >
https://github.com/espressif/esp-idf/pull/5186
2020-11-27 15:27:44 +08:00
dongyou
7182a65419
WIFI: Iperf example's parameter opt was uninitialized, may leads setsockoption invalide if it equal to 0
2020-11-27 15:25:09 +08:00
kapil.gupta
dae98ddff7
wpa_supplicant: Replace internal RSA APIs by mbedtls APIs
...
Curretly wpa_supplicant uses internal APIs for RSA operations
which internally uses lots of big num operations.
Big num operations are CPU expensive and can take a lot of time
which can cause watchdog timer to tigger.
This can be optimize by using mbedtls APIs which uses
hardware blocks for big num operations.
To fix this, write new crypto_mbedtls-rsa.c which has APIs
similar to crypto_internal-rsa.c but uses mbedtls APIs.
2020-11-27 15:22:51 +08:00
Island
5630b17e11
Merge branch 'feat/ble_mesh_node_local_data_func_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Add node local netkey/appkey func (v4.0)
See merge request espressif/esp-idf!11364
2020-11-25 20:23:01 +08:00
lly
e3ddd91fb7
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
2020-11-25 11:02:00 +08:00
lly
f151771bce
ble_mesh: stack: Add node local netkey/appkey func
2020-11-25 11:01:46 +08:00
Island
5220510152
Merge branch 'optimize/ble_mesh_reduce_code_size_v4.0' into 'release/v4.0'
...
Optimize/ble mesh reduce code size (v4.0)
See merge request espressif/esp-idf!11345
2020-11-25 10:49:46 +08:00
wangcheng
e7375c79b0
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:54:39 +08:00
wangcheng
3adfbaeb2f
component/bt: Fix a potential double free error.
2020-11-24 10:46:25 +08:00
wangcheng
724d863116
blufi: fix an error caused by incorrect conn_id parameters.
2020-11-24 10:46:22 +08:00
Angus Gratton
39ca3ee8dc
Merge branch 'ci/fix_annotated_tag_check_v4.0' into 'release/v4.0'
...
ci: Fix annotated tag check (v4.0)
See merge request espressif/esp-idf!11333
2020-11-24 06:32:10 +08:00
Jiang Jiang Jian
37ac9d09f4
Merge branch 'bugfix/fix_some_wifi_bugs_0924_v4.0' into 'release/v4.0'
...
WiFi: fix some wifi bugs 0924 (backport v4.0)
See merge request espressif/esp-idf!10614
2020-11-23 21:31:05 +08:00
lly
26f7afed46
ble_mesh: example: Update sdkconfig test files for disabling Health Server model
2020-11-23 20:13:06 +08:00
lly
4391a24c2f
ble_mesh: stack: Add a Kconfig option to make Health Server model optional
2020-11-23 20:13:06 +08:00
lly
b71b99b7be
ble_mesh: stack: Split model Kconfig menu into foundation and others
2020-11-23 20:13:06 +08:00
lly
d8266bd917
ble_mesh: example: Fix fast provisioning compile error
2020-11-23 20:13:06 +08:00
lly
e7a5412cfd
ble_mesh: ci: Add disabling mesh model sdkconfig test files
2020-11-23 20:13:05 +08:00
lly
7f411c9cb7
ble_mesh: stack: Add Kconfig options to make server models optional
2020-11-23 20:13:05 +08:00
lly
440b94d272
ble_mesh: stack: Use Kconfig option to make client models optional
2020-11-23 20:13:05 +08:00
lly
bc163f982d
ble_mesh: stack: Make some internal static functions inline
2020-11-23 20:13:05 +08:00
lly
342a26bb60
ble_mesh: ci: Add disabling mesh deinit sdkconfig test files
2020-11-23 20:13:05 +08:00
lly
fe86760ff6
ble_mesh: stack: Add a Kconfig option to make deinit optional
2020-11-23 20:13:04 +08:00
lly
58ac97cb4c
ble_mesh: stack: Introduce a new header file mesh_config.h
2020-11-23 20:13:04 +08:00
Island
1d771d081b
Merge branch 'bugfix/ble_mesh_proxy_cfg_replay_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh proxy cfg replay (v4.0)
See merge request espressif/esp-idf!11337
2020-11-23 20:08:55 +08:00
Island
ab055d2421
Merge branch 'bugfix/ble_mesh_node_deinit_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Persistent storage misc fixes (v4.0)
See merge request espressif/esp-idf!11336
2020-11-23 20:01:28 +08:00
Mahavir Jain
7f76f57b29
Merge branch 'fix/protocomm_simple_ble_v4.0' into 'release/v4.0'
...
Protocomm/simple_ble: Fix gatt table map size to number of handles received (v4.0)
See merge request espressif/esp-idf!11267
2020-11-23 18:44:52 +08:00
Jiang Jiang Jian
1e3eed8265
Merge branch 'bugfix/fix_spp_read_flow_control_v4.0' into 'release/v4.0'
...
component_bt/fix spp flow control and vfs write [backport 4.0]
See merge request espressif/esp-idf!11074
2020-11-23 15:49:54 +08:00
zhangyanjiao
0a8abf6ffe
esp_wifi:
...
1. Modify LR for esp32
2. Optimize some debug logs for probe response
3. Optimize phy and soc files
4. Fix the bug that no event for connect
5. Fix the bug that set_channel doesn't work for softAP
6. Add sta connect again ap sent disconnect event
7. Add set/get inactive time api
8. Fix connect hidden AP doesn't update information
9. Add rf test long short support
2020-11-23 15:08:40 +08:00
lly
5c7960de0d
ble_mesh: stack: Store kr phase after value changed [Zephyr]
2020-11-23 15:07:14 +08:00
lly
613616b445
ble_mesh: stack: Fix rpl not check by proxy cfg [Zephyr]
2020-11-23 15:07:14 +08:00
lly
97a54a9818
ble_mesh: stack: Persistent storage misc fixes
...
* Fix the issue that deinit node with "erase_flash"
set to true, but info is not erased from nvs
* Reuse bt_mesh_cfg_reset() when deinit node
* Optimize Provisioner related erase operations
* No store pending timeout will be used when Node
is not provisioned OR Provisioner is disabled
and erase operation is performed
* Change the default timeout for settings operation
to 0, and rpl store rate to 0
2020-11-23 15:01:50 +08:00
Island
39d213378c
Merge branch 'bugfix/ble_mesh_settings_fix_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh settings fix (v4.0)
See merge request espressif/esp-idf!11326
2020-11-23 14:42:18 +08:00
Island
5f58e32f34
Merge branch 'optimize/ble_mesh_gattc_conn_param_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Update connection parameters used by Central (v4.0)
See merge request espressif/esp-idf!11327
2020-11-23 14:42:13 +08:00
Angus Gratton
42ffc348a6
ci: Fix annotated tag check
...
Regression in 1612f84
2020-11-23 17:29:46 +11:00
Prasad Alatkar
7adfe57302
Protocomm/simple_ble: Make gatt table map size equal to number of handles received (v4.0)
...
- Fixes memcpy failure observed while adding 2 or more endpoints in
wifi_provisioning.
Closes IDF-2250
2020-11-23 05:34:22 +00:00
liqigan
023f44e348
replace list and ringbuffer with fixed queue
...
use eventgroup to sync spp_vfs_write
each connection has a switch_delay_timer not sharing a one
revert functions like spp_find_slot_by_xxx
fix vfs read bug when peer close
2020-11-23 12:22:30 +08:00
liqigan
2765d5b829
move flow control to btc layer
...
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
2020-11-23 12:22:30 +08:00
liqigan
ba3f69feea
add event when calling spp API failed
2020-11-23 12:22:30 +08:00
lly
004393ec5f
ble_mesh: stack: Update connection interval to 15ms
2020-11-23 08:53:37 +08:00
lly
b1383f5c0f
ble_mesh: stack: Update connection parameters used by Central
2020-11-23 08:53:37 +08:00
lly
4fa39cae98
ble_mesh: stack: Use settings_core_erase when deinit
2020-11-23 08:45:04 +08:00
lly
666488a940
ble_mesh: stack: Fix storing next net_idx and app_idx
2020-11-23 08:45:04 +08:00
lly
3421336d66
ble_mesh: stack: Continue restore even if failure happens
...
Previously we have used this solution for node info
restore. Here use the same solution for other mesh
information restore.
2020-11-23 08:45:04 +08:00
lly
ad1d5764e2
ble_mesh: stack: Split model settings store and clear
2020-11-23 08:45:04 +08:00
lly
db4a344a33
ble_mesh: stack: Erase netkey and appkey with key index
2020-11-23 08:45:04 +08:00
lly
29c7645093
ble_mesh: stack: Add clear hb_pub in settings
2020-11-23 08:45:04 +08:00
lly
692ccf774b
ble_mesh: stack: Transport rx reset settings update
...
When reset the rx info of transport layer, the
rpl list will always cleared, and rpl stored
in the nvs will only be erased when erase flag
is true and BLE_MESH_SETTINGS is enabled.
Compared with the previous solution, it should
be more clear.
2020-11-23 08:45:04 +08:00
lly
034906c6a8
ble_mesh: stack: Use erase settings functions
2020-11-23 08:45:04 +08:00
lly
69131a11ed
ble_mesh: stack: Use mutex for settings operation
...
Also expose the settings functions with the parameter
bt_mesh_nvs_handle_t, which will be used for further
updates.
2020-11-23 08:45:04 +08:00
lly
8cbc93101e
ble_mesh: stack: Add role check before enabling device
2020-11-23 08:45:03 +08:00
lly
c39097a601
ble_mesh: stack: Define a type for mesh nvs handle
2020-11-23 08:45:03 +08:00
lly
b4131cb6a9
ble_mesh: ci: Enable settings in sdkconfig.ci.xxx
2020-11-23 08:45:03 +08:00
Jiang Jiang Jian
a6db1162e8
Merge branch 'feat/ble_mesh_use_model_c_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Use model callback for operations [Zephyr] (v4.0)
See merge request espressif/esp-idf!10364
2020-11-22 18:57:11 +08:00
Jiang Jiang Jian
e0c22867b9
Merge branch 'bugfix/ble_mesh_sensor_example_fix_v4.0' into 'release/v4.0'
...
ble_mesh: example: Fix sensor data wrong iteration (v4.0)
See merge request espressif/esp-idf!10275
2020-11-22 18:56:57 +08:00
lly
d9033cfeec
ble_mesh: example: Fix sensor data wrong iteration
2020-11-22 09:27:44 +00:00
lly
8d9b0909a3
ble_mesh: stack: Use model callback for operations [Zephyr]
...
- Previously when a model is initialized or deinitialized, in the
access layer, we need to check the model id with the ids in the
table in order to find the proper model operation function.
- Currently all the operation functions of each model will be set
during the mesh initialization. When the model is found, we can
directly use the corresponding callback for different operations.
- Currently only init/deinit operations are registered, later we
will add more operations.
2020-11-22 09:26:41 +00:00
Jiang Jiang Jian
d6f697e113
Merge branch 'bugfix/cxx_flag_operators_v4.0' into 'release/v4.0'
...
esp_eth: moved extern "C" after includes (v4.0)
See merge request espressif/esp-idf!11219
2020-11-22 15:35:22 +08:00
Jiang Jiang Jian
7a55981dca
Merge branch 'feature/esp_tls_for_supplicant_v4.0' into 'release/v4.0'
...
wpa_supplicant: Support for mbedtls tls handshake(backport v4.0)
See merge request espressif/esp-idf!9860
2020-11-21 22:43:33 +08:00
Jiang Jiang Jian
eb9520fdb0
Merge branch 'bugfix/backport_some_lwip_bugs_1120_v4.0' into 'release/v4.0'
...
lw-ip:backport bugfix lwip for v4.0(backport 4.0)
See merge request espressif/esp-idf!11309
2020-11-21 22:34:27 +08:00
Jiang Jiang Jian
747f281325
Merge branch 'component/seperate_bta_jv_l2c_4.0' into 'release/v4.0'
...
component_bt:/ seperate bta jv l2c [backport v4.0]
See merge request espressif/esp-idf!9646
2020-11-21 22:34:00 +08:00
Jiang Jiang Jian
ba4fc9c803
Merge branch 'bugfix/backport_v4.0_fix_pthread_priority_inheritance' into 'release/v4.0'
...
bugfix/ pthread priority inheritance(backport v4.0)
See merge request espressif/esp-idf!11256
2020-11-21 22:33:37 +08:00
Jiang Jiang Jian
4e9de58779
Merge branch 'optimize/ble_mesh_provisioner_delete_dev_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Optimize Provisioner delete device function (v4.0)
See merge request espressif/esp-idf!10605
2020-11-21 17:54:25 +08:00
Jiang Jiang Jian
2fa70c8aed
Merge branch 'feat/ble_mesh_device_properties_v2_v4.0' into 'release/v4.0'
...
Feat/ble mesh device properties v2 (v4.0)
See merge request espressif/esp-idf!10789
2020-11-21 17:54:14 +08:00
Jiang Jiang Jian
2a93a30c42
Merge branch 'bugfix/ble_mesh_check_stack_init_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Check if mesh stack initialized before init vendor client (v4.0)
See merge request espressif/esp-idf!10483
2020-11-21 17:53:11 +08:00
Jiang Jiang Jian
d101748448
Merge branch 'bugfix/ble_mesh_prov_iv_index_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Using the latest iv_index for provisioning (v4.0)
See merge request espressif/esp-idf!10418
2020-11-21 17:52:20 +08:00
weitianhua
a353e1d235
Fix tsk watchdog when running spp vfs demo
2020-11-21 09:38:46 +00:00
weitianhua
ca00390174
Seperate BTA_JV_L2CAP for less bin size
2020-11-21 09:38:46 +00:00
Jakob Hasse
940f2bc108
esp_eth: moved extern "C" after includes
2020-11-21 09:37:34 +00:00
Jiang Jiang Jian
b06fe45fde
Merge branch 'feature/mqtt_submodule_update_23c8e1ec_v4.0' into 'release/v4.0'
...
MQTT: Update submodule reference to da850b (config, error flags, minor fixes) (v4.0)
See merge request espressif/esp-idf!11314
2020-11-21 17:32:18 +08:00
xutao
d2173ba1e8
pthread: fix the priority inheritance
...
When `pthread_mutex_destroy` is used to release mutex, `pthread_mutex_lock_internal` is used,
which results in the increase of `uxmutexehold` and no recovery base priority
2020-11-21 08:21:57 +00:00
David Čermák
c8902cddc7
Merge branch 'bugfix/backport_v4.0_fix_websocket_issue' into 'release/v4.0'
...
websocket_client : fix some issues for websocket client (backport v4.0)
See merge request espressif/esp-idf!11261
2020-11-20 17:46:35 +08:00
David Čermák
aef8a36c99
Merge branch 'bugfix/backport_v4.0_fix_transport_ssl_blocking' into 'release/v4.0'
...
transport_ssl: Fix a bug in transport_ssl (backport v4.0)
See merge request espressif/esp-idf!11277
2020-11-20 17:45:03 +08:00
David Cermak
c4e22a3925
MQTT: Update submodule reference: config, error handle, minor fixes
...
Updates esp-mqtt reference to include fixes below related mainly to:
* configuration update (disable keepalive, network timeout)
* minor fixes (size_t for all sizes, unbalanced lock, api for
outbox-size)
* extended error handle to include socket's errno
Closes https://github.com/espressif/esp-idf/issues/5906
Config: Added config value to disable keepalive mechanism
esp-mqtt commit: 8562437c8a
Related https://github.com/espressif/esp-mqtt/issues/179
Added esp_mqtt_client_get_outbox_size API
esp-mqtt commit: 0a1d9d0300
Related https://github.com/espressif/esp-mqtt/pull/178
mqtt_outbox: Removed unused retry_count field from outbox_item_t
esp-mqtt commit: 673086e13a
config: Fixed typo for configuring OUTBOX_EXPIRED_TIMEOUT_MS
esp-mqtt commit: 259baaec96
Fixed missing MQTT_API_UNLOCK in esp_mqtt_client_stop error path
esp-mqtt commit: 845c2a3a1e
Related https://github.com/espressif/esp-mqtt/issues/173
Related https://github.com/espressif/esp-mqtt/pull/174
Extended mqtt error handle to capture transport's socket errno (IDF
v4.3+)
esp-mqtt commit: 23c8e1ecf5
Config: Added configuration value to set network timeout
esp-mqtt commit: a03228ac46
Related https://github.com/espressif/esp-mqtt/pull/166
Used size_t for all lengths to allow for other architectures
esp-mqtt commit: b9db8d9020
2020-11-20 10:25:40 +01:00
xueyunfei
df23bbe8e1
backport bugfix lwip for v4.0
2020-11-20 16:36:37 +08:00
kapil.gupta
31b6b885e6
wpa_supplicant: Fix IOT issue with latest freeradius
...
Fix inter operability issue with freeradius version 3.0.21
and openssl 1.1.1f when internal tls client is used which
requires extension elements in client hello.
closes https://github.com/espressif/esp-idf/issues/5273
closes https://github.com/espressif/esp-idf/issues/5627
2020-11-20 08:02:28 +00:00
kapil.gupta
c384d61e53
wpa_supplicant: Fix invalid pointer deference and memleak
...
Add following changes as part of this:
1. EAP client will crash during validation of key size when CA
certs and keys not present. Add changes to validate it first.
2. Free memory allocated in TLS context
2020-11-20 08:02:28 +00:00
kapil.gupta
0263a182fc
wpa_supplicant: Support for mbedtls tls handshake
...
Add support for mbedtls based tls handshake, this removes
dependency from internal implementation of EAP client.
2020-11-20 08:02:28 +00:00
Jiang Jiang Jian
6d23d64b18
Merge branch 'bugfix/fix_bredr_read_rssi_delta_v4.0' into 'release/v4.0'
...
Bugfix/Fix Read Rssi Delta Bug in Bredr [backport v4.0]
See merge request espressif/esp-idf!10805
2020-11-20 15:36:39 +08:00
Jiang Jiang Jian
d31a127db5
Merge branch 'bugfix/wpa3_pmkcache_expiry_workaround_v4.0' into 'release/v4.0'
...
wpa_supplicant: Increase PMK Lifetime to a very high value (Backport v4.0)
See merge request espressif/esp-idf!11183
2020-11-20 14:39:45 +08:00
Jiang Jiang Jian
00b9f48081
Merge branch 'bugfix/add_clear_bond_complete_evt_4_0' into 'release/v4.0'
...
componenet_bt/bugfix: add remove bond device complete event 4.0
See merge request espressif/esp-idf!10656
2020-11-20 13:50:13 +08:00
Nachiket Kukade
511d3b05cd
wpa_supplicant: Increase PMK Lifetime to a very high value
...
For WPA3 connection nearing PMK lifetime expiry, PMK Cache
needs a re-authentication or the cache will expire. After
current expiry of 12 hours Station ends up sending a deauth
to the AP. An SAE re-authentication also cannot occur without
a disconnection with current implementation. So increase the
PMK lifetime to 100 days for now.
2020-11-20 03:46:08 +00:00
Mahavir Jain
4f2a2a8ce4
Merge branch 'fix/esp_local_ctrl_update_expired_cert_v4.0' into 'release/v4.0'
...
esp_local_ctrl: Updated the expired cacert.pem (v4.0)
See merge request espressif/esp-idf!11208
2020-11-19 15:27:23 +08:00
Aditya Patwardhan
95d8bbe0e6
esp_local_ctrl: Updated the expired cacert.pem
2020-11-19 05:26:14 +00:00
xutao
f3b087a6d1
In SSL mode, if esp_transport_poll_read function is used, the cache data in mebdtls will be blocked
2020-11-18 16:59:22 +08:00
xutao
e7b3b75785
websocket_client : fix some issues for websocket client
...
1. will post twice disconnect event when read error
2. will block `timeout` times when set disable_auto_connect
3. When `esp_websocket_client_stop` before `esp_websocket_client_send*`,
if the `esp_websocket_client_send*` fails, the status will change to
'WEBSOCKET_STATE_WAIT_TIMEOUT', and the next `esp_websocket_client_start` will fail forever
2020-11-17 15:01:10 +08:00
Jiang Jiang Jian
71eb7604c5
Merge branch 'bugfix/lwip_netdb_cpp_guards_v4.0' into 'release/v4.0'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code (v4.0)
See merge request espressif/esp-idf!11091
2020-11-16 19:42:43 +08:00
Jiang Jiang Jian
e9820687f6
Merge branch 'bugfix/socket_examples_ipv6_scope' into 'release/v4.0'
...
examples: Fix socket examples to use IPv6 scoped addresses from tcpip_adapter API
See merge request espressif/esp-idf!10689
2020-11-16 19:41:58 +08:00
Jiang Jiang Jian
f42e5745e6
Merge branch 'bugfix/can_mmap_after_get_enough_free_mmu_pages_v4.0' into 'release/v4.0'
...
flash_mmap: can mmap after get enough free MMU pages (backport v4.0)
See merge request espressif/esp-idf!10586
2020-11-16 19:40:26 +08:00
Jiang Jiang Jian
befde68eea
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.0)
See merge request espressif/esp-idf!10239
2020-11-16 19:38:22 +08:00
Jiang Jiang Jian
b0ffa66039
Merge branch 'mesh/bugfix_1023_backport_v4.0' into 'release/v4.0'
...
esp_wifi_mesh: update wifi mesh libs(Backport v4.0)
See merge request espressif/esp-idf!11083
2020-11-16 19:33:47 +08:00
Angus Gratton
c857045505
Merge branch 'bugfix/cmake_example_sdkconfig_path_v4.0' into 'release/v4.0'
...
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project (v4.0)
See merge request espressif/esp-idf!10861
2020-11-16 12:13:44 +08:00
Jiang Jiang Jian
e3db779b95
Merge branch 'bugfix/customer_baidu_psram_stack_backtrace_v4.0' into 'release/v4.0'
...
backport v4.0: added psram stack check in backtrace
See merge request espressif/esp-idf!8474
2020-11-12 21:00:36 +08:00
baohongde
8f3fe29deb
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-11-12 19:23:10 +08:00
baohongde
19ef328f8e
components/bt: Fix clear bond fail when connected without ble included
2020-11-12 19:18:52 +08:00
xiongweichao
e51818f6fc
add remove bond device complete event
2020-11-12 19:18:52 +08:00
Jiang Jiang Jian
e9ba0e05f2
Merge branch 'bugfix/nimble_host_rcv_pkt_length_check_v4.0' into 'release/v4.0'
...
NimBLE: host_rcv_pkt event buf size check. (v4.0)
See merge request espressif/esp-idf!10760
2020-11-12 14:20:29 +08:00
Jiang Jiang Jian
a69ff28c6f
Merge branch 'bugfix/bredr_bugfix_release_for_qa_dummy_disconnect_4_0' into 'release/v4.0'
...
Bugfix/bredr bugfix release for qa dummy disconnect 4.0
See merge request espressif/esp-idf!10647
2020-11-12 14:18:53 +08:00
Jiang Jiang Jian
3c9833eaf9
Merge branch 'bugfix/add_protection_for_spp_api_4.0' into 'release/v4.0'
...
Bugfix/add protection for spp api [backport v4.0]
See merge request espressif/esp-idf!10283
2020-11-12 14:15:41 +08:00
Jiang Jiang Jian
e547aae7b8
Merge branch 'bugfix/add_disconn_req_action_when_no_link_4.0' into 'release/v4.0'
...
Bugfix/add disconn req action when no link [backport v4.0]
See merge request espressif/esp-idf!10510
2020-11-12 14:14:55 +08:00
Jakob Hasse
f694f92230
nvs: unit tests for new partition API
...
* also changed while to for loop
2020-11-12 10:02:05 +08:00
Dmitriy Shilin
cb6dcb6fc4
nvs: allow to specify custom partition
...
Closes https://github.com/espressif/esp-idf/pull/5172
2020-11-12 10:01:59 +08:00
Jiang Jiang Jian
aebd7a97c9
Merge branch 'bugfix/wpa_supplicant_link_depth_v4.0' into 'release/v4.0'
...
wpa_supplicant: Fix failure to link under some circumstances (v4.0)
See merge request espressif/esp-idf!10978
2020-11-11 15:48:15 +08:00
Michael (XIAO Xufeng)
d75888a5df
Merge branch 'bugfix/mcpwm_period_error_v4.0' into 'release/v4.0'
...
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v4.0)
See merge request espressif/esp-idf!8312
2020-11-11 15:07:33 +08:00
Krzysztof Budzynski
9b1f47df1d
Merge branch 'bugfix/remove_shortcut_to_build_instructions_v4.0' into 'release/v4.0'
...
doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions (v4.0)
See merge request espressif/esp-idf!10608
2020-11-11 11:02:15 +08:00
Angus Gratton
8a78522aad
Merge branch 'bugfix/ldgen_unicode_path_v4.0' into 'release/v4.0'
...
tools/ldgen: Parse paths with Unicode characters in archives & fix parsing of section names on Windows (v4.0)
See merge request espressif/esp-idf!10966
2020-11-11 10:50:55 +08:00
Angus Gratton
7aef4fbec9
Merge branch 'bugfix/adjtime_return_outdelta_before_new_delta_set_v4.0' into 'release/v4.0'
...
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment (v4.0)
See merge request espressif/esp-idf!9973
2020-11-11 10:46:38 +08:00
Angus Gratton
d690e3d1ab
Merge branch 'bugfix/get_component_requirements_v4.0' into 'release/v4.0'
...
cmake: fix getting component requirements (v4.0)
See merge request espressif/esp-idf!10661
2020-11-11 10:44:43 +08:00
Angus Gratton
74870e7e22
Merge branch 'bugfix/err_to_name_paths_windows_v4.0' into 'release/v4.0'
...
tools: fix path handling errors in gen_esp_err_to_name.py for Windows (v4.0)
See merge request espressif/esp-idf!10897
2020-11-11 10:44:33 +08:00
Angus Gratton
a2fe59464e
Merge branch 'bugfix/returns_correct_flash_encryption_mode_v4.0' into 'release/v4.0'
...
bootloader: Fix esp_get_flash_encryption_mode() (v4.0)
See merge request espressif/esp-idf!10714
2020-11-11 10:43:25 +08:00
Angus Gratton
d5ae1d10d9
Merge branch 'bugfix/embed_file_symbol_names_v4.0' into 'release/v4.0'
...
cmake: fix C identifier generation from embedded file (v4.0)
See merge request espressif/esp-idf!10666
2020-11-11 10:43:14 +08:00
Angus Gratton
8acea045a7
Merge branch 'bugfix/bootloader_anti_rollback_mmap_v4.0' into 'release/v4.0'
...
bootloader_support: fix issue in memory mapping for getting app descriptor (v4.0)
See merge request espressif/esp-idf!10736
2020-11-11 10:42:42 +08:00
Angus Gratton
36f3845331
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_v4.0' into 'release/v4.0'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition(), can handle a long image (v4.0)
See merge request espressif/esp-idf!9954
2020-11-11 10:42:28 +08:00
Island
134b21c5b2
Merge branch 'bugfix/ble_mesh_autorsp_description_v4.0' into 'release/v4.0'
...
esp_ble_mesh: api: fixed comment about autoresp (v4.0)
See merge request espressif/esp-idf!10890
2020-11-10 16:42:50 +08:00
Island
1214f343ab
Merge branch 'optimize/ble_mesh_make_buf_config_invisible_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Make mesh buf debug option invisible (v4.0)
See merge request espressif/esp-idf!10796
2020-11-10 16:42:34 +08:00
Island
fb9df6388f
Merge branch 'bugfix/fix_node_test_func_not_set_role_v4.0' into 'release/v4.0'
...
ble_mesh: test: Fix node test function not update role flag (v4.0)
See merge request espressif/esp-idf!11042
2020-11-10 16:42:22 +08:00
He Yin Ling
2be6197714
Merge branch 'bugfix/example_test_import_error_4.0' into 'release/v4.0'
...
bugfix: import error in example tests (4.0)
See merge request espressif/esp-idf!11038
2020-11-09 19:18:59 +08:00
Ivan Grokhotkov
31e0866561
Merge branch 'bugfix/ut_ext_win_open_file_v4.0' into 'release/v4.0'
...
Tools: Close temporary file before invoking external tools accessing it
See merge request espressif/esp-idf!9832
2020-11-09 17:16:25 +08:00
Ivan Grokhotkov
c535031c2f
Merge branch 'bugfix/bootloader_skip_verify_jtag_v4.0' into 'release/v4.0'
...
bootloader_support: don't check signature when JTAG is attached (v4.0)
See merge request espressif/esp-idf!10380
2020-11-09 16:52:13 +08:00
Ivan Grokhotkov
a4d7f15625
Merge branch 'gdb/bt_on_invalid_pc_v4.0' into 'release/v4.0'
...
gdb: Modify PC in case of invalid PC (v4.0)
See merge request espressif/esp-idf!8980
2020-11-09 16:48:46 +08:00
Ivan Grokhotkov
f02e2c5e09
Merge branch 'init_priority_fix_v4.0' into 'release/v4.0'
...
CXX: make __attribute__((init_priority(n))) work (v4.0)
See merge request espressif/esp-idf!8445
2020-11-09 16:47:22 +08:00
Ivan Grokhotkov
5738a833fa
Merge branch 'bugfix/idf_monitor_baudrate_arg_crash_v4.0' into 'release/v4.0'
...
idf monitor: fix crash when monitor baudrate argument set (Backport v4.0)
See merge request espressif/esp-idf!9761
2020-11-09 16:47:08 +08:00
Ivan Grokhotkov
34f3403c3a
Merge branch 'feature/nvs_erase_check_init_4.0' into 'release/v4.0'
...
NVS Flash: prevent erasing initialized partition (backport v4.0)
See merge request espressif/esp-idf!10066
2020-11-09 16:44:31 +08:00
Ivan Grokhotkov
f9e85a78f6
Merge branch 'bugfix/mfg_tool_v4.0' into 'release/v4.0'
...
mfg_util: Update file handling to maintain line endings across various OS (backport v4.0)
See merge request espressif/esp-idf!10173
2020-11-09 16:42:23 +08:00
Ivan Grokhotkov
c705befd58
Merge branch 'bugfix/parttool_example_test_fail_v4.0' into 'release/v4.0'
...
examples/parttool: fix the test to work on parallel test runner (backport v4.0)
See merge request espressif/esp-idf!10375
2020-11-09 16:42:19 +08:00
Ivan Grokhotkov
927a5cd46b
Merge branch 'bugfix/ulp_as_version_v4.0' into 'release/v4.0'
...
ulp: fix ULP assembler version detection for localized systems (v4.0)
See merge request espressif/esp-idf!10395
2020-11-09 16:41:14 +08:00
Ivan Grokhotkov
11f4a09ce2
Merge branch 'bugfix/eclipse_make_py3_v4.0' into 'release/v4.0'
...
tools: Fix Python 3 incompatibility for building with Eclipse on Windows (v4.0)
See merge request espressif/esp-idf!10400
2020-11-09 16:40:30 +08:00
Ivan Grokhotkov
10094b3151
Merge branch 'bugfix/log-error-run-esptool_v4.0' into 'release/v4.0'
...
parttool.py: Add file stream parameter and log stdout and stderr to same stream (v4.0)
See merge request espressif/esp-idf!10518
2020-11-09 16:40:23 +08:00
Ivan Grokhotkov
5e8cb9f734
Merge branch 'bugfix/ci_clone_https_v4.0' into 'release/v4.0'
...
ci: use HTTPS for cloning in IT jobs (v4.0)
See merge request espressif/esp-idf!11097
2020-11-09 16:38:56 +08:00
David Čermák
8acd6f41aa
Merge branch 'feature/lwip_tcp_isn_hook_v4.0' into 'release/v4.0'
...
lw-ip: enable TCP ISN hook (v4.0)
See merge request espressif/esp-idf!11064
2020-11-09 15:53:34 +08:00
David Čermák
247fffe062
Merge branch 'bugfix/openss_strict_verify_mode_4.0' into 'release/v4.0'
...
openssl: made verification mode conversion to mbetls modes more strict (v4.0)
See merge request espressif/esp-idf!10501
2020-11-09 15:45:05 +08:00
David Čermák
4effed59cf
Merge branch 'feature/mqtt_sub_update_01594bf1_v4.0' into 'release/v4.0'
...
MQTT: Update submodule reference (Backport v4.0)
See merge request espressif/esp-idf!10233
2020-11-09 15:44:44 +08:00
David Čermák
e8516af6f9
Merge branch 'bugfix/ws_stop_deadlock_v4.0' into 'release/v4.0'
...
Websocket client: avoid deadlock if stop called from event handler (Backport 4.0)
See merge request espressif/esp-idf!10228
2020-11-09 15:43:51 +08:00
David Čermák
3f5cbe4e30
Merge branch 'bugfix/ethernet_handle_early_rx_interrupt_v4.0' into 'release/v4.0'
...
Bugfix/ethernet handle early rx interrupt (v4.0)
See merge request espressif/esp-idf!10100
2020-11-09 15:43:09 +08:00
Island
85b71109d0
Merge branch 'bugfix/ble_mesh_nimble_ccc_handle_v4.0' into 'release/v4.0'
...
ble_mesh: nimble: Fix updating ccc handle with wrong value (v4.0)
See merge request espressif/esp-idf!10356
2020-11-09 14:35:47 +08:00
Island
87ddc09a81
Merge branch 'bugfix/ble_mesh_remove_assert_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Avoid using assert in mesh stack (v4.0)
See merge request espressif/esp-idf!10360
2020-11-09 14:35:19 +08:00
Island
9b087d3ba4
Merge branch 'bugfix/ble_mesh_example_compile_warn_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh example compile warn (v4.0)
See merge request espressif/esp-idf!10224
2020-11-09 14:34:37 +08:00
lly
b8470fba75
ble_mesh: stack: Avoid using assert in mesh stack
2020-11-09 02:20:19 +00:00
lly
0f7a42cfbb
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-11-09 02:17:46 +00:00
lly
3bfe5f130b
ble_mesh: example: Remove some useless included header files
2020-11-09 02:09:01 +00:00
Carlos Sobrinho
82bfe2ae5d
Fix compilation warnings about portmacro being already define.
2020-11-09 02:09:01 +00:00
Krzysztof Budzynski
8007eb9a31
Merge branch 'bugfix/doc_main_readme_build_v4.0' into 'release/v4.0'
...
Fix the setup instructions in the main README (v4.0)
See merge request espressif/esp-idf!10339
2020-11-06 08:32:47 +08:00
Krzysztof Budzynski
a6e65a47a8
Merge branch 'feature/guide_change_for_catalina_v4.0' into 'release/v4.0'
...
docs: Add profile file name used by zsh shell (v4.0)
See merge request espressif/esp-idf!10774
2020-11-06 08:29:45 +08:00
Krzysztof Budzynski
43736e073a
Merge branch 'feature/docs-add-python-clean_v4.0' into 'release/v4.0'
...
docs: Add solution for ImportError in idf.py into the documentation (v4.0)
See merge request espressif/esp-idf!10632
2020-11-06 08:22:53 +08:00
shenjun
16ccf29a74
esp_wifi_mesh: update wifi mesh libs
...
1. Fix FIX-ROOT does not reconnect to router when disconnect reason is too many
2. Add API esp_mesh_print_scan_result
3. Modify not to reset mesh_xonseq of self and children when flush_upstream_packets
4. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
5. Fix the new voted root does not reconnect to router if rssi is weak
2020-11-05 23:54:45 +08:00
Mahavir Jain
b3c39b2d25
Merge branch 'bugfix/esp_idf_version_v4.0' into 'release/v4.0'
...
Add __ASSEMBLER__ flag in esp_idf_version.h to fix build failure with assembly files (v4.0)
See merge request espressif/esp-idf!10901
2020-11-05 12:44:50 +08:00
Angus Gratton
92d755d48c
Merge branch 'update/version_4_0_2' into 'release/v4.0'
...
Update version to 4.0.2
See merge request espressif/esp-idf!11117
2020-11-05 11:58:26 +08:00
He Yin Ling
e5f754b26c
versions: Update version to 4.0.2
2020-11-05 09:38:34 +08:00
Ivan Grokhotkov
b70d209586
ci: use HTTPS for cloning in IT jobs
2020-11-03 19:32:06 +08:00
mathiasbredholt
e9b6d40b97
lwip: Changed to C linkage for fixing bug when using mixed C/C++ code
...
Merges https://github.com/espressif/esp-idf/pull/5900
2020-11-03 08:42:57 +01:00
Jiang Jiang Jian
4904606461
Merge branch 'bugfix/scan_issue_sha256_ap_v4.0' into 'release/v4.0'
...
scan: Fix scan issue with PSK-SHA256 AP's (Backport v4.0)
See merge request espressif/esp-idf!11070
2020-11-02 22:01:42 +08:00
Mahavir Jain
8265966974
esp_netif: initialize TCP ISN hook if enabled in configuration
2020-11-02 14:30:43 +05:30
Mahavir Jain
4dd7cfbeb7
lwip: provide configuration option to enable TCP ISN hook
2020-11-02 14:30:43 +05:30
Mahavir Jain
6aa24a5de5
tcp_isn: use ROM APIs for md5 calculations
2020-11-02 14:30:39 +05:30
Nachiket Kukade
b7ccfb921f
esp_wifi: Update wifi lib
...
AP's with WPA2-PSK-SHA256 key management were incorrectly
categorized as Open. Update WiFi libs with the fix.
2020-11-02 12:03:17 +05:30
Mahavir Jain
5aba396717
lwip: add custom TCP ISN hook implementation
...
Source:
https://git.savannah.nongnu.org/cgit/lwip/lwip-contrib.git/
2020-10-30 16:33:54 +05:30
Chen Yu Dong
5a218fa9c6
bugfix: import error in example tests
2020-10-29 21:05:03 +08:00
lly
037b2fce46
ble_mesh: test: Fix node test function not update role flag
2020-10-29 15:50:44 +08:00
Roland Dobai
76ea4cb540
tools/ldgen: Fix parsing of sections names on Windows
2020-10-29 08:38:23 +01:00
Roland Dobai
f6c8c987fe
tools/ldgen: Parse paths with Unicode characters in archives
...
Closes https://github.com/espressif/esp-idf/issues/5996
2020-10-29 08:38:23 +01:00
liqigan
a11e5b399e
1. fix read rssi delta bug in bredr
...
2. modify read rssi related function names
Closes https://github.com/espressif/esp-idf/issues/5660
2020-10-28 11:50:47 +00:00
Jiang Jiang Jian
25813ebe2b
Merge branch 'bugfix/tx_prog_dram_crash_v4.0_1' into 'release/v4.0'
...
components/bt: fixed tx_prog insert error(new for ci release/v4.0)
See merge request espressif/esp-idf!10980
2020-10-26 21:34:41 +08:00
Jiang Jiang Jian
db733d7321
Merge branch 'bugfix/fix_tsf_bug_v4.0' into 'release/v4.0'
...
WiFi: fix tsf bug (backport v4.0)
See merge request espressif/esp-idf!10950
2020-10-26 21:32:44 +08:00
Marius Vikhammer
5c64e5090e
idf monitor: fix crash when monitor baudrate argument set
...
Closes IDF-1902
2020-10-26 07:02:29 +00:00
wangcheng
4ae63961cd
components/bt: fixed tx_prog insert error
2020-10-26 13:24:17 +08:00
Angus Gratton
1d224db575
wpa_supplicant: Fix failure to link under some circumstances
...
Depending on CMake internals, the wpa_supplicant library may need to be repeated
multiple times in the linker command line.
Closes https://github.com/espressif/esp-idf/issues/5641
2020-10-26 15:13:12 +11:00
zhangyanjiao
55acc10303
esp_wifi: Fixed the bug for timestamp check, didn't disconnect AP when AP's timestamp decrease abnormally
2020-10-26 02:10:39 +00:00
He Yin Ling
f28111b6fe
Merge branch 'feature/move_auto_test_script_to_new_repo_4.0' into 'release/v4.0'
...
ci: move auto_test_script to new repo (backport 4.0)
See merge request espressif/esp-idf!10880
2020-10-24 09:25:35 +08:00
Chen Yu Dong
dcb5d956d3
test: move auto test script to new repo (backport)
...
+ known issue
2020-10-24 09:25:33 +08:00
Jiang Jiang Jian
77dc24908c
Merge branch 'bugfix/ipv6_ping_error_when_src_ip_miss_for_4.0' into 'release/v4.0'
...
lw-ip:bugfix ipv6 ping error when src ip miss for 4.0(backport 4.0)
See merge request espressif/esp-idf!10934
2020-10-23 11:28:56 +08:00
xueyunfei
17e053930e
bugfix ipv6 ping error when src ip miss for 4.0
2020-10-21 20:45:10 +08:00
Shubham Kulkarni
4b8205edd6
esp_idf_version.h: Add __ASSEMBLER__ flag to fix build failure with assembly files
2020-10-19 13:22:43 +05:30
Marius Vikhammer
b6cd033236
tools: fix path handling errors in gen_esp_err_to_name.py for Windows
...
Exclude paths that were specified with slash as a path separator were compared
as strings. This would fail on Windows which uses backslash as a path separator.
2020-10-19 14:19:13 +08:00
andreachiara
2270241f55
esp_ble_mesh: api: fixed comment about autoresp
2020-10-19 11:05:56 +08:00
Angus Gratton
0622073b78
cmake: Log the project sdkconfig path as part of normal CMake status output
...
As discussed in footnote to https://github.com/espressif/esp-idf/issues/5251#issuecomment-625563782
2020-10-16 10:12:03 +11:00
Angus Gratton
97c0204ab9
examples: Move idf_as_lib sdkconfig file to the project directory
...
Also add some explanation about configuring the project in the README
Previously with the default build-esp32.sh script, the build directory was
deleted and recreated so the project would always be built with default config.
2020-10-16 10:12:03 +11:00
Armando
85ca721867
spi: fix issue with closing DMA before CPU reset
2020-10-14 22:05:21 +08:00
KonstantinKondrashov
7791de6cf8
bootloader: Fix esp_get_flash_encryption_mode(). RELEASE = (CRYPT_CNT == max) or (CRYPT_CNT.write_protect == true)
...
If the CRYPT_CNT efuse is max it means the same as a write protection bit for this efuse.
Closes: https://github.com/espressif/esp-idf/issues/5747
2020-10-13 07:12:40 +00:00
Jiang Jiang Jian
1c7607d4a6
Merge branch 'bugfix/assert_no_IRAM_ATTR_v4.0' into 'release/v4.0'
...
btdm fix cache disable crash, insert the llcp packet to the top of the tx_prog
See merge request espressif/esp-idf!10779
2020-10-13 12:30:59 +08:00
Renz Bagaporo
49c4947a4c
cmake: fix getting component requirements
2020-10-13 12:27:43 +08:00
Renz Bagaporo
11a2b77cd4
cmake: fix C identifier generation from embedded file
2020-10-13 12:26:53 +08:00
Jiang Jiang Jian
42e380270c
Merge branch 'bugfix/pmf_softap_coex_issue_v4.0' into 'release/v4.0'
...
Fix issues related to PMF and WPA2-Enterprise (Backport v4.0)
See merge request espressif/esp-idf!10698
2020-10-13 12:26:21 +08:00
David Cermak
def1304b4a
examples: Fix socket examples to uses IPv6 scoped addresses from tcpip_adapter API
2020-10-12 13:53:37 +00:00
lly
097075dcc8
ble_mesh: stack: Make mesh buf debug option invisible
2020-10-12 14:17:22 +08:00
lly
88cc674e11
ble_mesh: stack: Add mesh device properties v2 definitions
...
Also fixes wrong characteristic value length of some device
properties.
2020-10-12 10:17:49 +08:00
lly
da81ff2263
ble_mesh: stack: Move device property to model common part
2020-10-12 10:17:48 +08:00
wangcheng
e9dfea8421
components/bt:btdm fix cache disable crash, insert the llcp packet to the top of the tx_prog
2020-10-11 15:20:40 +08:00
Nachiket Kukade
0016d20946
esp_wifi: Update wifi lib
...
1. Add STA checks during STA PMF operations
2. Fix WPA2-Ent issue with Open AP
3. Skip WPA-TKIP profile if PMF is required
4. Skip & clear Supplicant PMK Cache for mismatching AP config
2020-10-10 10:10:11 +00:00
martin.gano
d7e5094670
docs: add description of python-clean command
2020-10-10 09:56:04 +00:00
Jiang Jiang Jian
d4499598e4
Merge branch 'bugfix/fix_ble_hci_desync_deadlock_v4.0' into 'release/v4.0'
...
components/bt: Backport of the BLE controller fix for hci desync deadlock v4.0
See merge request espressif/esp-idf!10129
2020-10-10 17:50:46 +08:00
Chinmay Chhajed
7af4c6f840
components/bt: Fix for HCI desync deadlock issue in BLE controller
2020-10-10 16:35:18 +08:00
lly
2761b461dc
ble_mesh: stack: Optimize Provisioner delete device function
...
Since we have provided separate functions for deleting node
information with node's unicast address, device uuid, etc.
So we update the behavior of this function, which will only
be used to delete device information which is not provisioned
or just under provisioning.
2020-10-10 01:09:04 +00:00
Krzysztof
4f00268cfa
docs: Add profile file name used by zsh shell
2020-10-09 19:17:15 +02:00
Jiang Jiang Jian
c783abc2e3
Merge branch 'bugfix/assert_rx_link_v4.0_fix_mr_v4.0' into 'release/v4.0'
...
fix assert(10,9), when missing evt_end or rx and evt_end come the same time v4.0.
See merge request espressif/esp-idf!10422
2020-10-09 19:54:06 +08:00
Chinmay Chhajed
3b670f1f8b
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-09 09:32:14 +05:30
Mahavir Jain
0a0f7bbd6c
bootloader_support: fix issue in memory mapping for getting app descriptor
...
For getting secure_version field in anti rollback case, bootloader tries
to map whole firmware partition but fails for cases where partition size
is beyond available MMU free pages capacity.
Fix here ensures to map only required length upto application descriptor
size in firmware partition.
Closes https://github.com/espressif/esp-idf/issues/5911
2020-10-09 03:51:05 +00:00
Krzysztof
312504a52f
doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions
2020-10-09 02:52:09 +00:00
Angus Gratton
3e44ebd3d7
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci_v4.0' into 'release/v4.0'
...
CI: get git describe from annotated tags (v4.0)
See merge request espressif/esp-idf!10675
2020-10-08 16:44:52 +08:00
Angus Gratton
893d74f6ef
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 13:55:53 +11:00
Angus Gratton
3350a108c3
build system: Also get IDF version from annotated tags only
...
Builds on previous commit.
Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 13:55:53 +11:00
He Yin Ling
ac545ce97c
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:33:52 +08:00
xiongweichao
82140dd840
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-28 11:28:22 +08:00
xiongweichao
8e9f4e719d
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-28 11:28:08 +08:00
Jiang Jiang Jian
445822104a
Merge branch 'bugfix/fix_receiving_packets_from_myself_v4.0' into 'release/v4.0'
...
esp_wifi: drop receiving packets from myself (backport v4.0)
See merge request espressif/esp-idf!10567
2020-09-24 22:35:19 +08:00
Jiang Jiang Jian
dabceb4fe4
Merge branch 'bugfix/ipv6_send_data_error_when_src_ip_miss_for_4.0' into 'release/v4.0'
...
lw-ip:ipv6 send multicast data fail when src address is null (backport 4.0)
See merge request espressif/esp-idf!10561
2020-09-24 22:35:10 +08:00
jiangguangming
0305b4a778
flash_mmap: restore interrupt and cache before err return
2020-09-24 10:02:58 +08:00
jiangguangming
e93daa4e81
flash_mmap: can mmap after get enough free MMU pages
2020-09-24 10:02:58 +08:00
Jiang Jiang Jian
e6816163fe
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v4.0' into 'release/v4.0'
...
wifi: Fix spin lock allocation in PSRAM bug(v4.0)
See merge request espressif/esp-idf!10551
2020-09-23 19:01:12 +08:00
Mahavir Jain
daab8014fb
Merge branch 'bugfix/libcoap_update_tinydtls_repo' into 'release/v4.0'
...
coap: update libcoap to fix its broken submodule pointer
See merge request espressif/esp-idf!10440
2020-09-23 18:25:49 +08:00
xiehang
a1fe8fa851
esp_wifi: drop receiving packets from myself
2020-09-23 14:34:31 +08:00
Jiang Jiang Jian
3687627226
Merge branch 'bugfix/update_esp32_phy_4390_v4.0' into 'release/v4.0'
...
esp_wifi: update phy v4390(backport v4.0)
See merge request espressif/esp-idf!10489
2020-09-23 13:51:15 +08:00
xueyunfei
0fe7ac0bd7
ipv6 send multicast data fail when src address is null for 4.0
2020-09-22 17:18:49 +08:00
dongyou
9039ddb20c
Fix spin lock allocation in PSRAM bug
2020-09-22 14:19:56 +08:00
martin.gano
56a9383552
add file stream parameter and log stdout and stderr to same stream
2020-09-18 10:39:40 +02:00
weitianhua
53c57cf2a3
Redesign separating AVRC & A2DP
...
1. Add g_av_with_rc to avrc_tg_init function
2. Remove g_av_open_fail
3. Add comment in API files
4. Add a2dp init & deinit state variable to inidcate a2dp statement
2020-09-18 14:14:40 +08:00
weitianhua
98e9f62dda
Add global header and change declaration position
2020-09-18 14:14:34 +08:00
weitianhua
ca2fff3b51
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-18 14:14:27 +08:00
weitianhua
7f66230e9e
Rewrite a2dp clean_up function
2020-09-18 14:14:20 +08:00
weitianhua
a3ca473dd4
Add bda_addr for esp_bt_a2dp_disconn_req API
...
1. Add reaction for a2dp snk & src disconn req when no link up
2. Change state machine set before EVT upto APP layer in some cases
3. Add bool open_fail to choose whether post disconnection evt to app layer
2020-09-18 14:14:11 +08:00
David Cermak
1a7149ce76
openssl: made verification mode conversion to mbetls modes more strict
2020-09-17 14:38:15 +02:00
Jiang Jiang Jian
c308562a31
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory_v4.0' into 'release/v4.0'
...
components/bt: Fix SPP using NULL point with dynamic memory
See merge request espressif/esp-idf!10324
2020-09-17 20:28:43 +08:00
ChenJianxing
293c2d95f6
esp_wifi: update phy v4390(backport v4.0)
2020-09-17 16:08:50 +08:00
lly
2b81af52aa
ble_mesh: stack: Check if mesh stack initialized before init vendor client
2020-09-17 11:27:00 +08:00
Sergei Silnov
7c9f76db63
ci: Use git mirror for docker image
2020-09-14 12:50:04 +02:00
Mahavir Jain
374b756f6b
coap: update libcoap to fix its broken submodule pointer
...
Though IDF v4.0 does not have dependency on `tinydtls` repository
within libcoap, it created problem in recursive clone. This commit
picks up change from upstream libcoap release-v4.2.0 to update
`tinydtls` repository pointer.
More information at:
https://github.com/obgm/libcoap/pull/531
Merges https://github.com/espressif/esp-idf/pull/5626
2020-09-14 10:59:52 +05:30
wangcheng
e3ecb8d073
fix assert(10,9), when missing evt_end or rx and evt_end come the same time
2020-09-14 10:48:59 +08:00
weitianhua
f97188d2d3
Add protection for rfcomm close API in SPP
2020-09-14 10:06:22 +08:00
weitianhua
f38d93f73c
Add some debug log for bt:
...
1. Add logs for SPP not enabled successfully
2. Add information to Applicatioin layer that the A2DP is connecting to peer device
Regular BTC and BTU Task name & Add BTC Init protection
1. Regular the BTC Task Name to Close a Github issue
Closes https://github.com/espressif/esp-idf/issues/4966
2. Add BTC Init failure protection
3. Regular BTU Task Name with BTC
4. Correct the comment of
a. SDP_ServiceSearchRequest and SDP_ServiceSearchRequest2
b. l2cu_create_conn_after_switch
5. Correct comment of esp_bt_hf_vra();
6. Fix cpp compilier region
2020-09-14 10:06:22 +08:00
lly
a92247d461
ble_mesh: stack: Using the latest iv_index for provisioning
...
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 11:01:17 +08:00
Wielebny666
fb594f8f5d
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
2020-09-10 16:07:01 +08:00
Roland Dobai
2e9561d252
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
2020-09-10 09:46:46 +02:00
Roland Dobai
9f7be2b7f4
ulp: fix ULP assembler version detection for localized systems
2020-09-10 09:36:03 +02:00
Ivan Grokhotkov
c2b1d3a9d2
bootloader_support: don't check signature when JTAG is attached
...
If an insecure configuration is enabled (no hardware secure boot, just
software signature check), skip the signature check in bootloader if
JTAG debugger is attached. This allows the debugger to set breakpoints
in Flash before the application runs.
Closes https://github.com/espressif/esp-idf/issues/4734
Closes https://github.com/espressif/esp-idf/issues/4878
2020-09-09 23:52:07 +02:00
Ivan Grokhotkov
2ebe7d13f4
examples/parttool: fix the test to work on parallel test runner
...
Pass the DUT port to parttool_example.py as an argument.
2020-09-09 18:39:02 +02:00
Jakob Hasse
90fdeb0955
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
2020-09-08 19:30:06 +08:00
Roland Dobai
1cc99eefb7
Fix the setup instructions in the main README
2020-09-08 10:18:27 +02:00
baohongde
9263b84f37
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:46:09 +08:00
Anton Maklakov
6093407d78
Merge branch 'feature/toolchain_2020r3_v4.0' into 'release/v4.0'
...
Update toolchain to esp-2020r3 (backport v4.0)
See merge request espressif/esp-idf!10278
2020-09-07 14:44:52 +08:00
Jiang Jiang Jian
0fda05cc83
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd_v4.0' into 'release/v4.0'
...
Bugfix/l2cap link timeout llcp prog btu wtd v4.0
See merge request espressif/esp-idf!10253
2020-09-07 14:18:09 +08:00
Michael (XIAO Xufeng)
df7028dc52
Merge branch 'bugfix/spi_flash_yield_coredump_v4.0' into 'release/v4.0'
...
spi_flash: don't call vTaskDelay in non-os context (backport v4.0)
See merge request espressif/esp-idf!10299
2020-09-07 13:24:38 +08:00
Ivan Grokhotkov
c928bcc4b8
spi_flash: don't call vTaskDelay in non-os context
...
Fixes regression in core dump, when a crash happens in interrupt
context.
2020-09-04 21:24:32 +02:00
Jiang Jiang Jian
5812a935ba
Merge branch 'feature/esp_spp_stop_srv_v4.0' into 'release/v4.0'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v4.0]
See merge request espressif/esp-idf!10013
2020-09-04 20:00:41 +08:00
Jakob Hasse
54bc506d26
CXX: make __attribute__((init_priority(n))) work
...
* Added corresponding test case
* Moved all C++ init tests to separate file
Closes https://github.com/espressif/esp-idf/issues/5038
2020-09-04 19:01:20 +08:00
wangcheng
2ba90c8453
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:24:23 +08:00
Anton Maklakov
7009d7bcfe
Update toolchain to esp-2020r3
...
Fixup more for PSRAM issue;
Allow GDB work correctly with Privileged Registers;
Based on GCC 8.4.0;
Update a fix of C++ exception crashs from the GCC mainline;
Fixup strptime_l() and some locale in libc;
Closes https://github.com/espressif/esp-idf/issues/5765
2020-09-04 13:20:39 +07:00
Jiang Jiang Jian
06fea3a2f7
Merge branch 'bugfix/update_esp32_phy_4370_v4.0' into 'release/v4.0'
...
esp_wifi: update esp32 phy v4370(Backport v4.0)
See merge request espressif/esp-idf!10025
2020-09-04 11:29:45 +08:00
ChenJianxing
e59336337c
esp_wifi: update esp32 phy v4370
...
fix sleep wakeup optimizaion do not cover 480M bbpll configuration,
which cause CPU working in 240M mode RX throughput is low.
2020-09-03 20:15:17 +08:00
Jiang Jiang Jian
749e71e8e2
Merge branch 'feature/pmf_espnow_coexistance_v4.0' into 'release/v4.0'
...
espnow/pmf: Implement ESPNOW + PMF Co-existance (Backport v4.0)
See merge request espressif/esp-idf!10247
2020-09-03 16:23:41 +08:00
Michael (XIAO Xufeng)
3f96604fda
Merge branch 'bugfix/fix_i2s_reset_issue_v4.0' into 'release/v4.0'
...
Bugfix/fix i2s reset issue v4.0
See merge request espressif/esp-idf!9585
2020-09-03 11:07:38 +08:00
Michael (XIAO Xufeng)
013654cc11
Merge branch 'feature/vfs_uart_set_line_ending_v4.0' into 'release/v4.0'
...
feature: support vfs uart set line endings with specified uart number release/v4.0
See merge request espressif/esp-idf!9598
2020-09-03 00:48:43 +08:00
wangcheng
ce1905d6b5
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:33:06 +08:00
Nachiket Kukade
4d8ba4b4de
espnow/pmf: Implement ESPNOW + PMF Co-existance
...
H/W decryption of Mgmt frames was disabled for PMF and done through
S/W. If ESPNOW packets go through this path, it affects backward
compatibility since method of decrypting Mgmt packets is different in H/W.
To address PMF + ESPNOW Co-existance, CCMP decryption method is modified
for ESPNOW packets so that they can be decrypted correctly. Since Tx
of ESPNOW packets can still be done in H/W alongside PMF, no change
required in encryption method in S/W.
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com >
Co-Authored-By: zhangyanjiao <zhangyanjiao@espressif.com >
Co-Authored-By: kapil.gupta <kapil.gupta@espressif.com >
2020-09-02 15:02:45 +05:30
houwenxiang
54c2bd7c0c
driver(I2S): Fix I2S reset issue for release/v4.0
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-09-02 16:30:03 +08:00
Michael (XIAO Xufeng)
d1fa5c712a
Merge branch 'bugfix/freemodbus_fix_long_frame_buffer_failure_backport4_0' into 'release/v4.0'
...
freemodbus: freemodbus fix long frame buffer failure (backport v4.0)
See merge request espressif/esp-idf!8199
2020-09-02 16:12:28 +08:00
XieWenxiang
2832f5f6f2
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.0)
2020-09-02 11:08:07 +08:00
Marius Vikhammer
2efa45b317
MQTT: Update submodule reference
...
SSL: add config option for skipping common name check
esp-mqtt commit: 5e8950e681 )
Closes https://github.com/espressif/esp-mqtt/issues/158
Websocket: Allow the query part of the uri to be a part of the path
esp-mqtt commit: 40b06deb10 )
Closes https://github.com/espressif/esp-mqtt/issues/161
Config: Add check for consistency between config settings
esp-mqtt commit: 8a412c147d )
Add IDF version check for secure element feature
esp-mqtt commit: db4bce01ab )
Fix esp_mqtt_client_stop deadlock
esp-mqtt commit: 5e17dcaeb2 )
Closes https://github.com/espressif/esp-mqtt/issues/163
Add dispatch error event for read errors
esp-mqtt commit: d4aaec08ff
Closes https://github.com/espressif/esp-idf/issues/5704
Cleanup expired messages when offline
esp-mqtt commit: bdadd77c6e
Closes https://github.com/espressif/esp-idf/issues/5668
esp_mqtt_client_publish now returns msg id for QoS > 0 when offline
esp-mqtt commit: f7325bfa10
2020-09-01 16:03:20 +08:00
Marius Vikhammer
3d952d3f56
Websocket client: avoid deadlock if stop called from event handler
2020-09-01 15:43:49 +08:00
Jiang Jiang Jian
c756f7c4d2
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num_4.0' into 'release/v4.0'
...
lw-ip: fix IPv6 ND6 queue too much pkts (Backport 4.0)
See merge request espressif/esp-idf!10090
2020-08-31 14:27:59 +08:00
Shivani Tipnis
4b63e016c4
mfg_util: Update file handling to maintain line endings across various OS
...
Fixes: https://github.com/espressif/esp-idf/issues/4888
2020-08-27 11:38:56 +05:30
Jiang Jiang Jian
5ec780d6b5
Merge branch 'bugfix/wifi_deinit_stop_crash_v4.0' into 'release/v4.0'
...
esp_wifi: fix the crash when wifi stop after deinit (v4.0)
See merge request espressif/esp-idf!10029
2020-08-27 11:48:30 +08:00
Jiang Jiang Jian
5ad4713362
Merge branch 'bugfix/clean_wpa2_wifi_deinit_v4.0' into 'release/v4.0'
...
wpa_supplicant: Deinit wpa2 states in wifi deinit(backport v4.0)
See merge request espressif/esp-idf!10104
2020-08-27 11:40:11 +08:00
Jiang Jiang Jian
6dd8569b4b
Merge branch 'bugfix/null_ptr_dereference_mgmt_rx' into 'release/v4.0'
...
esp_wifi: Fix null pointer dereferences in mgmt rx (backport v4.0)
See merge request espressif/esp-idf!10132
2020-08-27 11:22:07 +08:00
kapil.gupta
df52fb3942
esp_wifi: Fix null pointer dereferences in mgmt rx
2020-08-26 12:23:21 +05:30
Jiang Jiang Jian
e376e8f989
Merge branch 'bugfix/assert_9_10_error_v4.0' into 'release/v4.0'
...
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time,...
See merge request espressif/esp-idf!10049
2020-08-26 11:38:07 +08:00
kapil.gupta
98d525c1ea
wpa_supplicant: Deinit wpa2 states in wifi deinit
2020-08-20 15:09:55 +05:30
morris
08eb68f90f
ethernet: support power on timeout
...
Closes https://github.com/espressif/esp-idf/issues/5425
2020-08-20 10:57:42 +08:00
morris
296104a103
ethernet: set DMA owner after all descriptors have configured
2020-08-20 10:57:41 +08:00
morris
c4fe36dd32
ethernet: handle early rx interrupt
2020-08-20 10:57:41 +08:00
ChenJianxing
c4107150ee
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
2020-08-19 14:38:32 +08:00
espressif
98d1736fc6
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v4.0)
2020-08-19 11:05:37 +08:00
wangcheng
6dde2eb3c5
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time, use the information of rx to determine the execution order
2020-08-18 16:06:22 +08:00
houwenxiang
d9660fcf9c
vfs: support vfs uart set line endings with specified uart number (release/v4.0)
2020-08-14 15:39:39 +08:00
liqigan
45c4fef890
add API esp_spp_stop_srv(), fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-08-13 12:01:39 +08:00
zhangyanjiao
93aea71641
esp_wifi: fix the crash when wifi stop after deinit
2020-08-13 10:56:57 +08:00
Jiang Jiang Jian
820621687c
Merge branch 'bugfix/fix_udp_tx_performance_issue_v4.0' into 'release/v4.0'
...
lw-ip: fix udp tx packet loss issue (backport v4.0)
See merge request espressif/esp-idf!10005
2020-08-11 22:23:48 +08:00
xiehang
bb33120756
lwip: fix udp tx packet loss issue
2020-08-11 15:09:44 +08:00
Jiang Jiang Jian
b88dc13ec3
Merge branch 'bugfix/buff_semaphore_not_free_v4.0' into 'release/v4.0'
...
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
See merge request espressif/esp-idf!9981
2020-08-10 15:10:24 +08:00
Island
ed0393d707
Merge branch 'bugfix/ble_mesh_client_msg_optimize_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh client msg optimize (v4.0)
See merge request espressif/esp-idf!9990
2020-08-10 11:02:29 +08:00
Angus Gratton
03abf3b209
Merge branch 'bugfix/idf_build_process_default_v4.0' into 'release/v4.0'
...
cmake: fix issue with setting defaults in idf_build_process (v4.0)
See merge request espressif/esp-idf!9713
2020-08-10 09:19:38 +08:00
lly
d3eaf8bdb0
ble_mesh: stack: Client model related code clean
2020-08-07 21:15:11 +08:00
lly
aa8f45e341
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-07 21:15:10 +08:00
lly
dfa6332606
ble_mesh: stack: Check client msg result in common func
2020-08-07 21:15:08 +08:00
lly
ba38c974e6
ble_mesh: stack: Fix no events for some error conditions
2020-08-07 21:15:07 +08:00
lly
3cc07d7969
ble_mesh: stack: Move client role set to the msg function
2020-08-07 21:15:06 +08:00
lly
035a24b468
ble_mesh: stack: Remove some not used client parameters
2020-08-07 21:15:04 +08:00
lly
c3e702da05
ble_mesh: stack: Remove some not used variables & functions
2020-08-07 21:15:03 +08:00
lly
dfd0cd5f3e
ble_mesh: stack: Update client model msg send
2020-08-07 21:15:02 +08:00
Jiang Jiang Jian
91cf59981c
Merge branch 'bugfix/ipv6_fragment_for_4.0' into 'release/v4.0'
...
lw-ip:fix bug for ipv6 fragment(backport4.0)
See merge request espressif/esp-idf!9578
2020-08-07 18:09:24 +08:00
Jiang Jiang Jian
b3de361e51
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v4.0' into 'release/v4.0'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v4.0)
See merge request espressif/esp-idf!9937
2020-08-07 18:08:26 +08:00
KonstantinKondrashov
a6dc125aec
bootloader: Adds bootloader_sha256_flash_contents()
2020-08-07 17:16:21 +08:00
wangcheng
b50bbe3a5b
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-08-07 15:15:49 +08:00
KonstantinKondrashov
b77c50a063
newlib: Fix UT for adjtime
2020-08-06 20:03:18 +08:00
KonstantinKondrashov
409355febe
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment
...
If the olddelta argument is not a null pointer, the adjtime function returns information
about any previous time adjustment that has not yet completed.
Closes: https://github.com/espressif/esp-idf/issues/5194
2020-08-06 20:03:18 +08:00
Mahavir Jain
14140e7550
Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'
...
mbedtls: update to mbedtls release v2.16.7 (v4.0)
See merge request espressif/esp-idf!9908
2020-08-06 12:29:00 +08:00
KonstantinKondrashov
e3edc15f94
bootloader_support: Fix bootloader_common_get_sha256_of_partition, can handle a long image
...
Closes: IDFGH-3594
2020-08-05 23:19:48 +08:00
dongyou
94f4a88c2d
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
...
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-05 17:41:05 +08:00
Island
7cc07173b2
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.0)
See merge request espressif/esp-idf!9918
2020-08-05 14:23:41 +08:00
Michael (XIAO Xufeng)
12e39e9291
Merge branch 'fixbug/sdmmc_spi_highspeed_v4.0' into 'release/v4.0'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode(backport v4.0)
See merge request espressif/esp-idf!9839
2020-08-04 17:44:37 +08:00
XieWenxiang
100750ac1b
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.0)
2020-08-04 15:22:18 +08:00
Angus Gratton
2597e046c5
Merge branch 'bugfix/ci_retries_when_download_v4.0' into 'release/v4.0'
...
CI: retry shell commands when download (v4.0)
See merge request espressif/esp-idf!9890
2020-08-04 12:48:03 +08:00
Angus Gratton
2995e78fa1
Merge branch 'bugfix/espcoredump_fix_error_reported_for_blank_partition_v40' into 'release/v4.0'
...
Bugfix/espcoredump fix error reported for blank partition (Backport v4.0)
See merge request espressif/esp-idf!9626
2020-08-04 12:45:41 +08:00
Jiang Jiang Jian
81e726e3fc
Merge branch 'bugfix/fix_fragment_issue_v4.0' into 'release/v4.0'
...
esp_wifi: Fix WiFi fragment issue (backport v4.0)
See merge request espressif/esp-idf!9883
2020-08-04 12:27:52 +08:00
Mahavir Jain
cc0aa104e8
mbedtls: update to mbedtls release v2.16.7
...
For detailed release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.7
2020-08-03 15:50:34 +05:30
Michael (XIAO Xufeng)
26d7fb7744
Merge branch 'ci/resume_esp_flash_tests_4.0' into 'release/v4.0'
...
ci: resume esp_flash unit tests (v4.0)
See merge request espressif/esp-idf!9793
2020-08-02 17:15:24 +08:00
Li Shuai
374ad7d38f
added psram stack check in backtrace
2020-08-02 05:27:41 +00:00
Ivan Grokhotkov
4cbb70541c
Merge branch 'feature/oocd_ver_backport_v4.0' into 'release/v4.0'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709' (backport v4.0)
See merge request espressif/esp-idf!8425
2020-07-31 21:58:06 +08:00
xiehang
b1fa527f41
esp_wifi: Fix WiFi fragment issue
2020-07-31 21:42:19 +08:00
Jiang Jiang Jian
9a580242e8
Merge branch 'bugfix/fix_softap_mode_wpa_memory_leak_issue_v4.0' into 'release/v4.0'
...
bugfix: fix softap mode wpa memory leak (backport v4.0)
See merge request espressif/esp-idf!9847
2020-07-31 17:28:50 +08:00
Jiang Jiang Jian
3f332ef02b
Merge branch 'bugfix/bt_linkup_fallback_event_v4.0' into 'release/v4.0'
...
Bluedroid: Fixes cases having fallback to link up event. (v4.0)
See merge request espressif/esp-idf!9804
2020-07-31 17:27:37 +08:00
Jiang Jiang Jian
2be17377bb
Merge branch 'nimble/nrpa_support_v4.0' into 'release/v4.0'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v4.0)
See merge request espressif/esp-idf!9736
2020-07-31 17:27:21 +08:00
Sachin Parekh
6618e0c31d
gdb: Modify PC in case of invalid PC
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2020-07-31 07:40:12 +00:00
Alexey Gerenkov
a7fe03dcb0
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709'
2020-07-31 07:16:19 +00:00
Anton Maklakov
c2d261c88e
ci: use the retry script to download
2020-07-31 13:07:07 +07:00
Anton Maklakov
8ed6242e27
ci: add a helper for retrying shell command
2020-07-31 13:04:59 +07:00
Jiang Jiang Jian
f32582b588
Merge branch 'bugfix/fix_hci_max_page_num_v4.0' into 'release/v4.0'
...
bugfix/Support for more Bluetooth HID devices [backport v4.0]
See merge request espressif/esp-idf!9662
2020-07-30 21:20:15 +08:00
Jiang Jiang Jian
64c766ee4d
Merge branch 'bugfix/fix_get_bond_device_list_v4.0' into 'release/v4.0'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v4.0]
See merge request espressif/esp-idf!9668
2020-07-30 21:19:57 +08:00
Jiang Jiang Jian
4f86faa906
Merge branch 'bugfix/param_check_instant_tx_octets_adv_ubderrun_v4.0' into 'release/v4.0'
...
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0)
See merge request espressif/esp-idf!9483
2020-07-30 21:18:43 +08:00
Krzysztof Budzynski
16d68e4dee
Merge branch 'doc/freertos_backport_v4.0' into 'release/v4.0'
...
add a note about ESP-IDF FreeRTOS version (backport v4.0)
See merge request espressif/esp-idf!9820
2020-07-30 17:27:18 +08:00
Mahavir Jain
426f03de5f
Merge branch 'fix/prov_ble_read_offset_v4.0' into 'release/v4.0'
...
BLE provisioning: Add check for valid ble read offset (v4.0)
See merge request espressif/esp-idf!9746
2020-07-30 16:11:21 +08:00
Mahavir Jain
d3034e8172
Merge branch 'bugfix/convert-string-to-bytes_v4.0' into 'release/v4.0'
...
components: convert string to bytes to fix TypeError (backport v4.0)
See merge request espressif/esp-idf!9732
2020-07-30 16:11:02 +08:00
Michael (XIAO Xufeng)
fcb0206c59
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp4.0' into 'release/v4.0'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v4.0)
See merge request espressif/esp-idf!9552
2020-07-30 15:55:11 +08:00
Angus Gratton
0dc46879c5
Merge branch 'bugfix/esp_flash_write_performance_regression_4.0' into 'release/v4.0'
...
esp_flash: fix the write performance regression (Backport v4.0)
See merge request espressif/esp-idf!9616
2020-07-29 15:30:13 +08:00
ronghulin
4e7d7426aa
bugfix: fix softap mode wpa memory leak
2020-07-29 14:17:12 +08:00
Roland Dobai
6bec17308c
Tools: Close temporary file before invoking external tools accessing it
2020-07-29 07:39:50 +02:00
Michael (XIAO Xufeng)
818a2f8768
ci: resume esp_flash unit tests
2020-07-29 10:00:23 +08:00
Michael (XIAO Xufeng)
7dfb6adf27
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
...
SD cards don't support CMD7 (select_card) in SPI mode. Highspeed probe
of sdspi will fail in this step and stop working in highspeed mode.
Remove the CMD7 in enable_hs_mode_and_check to fix this issue.
Please note that, on ESP32, you have to use the IOMUX pins to use sdspi
in 40MHz, otherwise the initialization process will report reading issue
and fail.
2020-07-28 12:19:51 +08:00
yiying
9c82e7c875
docs: add a note about ESP-IDF FreeRTOS version
2020-07-27 20:24:43 +08:00
Chinmay Chhajed
5fe10f1ff8
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com >
2020-07-27 14:03:20 +05:30
wangcheng
ebacef4304
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0), fix assert(512,0)
2020-07-24 12:05:29 +08:00
Prasad Alatkar
9566e4ec19
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.0)
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-23 11:31:52 +05:30
Angus Gratton
7abb8e7fc3
Merge branch 'docs/doc138_backport_v4.0' into 'release/v4.0'
...
Fix incorrect redirect link in getting started guide (backport v4.0)
See merge request espressif/esp-idf!9704
2020-07-23 13:24:20 +08:00
Angus Gratton
8cfc9f1609
Merge branch 'bugfix/prov_retry_failures_v4.0' into 'release/v4.0'
...
ci: Add retries for all provisioning methods, some refactors (v4.0)
See merge request espressif/esp-idf!9389
2020-07-23 13:17:21 +08:00
Jiang Jiang Jian
e5526e2953
Merge branch 'bugfix/wpa3_to_wpa2_transition_fix_v4.0' into 'release/v4.0'
...
Fix WPA3 and WPA2 transition related failures (Backport v4.0)
See merge request espressif/esp-idf!9534
2020-07-23 09:52:46 +08:00
Prasad Alatkar
8b5fb43d93
BLE provisioning: Add check for valid ble read offset
2020-07-22 19:42:09 +05:30
Angus Gratton
3b0a62a752
Merge branch 'ci/test_spi_speed_psram_enabled_4.0' into 'release/v4.0'
...
driver test: disable the spi master performance test when psram is used (v4.0)
See merge request espressif/esp-idf!9637
2020-07-22 17:28:24 +08:00
yiying
61bc60213e
docs: change redirection link in get-started
...
This link is supposed to go to Step 3, but it goes to Step 2.
2020-07-22 17:17:38 +08:00
martin.gano
2595326978
components: convert string to bytes to fix TypeError There is a string passed as an argument for function, but a format of a string seemingly refers to bytes therefore it needs to be converted to bytes Solves https://esp32.com/viewtopic.php?f=13&t=16529
...
(cherry picked from commit cb0bdb8bba )
2020-07-22 11:04:22 +02:00
Jiang Jiang Jian
53605395cf
Merge branch 'bugfix/collection_of_confirmed_fixes_from_baidu_project_4.0' into 'release/v4.0'
...
Backport MR for baidu project for release/v4.0
See merge request espressif/esp-idf!8989
2020-07-22 16:34:19 +08:00
Angus Gratton
b994331b83
Merge branch 'ci/workaround_multiple_ci_failures_v4.0' into 'release/v4.0'
...
CI: workaround multiple ci failures (v4.0)
See merge request espressif/esp-idf!9686
2020-07-22 11:55:24 +08:00
Michael (XIAO Xufeng)
69059ea2cc
driver test: disable the spi master performance test when psram is used
2020-07-21 05:43:45 +00:00
Renz Christian Bagaporo
34f4b5a4d3
ci: pushd and cd in one go in idf_build_process defaults test
2020-07-20 18:24:05 +08:00
Renz Bagaporo
d30f3b6edd
cmake: fix setting defaults in idf_build_process
...
Closes https://github.com/espressif/esp-idf/issues/5053
2020-07-20 18:24:05 +08:00
Renz Bagaporo
948795265d
ci: test idf_build_process defaults set properly
2020-07-20 18:24:02 +08:00
He Yin Ling
ce88e9d3fe
CI: do not run cases likely to fail
2020-07-19 14:58:28 +08:00
He Yin Ling
83895b4e78
CI: disable cases with test env SSC_T5_1
2020-07-19 14:58:28 +08:00
He Yin Ling
53852b555e
CI: temp allow mesh job to fail as runner is not stable
2020-07-19 14:58:27 +08:00
He Yin Ling
087a1e339e
CI: remove incorrect MTU related cases
2020-07-19 14:58:27 +08:00
Island
712aa3daa7
Merge branch 'bugfix/ble_mesh_health_current_status_recv_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix recv health current status incorrectly (v4.0)
See merge request espressif/esp-idf!9665
2020-07-17 16:14:44 +08:00
boblane
9a88eef632
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-07-17 15:12:57 +08:00
lly
beda5f0fd4
ble_mesh: stack: Fix recv health current status incorrectly
2020-07-17 14:06:41 +08:00
DerfJagged
a1cf4fa871
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-17 10:23:52 +08:00
Angus Gratton
bf1394eeb8
Merge branch 'feature/toolchain_2020r2_v4.0' into 'release/v4.0'
...
Update toolchain to esp-2020r2 (backport v4.0)
See merge request espressif/esp-idf!9001
2020-07-16 16:22:17 +08:00
Island
0dc0c54acd
Merge branch 'bugfix/ble_mesh_misc_updates_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh misc updates (v4.0)
See merge request espressif/esp-idf!9642
2020-07-16 14:03:15 +08:00
lly
235cdd2ff0
ble_mesh: ci: Enable friend & low power in build check
2020-07-16 11:04:58 +08:00
lly
f3566fd2af
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-07-16 11:04:57 +08:00
lly
f10c62d84d
ble_mesh: stack: Make proxy server & client functions clear
2020-07-16 11:04:57 +08:00
Island
775fd14310
Merge branch 'bugfix/ble_mesh_add_misc_check_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh add misc check (v4.0)
See merge request espressif/esp-idf!9631
2020-07-16 10:51:49 +08:00
Nachiket Kukade
e9a07592fc
wpa_supplicant: Fix WPA3 and WPA2 transition related failures
...
1. If Device is connected to AP in WPA3-PSK mode, AP switching
security to WPA2-PSK causes connection failures even after reset.
Fix is to not store WPA3's PMK in NVS for caching.
2. AP switching back to WPA3 causes even more connection failures.
This is due to device not clearing Supplicant level PMK Cache when
it is no longer valid. Fix is to clear the Cache when 4-way handshake
fails and to check Key Mgmt of Cache before using.
3. When AP switches from WPA3 to WPA2, device's PMF config in
Supplicant remains enabled. This may cause failures during
4-way handshake. So clear PMF config in when PMF is no longer used.
2020-07-15 13:40:03 +00:00
Ivan Grokhotkov
48ea44f3d1
Merge branch 'feature/light_sleep_reject_v4.0' into 'release/v4.0'
...
sleep: enable sleep reject when entering light sleep (v4.0)
See merge request espressif/esp-idf!9501
2020-07-15 20:08:55 +08:00
Anton Maklakov
009492ca9a
Merge branch 'bugfix/fix_static_analysis_rules_v4.0' into 'release/v4.0'
...
static analysis: Apply current limits of known defects (v4.0)
See merge request espressif/esp-idf!9277
2020-07-15 16:56:22 +08:00
David Čermák
e4501dc0ec
Merge branch 'bugfix/ws_send_abort_v4.0' into 'release/v4.0'
...
websocket client: the client now aborts the connection if send fails. (v4.0)
See merge request espressif/esp-idf!9171
2020-07-15 16:38:05 +08:00
lly
1df9502301
ble_mesh: stack: Add proxy cfg pdu length check
2020-07-15 16:11:32 +08:00
lly
d04a8da916
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-07-15 16:11:31 +08:00
lly
6e79097b4a
ble_mesh: example: Add result check during mesh init
2020-07-15 16:11:29 +08:00
lly
c8601fface
ble_mesh: stack: Add more checks about input prov bearers
2020-07-15 16:11:27 +08:00
Island
cf98746771
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc_v4.0' into 'release/v4.0'
...
Feat/ble mesh use diff ram for mem alloc (v4.0)
See merge request espressif/esp-idf!9618
2020-07-15 16:07:00 +08:00
Michael (XIAO Xufeng)
7f99280b40
spi_flash: add unit test for read/write performance (no performance
...
check)
2020-07-15 14:41:02 +08:00
aleks
59c6afda95
espcoredump: fix error reported for blank partition
2020-07-15 08:30:28 +02:00
lly
1e528fa739
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-07-15 11:10:14 +08:00
lly
a27478b54d
ble_mesh: stack: Use macros for adv task name & prio
2020-07-15 11:10:14 +08:00
lly
2ff3c012ea
ble_mesh: ci: Add psram configurations
2020-07-15 11:10:14 +08:00
lly
0dc96d19aa
ble_mesh: stack: Make freertos static allocation visible
2020-07-15 11:09:58 +08:00
lly
9973f5ef04
ble_mesh: stack: Update option of using DRAM/SPIRAM for memory allocation
2020-07-15 09:41:15 +08:00
Michael (XIAO Xufeng)
ffc46954ae
esp_flash: fix the write performance regression
...
Also changed internal delay unit into microsecond.
2020-07-15 02:20:35 +08:00
Mahavir Jain
ee7b443d28
Merge branch 'bugfix/enable_mbedtls_renegotiation_v4.0' into 'release/v4.0'
...
esp-tls: enable TLS renegotiation using explicit API call (v4.0)
See merge request espressif/esp-idf!9593
2020-07-14 15:16:59 +08:00
Anton Maklakov
6182c172bf
Update toolchain to esp-2020r2
...
Fixes PSRAM issues, volatile loads with -O2, std::locale, C++ exception crashs, FDE sorting switchable;
Includes a 64-bit toolchain for Windows (win64);
Closes https://github.com/espressif/esp-idf/issues/5090
Closes https://github.com/espressif/esp-idf/issues/5112
Closes https://github.com/espressif/esp-idf/issues/5150
2020-07-14 14:04:54 +07:00
Jeroen Domburg
faae3ceec5
Add fixes for gcc8 psram fix improvement
2020-07-14 14:04:53 +07:00
Angus Gratton
f7742dd9cc
Merge branch 'bugfix/customer_baidu_int_wdt_v4.0' into 'release/v4.0'
...
backport v4.0: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!9214
2020-07-14 13:09:03 +08:00
David Čermák
5a99038b1a
Merge branch 'bugfix/eth_insert_min_hw_reset_time_v4.0' into 'release/v4.0'
...
ethernet: insert min assert time for PHY HW reset (v4.0)
See merge request espressif/esp-idf!9581
2020-07-13 22:33:19 +08:00
Ivan Grokhotkov
80e0be6dbd
Merge branch 'bugfix/rs485_test_temp_disable_v40' into 'release/v4.0'
...
ci: temporarily disable RS485 related tests (backport v4.0)
See merge request espressif/esp-idf!9520
2020-07-13 20:41:15 +08:00
Mahavir Jain
6f034e9194
esp-tls: enable TLS renegotiation using explicit API call
...
mbedTLS stack does not keep TLS renegotiation enabled even if
relevant config option is turned on, it needs explicit API call
`mbedtls_ssl_conf_renegotiation` to do so.
This issue was observed in case of Azure IoT, where keys needs to
be refreshed periodically to keep TLS connection intact.
2020-07-13 15:56:00 +05:30
weitianhua
de438461f5
Backport from baidu proj
2020-07-13 15:03:17 +08:00
xueyunfei
cb7c143523
fix bug for ipv6 fragment
2020-07-13 11:30:33 +08:00
morris
0100d70dfd
ethernet: insert min assert time for PHY HW reset
...
Closes https://github.com/espressif/esp-idf/issues/5528
2020-07-13 11:21:30 +08:00
Jiang Jiang Jian
f73cd1d4f1
Merge branch 'docs/fix_event_typo_backport_v4.0' into 'release/v4.0'
...
docs/fix event typo backport v4.0
See merge request espressif/esp-idf!9384
2020-07-12 21:23:54 +08:00
Jiang Jiang Jian
0b3954c0c3
Merge branch 'bugfix/fix_some_wifi_bugs_0703_v4.0' into 'release/v4.0'
...
fix some wifi bugs 0703 (v4.0)
See merge request espressif/esp-idf!9532
2020-07-12 20:30:52 +08:00
Jiang Jiang Jian
bfbbb4d581
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v4.0' into 'release/v4.0'
...
Bugfix/fix event bug in GAP API [backport v4.0]
See merge request espressif/esp-idf!9194
2020-07-10 16:57:37 +08:00
Jiang Jiang Jian
4cb1a2fdc3
Merge branch 'bugfix/fix_16mbit_psram_id_read_error_v4.0' into 'release/v4.0'
...
psram: fix 16mbit psram id read error (backport v4.0)
See merge request espressif/esp-idf!9439
2020-07-10 16:57:15 +08:00
Jiang Jiang Jian
94dfe1713c
Merge branch 'doc/add_UUID_description_in_gattc_demo_backport_v4.0' into 'release/v4.0'
...
docs:add 128-bit UUID description backport v4.0
See merge request espressif/esp-idf!9227
2020-07-10 16:56:36 +08:00
Jiang Jiang Jian
6a929916b7
Merge branch 'bugfix/fix_build_err_in_cpp_backport_v4.0' into 'release/v4.0'
...
ble_hid_device_demo: fix build if building with c++ backport v4.0
See merge request espressif/esp-idf!9233
2020-07-10 16:56:16 +08:00
Jiang Jiang Jian
ff6c39376a
Merge branch 'feature/make_tcp_rto_configurable_v4.0' into 'release/v4.0'
...
make TCP rto time configurable (backport v4.0)
See merge request espressif/esp-idf!9213
2020-07-10 16:55:53 +08:00
Island
62e6b6f571
Merge branch 'bugfix/ble_mesh_update_send_ttl_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh update send ttl v4.0
See merge request espressif/esp-idf!9563
2020-07-10 14:06:23 +08:00
Li Shuai
8560d88391
add soft solution for esp32 eco3 live lock issue
2020-07-10 02:14:47 +00:00
lly
724a5baa4e
ble_mesh: stack: Add two application macros for TTL
2020-07-10 09:15:02 +08:00
lly
c399b9520b
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-07-10 09:15:01 +08:00
Wielebny666
067d840c76
Fix init MCPWM Fault line via config struct
...
Signed-off-by: wubowen <wubowen@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5491
Closes https://github.com/espressif/esp-idf/issues/5433
2020-07-09 19:18:10 +08:00
Krzysztof Budzynski
b9dd8630ee
Merge branch 'doc/broken_readme_links_v4.0' into 'release/v4.0'
...
Docs: Fix broken README links (v4.0)
See merge request espressif/esp-idf!9503
2020-07-08 23:54:50 +08:00
xiehang
4e831ac080
esp_wifi: Add API to get available internal heap size.
2020-07-08 17:40:19 +08:00
zhangyanjiao
8ae3c733db
esp wifi bugfix:
...
1. Fix TX DMA buffer issue
2. API esp_wifi_get_config add acquisition sta.listen_interval
3. Configure bandwidth and phy mode to store NVS
4. If AP's tsf has been restarted, STA will disconnect from AP.
5. Do not reset softAP's tsf except it restart
6. fix the wifi regdomain update bug
7. fix the bug for airkiss find hidden AP fail
8. fix addba and first ampdu send bar
2020-07-08 17:27:15 +08:00
Mahavir Jain
576957b17d
Merge branch 'bugfix/http_client_read_v4.0' into 'release/v4.0'
...
Fix error handling in esp_http_client_read and esp_https_ota_perform (v4.0)
See merge request espressif/esp-idf!9204
2020-07-08 17:19:50 +08:00
liqigan
9e506a921b
components/bt: Adjust the description of esp_bt_gap_start_discovery and esp_bt_gap_cancel_discovery.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-07-08 15:07:05 +08:00
aleks
db7f558e34
ci: temporarily disable RS485 related tests
2020-07-08 06:31:29 +02:00
Shubham Kulkarni
0253a372be
Increase receive timeout in sdkconfig.ci to fix CI failures
2020-07-08 09:57:49 +05:30
Shubham Kulkarni
9fe1380b7f
esp_https_ota.c: Add fix to return failure if (-1) is returned from esp_http_client_read
...
Closes https://github.com/espressif/esp-idf/issues/4960
2020-07-08 09:57:43 +05:30
Shubham Kulkarni
a9591d1c1f
esp_http_client.c: In esp_http_client_read, add fix to return (-1) if esp_transport_read fails
2020-07-08 09:57:42 +05:30
Marius Vikhammer
4ff6d873bb
Fix broken README links
2020-07-07 18:07:57 +08:00
Ivan Grokhotkov
5da359c253
sleep: enable sleep reject when entering light sleep
2020-07-07 11:21:42 +02:00
Ivan Grokhotkov
9216af8371
Merge branch 'bugfix/coredump_size_inv_stack_v4.0' into 'release/v4.0'
...
coredump: Fixes data length calculation when task stack is corrupted (v4.0)
See merge request espressif/esp-idf!9458
2020-07-07 16:30:26 +08:00
Ivan Grokhotkov
1e95aba03a
Merge branch 'feature/msys2_env_update_v4.0' into 'release/v4.0'
...
windows: Update MSYS2 pre-compiled legacy build environment (v4.0)
See merge request espressif/esp-idf!9144
2020-07-06 15:16:39 +08:00
Michael (XIAO Xufeng)
8a2c055179
Merge branch 'bugfix/fix_adc_dac_conflict_backportv4.0' into 'release/v4.0'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC (backport v4.0)
See merge request espressif/esp-idf!9362
2020-07-06 13:19:22 +08:00
Angus Gratton
d7f251aef3
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:13:46 +00:00
Angus Gratton
e0fc7b1c48
esp_prov: Extend the timeout for HTTP connection to SoftAP
2020-07-03 09:13:46 +00:00
Angus Gratton
7358470ae9
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:13:46 +00:00
Angus Gratton
200fa4abeb
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:13:46 +00:00
Angus Gratton
822b6986aa
esp_prov: Refactor to use new 'wait_wifi_connected' function
...
Means all provisioning examples will have the same retry behaviour.
2020-07-03 09:13:46 +00:00
Angus Gratton
6787718e1b
ci provisioning: Use strings instead of "magic numbers" for connection state
2020-07-03 09:13:46 +00:00
Angus Gratton
388522a886
ci: Wait up to 60 seconds for client to connect to DUT in provisioning test
2020-07-03 09:13:46 +00:00
Island
a391a98a02
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh fast prov misc update (v4.0)
See merge request espressif/esp-idf!9463
2020-07-03 11:38:03 +08:00
lly
39705533f1
ble_mesh: stack: Update some fast prov functions
2020-07-03 08:53:56 +08:00
lly
77fe2ced32
ble_mesh: stack: Move fast prov functions to a single file
2020-07-03 08:53:56 +08:00
Island
36ba6be9ae
Merge branch 'bugfix/ble_mesh_split_tinycrypt_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh split tinycrypt (v4.0)
See merge request espressif/esp-idf!9372
2020-07-02 22:46:08 +08:00
Jiang Jiang Jian
68b272f590
Merge branch 'bugfix/beacon_security_downgrade_v4.0' into 'release/v4.0'
...
Avoid parsing RSN/WPA IE's after connection (Backport v4.0)
See merge request espressif/esp-idf!9281
2020-07-02 21:29:18 +08:00
Alexey Gerenkov
f12b8c7990
coredump: Fixes data length calculation when task stack is corrupted
2020-07-02 14:12:15 +03:00
lly
c4794f761e
ble_mesh: ci: Fix failing to compile when using make
2020-07-02 03:35:13 +00:00
lly
4d9af50eba
ble_mesh: Mark platform related default RNG as 0
2020-07-02 03:35:13 +00:00
lly
0e028c044d
ble_mesh: Remove the previously added redundant aes files
2020-07-02 03:35:13 +00:00
lly
813cf5cc00
ble_mesh: Update CMake and make files for tinycrypt
2020-07-02 03:35:13 +00:00
lly
ac0746aba1
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-07-02 03:35:13 +00:00
lly
e5f4ff2b1a
ble_mesh: Format source and header files of tinycrypt
2020-07-02 03:35:13 +00:00
lly
4f37a08437
ble_mesh: Port full implementation of tinycrypt [Zephyr]
...
- Original code is here: https://github.com/zephyrproject-rtos/tinycrypt
- Also this fixes the compile error when NimBLE and ESP BLE Mesh
both uses the tinycrypt.
2020-07-02 03:35:13 +00:00
Island
d8e590555c
Merge branch 'bugfix/ble_mesh_readme_fix_v4.0' into 'release/v4.0'
...
ble_mesh: example: Fix example README & tutorial link error (v4.0)
See merge request espressif/esp-idf!9436
2020-07-02 11:29:37 +08:00
Island
c7acaf9b44
Merge branch 'bugfix/ble_mesh_compile_error_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh compile error (v4.0)
See merge request espressif/esp-idf!9432
2020-07-02 11:29:06 +08:00
Nachiket Kukade
2c45d430da
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-01 16:24:23 +05:30
Michael (XIAO Xufeng)
671ecd7522
spiram: fix the read id failure
...
The issue is caused by:
1. The disable_qio_mode inside read_id may have side effects.
2. read_id twice may have side effects.
Fix this issue by moving disable_qio_mode out of read_id and only do it
once before read_id. And retry read_id only when the first one is
failed.
Issue introduced in 3ecbb59c15 .
2020-07-01 16:39:16 +08:00
chenjianqiang
fd475fc9bc
psram: fix 16mbit psram id read error
2020-07-01 16:38:29 +08:00
lly
797971e8cc
ble_mesh: example: Fix example README & tutorial link error
2020-07-01 14:39:32 +08:00
Jiang Jiang Jian
8309f06378
Merge branch 'bugfix/kconfig_vendor_specific_v4.0' into 'release/v4.0'
...
Bugfix: bt/Kconfig Vendor specific event data type and default value
See merge request espressif/esp-idf!9416
2020-07-01 13:49:53 +08:00
lly
4fd867616c
ble_mesh: ci: Add different proxy configurations
2020-07-01 11:55:13 +08:00
lly
3b6145dc46
ble_mesh: stack: Fix compile error when only proxy enabled
...
Also remove some redundant CONFIG_BLE_MESH_PROXY checks, because
when the following options are satisfied, the CONFIG_BLE_MESH_PROXY
option will be selected mandatorily.
2020-07-01 11:55:12 +08:00
Island
b823a2a35f
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v4.0' into 'release/v4.0'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v4.0)
See merge request espressif/esp-idf!9397
2020-07-01 11:16:39 +08:00
Island
4802585bfd
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh set recv rssi (v4.0)
See merge request espressif/esp-idf!9391
2020-07-01 11:15:20 +08:00
Chinmay Chhajed
b9b31e3c85
bt/Kconfig: Update data type and default value of vendor specific event.
2020-06-30 15:02:22 +05:30
Jiang Jiang Jian
d921a06c1f
Merge branch 'feature/bt_secure_conn_downgrade_check_v4.0' into 'release/v4.0'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9338
2020-06-30 15:26:57 +08:00
lly
dfcc8e77dc
ble_mesh: Check if subnet exists before updating beacon_sent
...
- Before updating the "beacon_sent" of a subnet, we need to check
if the subnet still exists, especially for a Provisioner.
- Fix a bug which will cause Provisioner failed to send Secure
Network Beacon if no device is provisioned
2020-06-30 09:22:49 +08:00
lly
7f6735fd60
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883 ,
copy the recv_rssi for other mesh messages.
2020-06-30 09:05:51 +08:00
mbroek
ca5ab9b607
When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
...
ctx values to cb_params for the mesh stack.
recv_rssi was not copied.
This means the rssi could not be read when receiving generic server messages using ble_mesh.
2020-06-30 09:05:50 +08:00
liminyang
acb54059be
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:59:14 +08:00
Mahavir Jain
3e31c484ba
Merge branch 'bugfix/http_server_lru_v4.0' into 'release/v4.0'
...
esp_http_server: Update LRU counter on accepting a new connection (v4.0)
See merge request espressif/esp-idf!9352
2020-06-29 12:57:25 +08:00
fuzhibo
fac0b1128f
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-06-29 03:41:26 +00:00
Michael (XIAO Xufeng)
9969ec1de5
Merge branch 'bugfix/esp_flash_revert_qe_clear_4.0' into 'release/v4.0'
...
esp_flash: fix the regression of non-quad mode by default chip driver, bugs in add_device and deprecate cs_id (4.0)
See merge request espressif/esp-idf!8879
2020-06-28 22:13:25 +08:00
Island
8cb2ad1fe6
Merge branch 'bugfix/ble_mesh_get_node_with_name_v4.0' into 'release/v4.0'
...
ble_mesh: Get node info with pre-configured node name (v4.0)
See merge request espressif/esp-idf!9303
2020-06-28 20:25:24 +08:00
Island
3f0956bfa0
Merge branch 'bugfix/ble_mesh_example_tag_define_v4.0' into 'release/v4.0'
...
ble_mesh: Move TAG definition to each example (v4.0)
See merge request espressif/esp-idf!9307
2020-06-28 20:25:06 +08:00
Island
304c40f3ef
Merge branch 'bugfix/ble_mesh_bt_hex_v4.0' into 'release/v4.0'
...
ble_mesh: Fix wrong log output with bt_hex (v4.0)
See merge request espressif/esp-idf!9310
2020-06-28 20:24:12 +08:00
Island
ef136a664c
Merge branch 'bugfix/ble_mesh_not_define_bool_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh not define bool (v4.0)
See merge request espressif/esp-idf!9317
2020-06-28 20:23:03 +08:00
Island
666014447b
Merge branch 'bugfix/ble_mesh_check_model_status_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Check model status with variable length (v4.0)
See merge request espressif/esp-idf!9320
2020-06-28 20:22:26 +08:00
Krzysztof Budzynski
e9dcba0d5d
Merge branch 'docs/spi' into 'release/v4.0'
...
Fixed a typo according to DOC-216
See merge request espressif/esp-idf!9133
2020-06-28 18:22:29 +08:00
Wang Ning
1658838efb
Fixed a typo according to DOC-216
2020-06-28 18:22:29 +08:00
Armando
b88982b666
esp_flash: fix cache exception when CS pin is through IOMUX
2020-06-28 15:52:58 +08:00
Armando
59c1bf4d8f
esp_flash: fix the cleanup when add device fails
2020-06-28 15:52:58 +08:00
Armando
aa5b4fb372
esp_flash: fix the regression of non-quad mode by default chip driver
2020-06-28 15:52:58 +08:00
Marius Vikhammer
67d7b60f19
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-06-28 02:12:35 +00:00
Ivan Grokhotkov
28b4419c4e
Merge branch 'bugfix/export_path_checks_v4.0' into 'release/v4.0'
...
tools: export.sh: better detection and checking of IDF_PATH (backport v4.0)
See merge request espressif/esp-idf!8748
2020-06-26 22:18:06 +08:00
Shubham Kulkarni
e933077fbc
esp_http_server: Update LRU counter on accepting a new connection
...
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 19:25:15 +05:30
Angus Gratton
a68b9272c5
Merge branch 'bugfix/idf_py_help_env_var_v4.0' into 'release/v4.0'
...
Tools: Mention ESPPORT and ESPBAUD in idf.py --help (v4.0)
See merge request espressif/esp-idf!9292
2020-06-26 14:43:02 +08:00
David Cermak
ae177f7077
static analysis: Apply current limits of known defects on v4.0
2020-06-25 06:16:14 +00:00
Chinmay Chhajed
a9d4ed4a55
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com >
2020-06-24 22:25:20 +05:30
lly
939a3b78e2
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-24 10:33:58 +00:00
lly
f1c0fee05b
ble_mesh: Get node info with pre-configured node name
...
Also add a function to get the entry of the nodes table.
Closes https://github.com/espressif/esp-idf/issues/5397
2020-06-24 10:31:25 +00:00
lly
268b0e5e3f
ble_mesh: Remove boolean type definitions
2020-06-24 09:12:31 +00:00
Nikolaos Strikos
940fcf0ca9
ble_mesh: Do not #define bool when compiling in C++
2020-06-24 09:12:31 +00:00
lly
c6ce7d2866
ble_mesh: stack: Check model status with variable length
2020-06-24 09:10:32 +00:00
lly
b4554ca2a6
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-24 09:08:18 +00:00
Ivan Grokhotkov
9b3aae1d32
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-24 10:37:51 +02:00
Ivan Grokhotkov
0785d41c93
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
2020-06-24 10:37:17 +02:00
Roland Dobai
9624d9b19b
Tools: Mention ESPPORT and ESPBAUD in idf.py --help
...
Closes https://github.com/espressif/esp-idf/issues/5461
2020-06-24 10:19:37 +02:00
Anton Maklakov
4f22be795d
Merge branch 'bugfix/python_lint_v4.0' into 'release/v4.0'
...
tools: fix python lint (v4.0)
See merge request espressif/esp-idf!9301
2020-06-24 16:05:54 +08:00
morris
b53c59b7a4
tools: fix python lint
2020-06-24 13:22:21 +08:00
Angus Gratton
e37cb829f4
Merge branch 'feature/pyc_clean_v4.0' into 'release/v4.0'
...
tools/idf.py: Clean Python bytecode files (v4.0)
See merge request espressif/esp-idf!9264
2020-06-24 12:30:48 +08:00
Ivan Grokhotkov
2967334138
Merge branch 'bugfix/sleep_comments_v4.0' into 'release/v4.0'
...
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions (v4.0)
See merge request espressif/esp-idf!8568
2020-06-23 01:45:29 +08:00
Roland Dobai
0de2507b24
tools/idf.py: Clean Python bytecode files
2020-06-22 10:44:26 +02:00
Island
8c3a3766da
Merge branch 'bugfix/att_buffer_count_fixed_v4.0' into 'release/v4.0'
...
Bugfix/att buffer count fixed v4.0
See merge request espressif/esp-idf!9159
2020-06-22 11:45:10 +08:00
Elvis Dukaj
26e280c824
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:49:11 +08:00
Angus Gratton
3c630c7905
Merge branch 'bugfix/efuse_logs_v4.0' into 'release/v4.0'
...
esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization in startup code (v4.0)
See merge request espressif/esp-idf!9207
2020-06-18 15:15:57 +08:00
liminyang
35f5cbaed4
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 15:08:57 +08:00
wangcheng
b869e69c62
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-18 15:02:02 +08:00
wangcheng
12759b951c
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-18 15:01:24 +08:00
Wang Cheng
d875485f89
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-18 15:01:18 +08:00
Geng Yu Chao
ac2e34f611
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-18 15:01:13 +08:00
wangcheng
211e7bb4c2
components/bt: Add api to query the number of available buffers for the current connection
2020-06-18 15:01:05 +08:00
Island
47fa80f7fe
Merge branch 'bugfix/blufi_buffer_overflow_report_v4.0' into 'release/v4.0'
...
blufi: When the format of the received data packet is wrong, reply with an error response(backport 4.0)
See merge request espressif/esp-idf!9199
2020-06-18 13:45:17 +08:00
KonstantinKondrashov
4a6e793322
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 16:30:11 +08:00
yuanjm
458ed4085d
feat(lwip): make LWIP TCP rto time configurable
2020-06-17 15:32:59 +08:00
wangcheng
e781279110
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:20:53 +08:00
Jiang Jiang Jian
94d97499a3
Merge branch 'bugfix/wpa3_ble_coex_issue_4.0' into 'release/v4.0'
...
Fix WPA3 Auth timeout issue during BLE coex (Backport v4.0)
See merge request espressif/esp-idf!9140
2020-06-16 14:37:55 +08:00
Mahavir Jain
6778712be4
Merge branch 'bugfix/softap_prov_session_v4.0' into 'release/v4.0'
...
protocomm_httpd: Restart security session if request is received on a new session (v4.0)
See merge request espressif/esp-idf!9117
2020-06-16 12:33:15 +08:00
Nachiket Kukade
18d7f27f6c
esp_wifi: Update wifi lib
...
Fix WPA3 Auth timeout issue during BLE coex
2020-06-15 22:49:20 +08:00
Jiang Jiang Jian
e7ac221b42
Merge branch 'bugfix/authmode_degrade_fix_v4.0_1' into 'release/v4.0'
...
esp_wifi: Update wifi_lib pointer to correct branch
See merge request espressif/esp-idf!9126
2020-06-15 14:33:05 +08:00
Michael (XIAO Xufeng)
b58e777596
Merge branch 'bugfix/fix_dac_driver_self_contained' into 'release/v4.0'
...
driver(dac): fix dac header file self contained issue
See merge request espressif/esp-idf!8546
2020-06-15 12:15:32 +08:00
kapil.gupta
0265c63e6c
esp_wifi: Update wifi_lib pointer to correct branch
...
Correct wifi_lib pointer pointing to incorrect branch due to
auth_changed event MR.
2020-06-15 08:57:58 +05:30
Krzysztof Budzynski
4f29dfa969
Merge branch 'bugfix/doc_build_ut_cmdline_v4.0' into 'release/v4.0'
...
docs: Fixup format of a command line to build unit tests (backport v4.0)
See merge request espressif/esp-idf!9044
2020-06-15 02:43:02 +08:00
fuzhibo
8357318945
driver(dac): fix dac header file self contained issue
...
Closes https://github.com/espressif/esp-idf/issues/2560
2020-06-12 05:36:56 +00:00
Angus Gratton
83d6ab9b5f
msys2: Remove python version consideration in pacman commands
2020-06-12 10:24:29 +10:00
Angus Gratton
a972d3018c
windows: Update MSYS2 pre-compiled legacy build environment
...
* Bundled with esp2020r2 toolchain
* Built with Python 3 & latest MSYS2 packages
2020-06-12 10:24:29 +10:00
Angus Gratton
02a53166b6
Merge branch 'bugfix/parttool_get_info_wo_info_option_v4.0' into 'release/v4.0'
...
partition_table: Fix parttool.py crashes when retrieving partition info (v4.0)
See merge request espressif/esp-idf!9064
2020-06-10 15:57:41 +08:00
Piyush Shah
f677655fcb
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-10 01:25:53 +05:30
aleks
6932b4d1c0
freemodbus: add comments for limitation in current version of freemodbus
2020-06-08 08:39:49 +02:00
David Čermák
ccdd06937f
Merge branch 'feature/pin_ethernet_task_to_core_v4.0' into 'release/v4.0'
...
ethernet: support pin emac task to core (v4.0)
See merge request espressif/esp-idf!9038
2020-06-08 13:47:07 +08:00
Michael (XIAO Xufeng)
f16a37d439
Merge branch 'bugfix/fix_fifo_cnt_bug_v4.0' into 'release/v4.0'
...
bugfix(uart): fix esp32 uart fifo_cnt bug(backport v4.0)
See merge request espressif/esp-idf!9041
2020-06-08 13:25:58 +08:00
Jiang Jiang Jian
a864e3dcfe
Merge branch 'bugfix/authmode_degrade_fix_v4.0' into 'release/v4.0'
...
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold (backport 4.0)
See merge request espressif/esp-idf!8806
2020-06-08 11:22:10 +08:00
Michael (XIAO Xufeng)
ef8613b7f7
Merge branch 'bugfix/sdmmc_check_slot_before_pullup_4.0' into 'release/v4.0'
...
sdmmc: Correctly check function parameters before using them (4.0)
See merge request espressif/esp-idf!9056
2020-06-08 10:24:59 +08:00
kapil.gupta
d008eba708
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-07 10:55:02 +05:30
Mahavir Jain
b76773d943
Merge branch 'bugfix/httpd_lru_purge_v4.0' into 'release/v4.0'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge (v4.0)
See merge request espressif/esp-idf!8833
2020-06-05 18:38:33 +08:00
Piyush Shah
ad95174a7a
esp_http_server: Fixed a bug which could cause issues with LRU purge
...
LRU counter should be started from 1, and not 0, so that all checks
work fine.
Closes https://github.com/espressif/esp-idf/issues/4753
2020-06-05 09:24:06 +00:00
Jiang Jiang Jian
1ad7e276d9
Merge branch 'workaround/wps_iot_fixes_v4.0' into 'release/v4.0'
...
wpa_supplicant: WPS Inter operatability Fixes( backport v4.0)
See merge request espressif/esp-idf!8951
2020-06-05 13:50:27 +08:00
Angus Gratton
2f51b520c6
Merge branch 'bugfix/wpa_supplicant_no_hw_mpi_v4.0' into 'release/v4.0'
...
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI (v4.0)
See merge request espressif/esp-idf!9014
2020-06-04 18:24:07 +08:00
Angus Gratton
84d6d48fe0
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI
...
Closes https://github.com/espressif/esp-idf/issues/5321
2020-06-04 18:32:58 +10:00
KonstantinKondrashov
51bb86f0a6
partition_table: Fix parttool.py crashes when retrieving partition info
...
Closes: IDFGH-3279
Closes: https://github.com/espressif/esp-idf/issues/5271
2020-06-04 16:31:26 +08:00
Alexander Borsuk
7eaea6c726
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-06-04 12:01:59 +08:00
kapil.gupta
9746fa569c
wpa_supplicant: WPS Inter operatability Fixes
...
Add WPS IOT fixes under config option
Current fixes under this flag.
1. Allow NULL-padded WPS attributes.
2. Bypass WPS-Config method validation
2020-06-03 13:33:49 +00:00
Nachiket Kukade
40385ea454
wpa_supplicant: Allow NULL-padded WPS attributes
...
Some AP's keep NULL-padding at the end of some variable length WPS
Attributes. This is not as par the WPS2.0 specs, but to avoid interop
issues, ignore the padding by reducing the attribute length by 1.
2020-06-03 13:33:49 +00:00
morris
d96d68ea38
ethernet: support pin emac task to core
2020-06-03 19:54:22 +08:00
Island
9718338984
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v4.0' into 'release/v4.0'
...
ble_mesh: Remove relay option dependency (v4.0)
See merge request espressif/esp-idf!9027
2020-06-03 15:20:51 +08:00
Island
5a61c4c24c
Merge branch 'bugfix/ble_mesh_example_nvs_store_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh example nvs store (v4.0)
See merge request espressif/esp-idf!9017
2020-06-03 15:12:17 +08:00
Island
ceffc0837e
Merge branch 'bugfix/ble_mesh_model_recv_fix_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh model recv fix (v4.0)
See merge request espressif/esp-idf!9008
2020-06-03 15:11:32 +08:00
Island
ece24128da
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v4.0' into 'release/v4.0'
...
ble_mesh: Rework prov pdu length check (v4.0)
See merge request espressif/esp-idf!9004
2020-06-03 15:10:52 +08:00
Anton Maklakov
7d6bcf5f5e
docs: Fixup format of a command line to build unit tests
2020-06-03 12:17:36 +07:00
xiongyu
f75088d40d
bugfix(uart): fix esp32 uart fifo_cnt bug
...
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-03 12:29:06 +08:00
lly
19f69333f7
ble_mesh: Remove relay option dependency
...
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-06-02 19:18:52 +08:00
Jiang Jiang Jian
695ad84654
Merge branch 'bugfix/fix_some_wifi_bugs_0522_v4.0' into 'release/v4.0'
...
feature: optimize some wifi API (backport v4.0)
See merge request espressif/esp-idf!8878
2020-06-02 17:39:15 +08:00
lly
1636c2ba6b
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-02 14:04:37 +08:00
lly
db2376bb09
ble_mesh: Add mesh example common nvs operations
2020-06-02 14:04:36 +08:00
lly
b55020ad80
ble_mesh: Config and health client btc fixes
...
Fix an issue which may cause no error code is returned
when sending config client or health client messages
with invalid parameters.
2020-06-02 14:04:35 +08:00
lly
1ac6d48fcf
ble_mesh: Add more checks of net_idx & app_idx
2020-06-02 14:04:35 +08:00
lly
268f5ad6c6
ble_mesh: Optimize some send & recv logs
2020-06-02 14:04:34 +08:00
Island
1ab23bfd3d
Merge branch 'bugfix/ble_mesh_local_model_sub_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh local model sub (v4.0)
See merge request espressif/esp-idf!8984
2020-06-02 10:58:40 +08:00
lly
205425b86b
ble_mesh: correct the return type [Zephyr]
2020-06-02 10:32:25 +08:00
lly
c2589b0b57
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-06-02 10:32:24 +08:00
lly
f990d725f4
ble_mesh: Optimize model recv operations [Zephyr]
...
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-06-02 10:32:23 +08:00
lly
073b8daa6e
ble_mesh: Rework prov pdu length check
2020-06-02 10:14:50 +08:00
Angus Gratton
6a844f3737
Merge branch 'bugfix/kconfig_hex_values_v4.0' into 'release/v4.0'
...
kconfig: Fix two cases of hex values being handled incorrectly (v4.0)
See merge request espressif/esp-idf!8788
2020-06-01 14:48:16 +08:00
ronghulin
b571992626
feature: optimize some wifi API
...
1. optimization esp_wifi_set_max_tx_power description
2. Add API esp_wifi_ap_get_sta_aid
2020-06-01 11:07:49 +08:00
lly
cd40f3ad52
ble_mesh: Local model (un)subscribes group address
2020-06-01 09:11:27 +08:00
lly
11cfb44e58
ble_mesh: Define a macro for invalid company id
2020-06-01 09:11:26 +08:00
Jiang Jiang Jian
c00fe4c53c
Merge branch 'bugfix/wpa3_auth_coex_issue_v4.0' into 'release/v4.0'
...
Fix WPA3 Auth issue in coex scenario (backport v4.0)
See merge request espressif/esp-idf!8838
2020-05-29 18:05:43 +08:00
He Yin Ling
64114efdaf
Merge branch 'bugfix/ci_push_to_github_on_label_v4.0' into 'release/v4.0'
...
ci: Don't push to Github or deploy docs on customized pipelines (v4.0)
See merge request espressif/esp-idf!8938
2020-05-29 14:04:26 +08:00
Jiang Jiang Jian
569575b404
Merge branch 'bugfix/fix_spi_flash_clock_config_error_v4.0' into 'release/v4.0'
...
flash: fix spi flash clock config error (backport v4.0)
See merge request espressif/esp-idf!8515
2020-05-29 12:46:04 +08:00
Angus Gratton
2f15eacdeb
Merge branch 'bugfix/heap_psram_fill_v4.0' into 'release/v4.0'
...
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on (v4.0)
See merge request espressif/esp-idf!8491
2020-05-29 12:43:45 +08:00
Jiang Jiang Jian
193e9c0d5a
Merge branch 'bugfix/add_so_linger_to_menuconfig_for_4.0' into 'release/v4.0'
...
lw-ip:add so linger to menuconfig for 4.0(backport4.0)
See merge request espressif/esp-idf!8759
2020-05-29 11:15:26 +08:00
Jiang Jiang Jian
5c2ed3af0e
Merge branch 'bugfix/fix_memleak_in_wpa3_feature_v4.0' into 'release/v4.0'
...
fix(wpa_supplicant): fix memleak in wpa3 feature (backport v4.0)
See merge request espressif/esp-idf!8655
2020-05-29 11:14:36 +08:00
Jiang Jiang Jian
6b5c89b684
Merge branch 'bugfix/ble_mesh_check_timer_init_v4.0' into 'release/v4.0'
...
ble_mesh: Check the result of creating timer (v4.0)
See merge request espressif/esp-idf!8959
2020-05-28 15:27:21 +08:00
Jiang Jiang Jian
a5ffd527ab
Merge branch 'nimble/update_nimble_submodule_v4.0' into 'release/v4.0'
...
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.0)
See merge request espressif/esp-idf!8795
2020-05-28 15:24:45 +08:00
lly
792605e8fd
ble_mesh: Check the result of creating timer
2020-05-28 10:27:25 +08:00
Island
59e11421bf
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh sync zephyr fixes (v4.0)
See merge request espressif/esp-idf!8949
2020-05-28 10:16:52 +08:00
Island
a90e8d67e9
Merge branch 'bugfix/ble_mesh_not_use_same_private_key_v4.0' into 'release/v4.0'
...
ble_mesh: Not using pre-initialized private key (v4.0)
See merge request espressif/esp-idf!8946
2020-05-28 10:14:45 +08:00
Island
a192095a5e
Merge branch 'bugfix/ble_mesh_comp_data_store_restore_v4.0' into 'release/v4.0'
...
ble_mesh: Same func for storing/restoring comp data (v4.0)
See merge request espressif/esp-idf!8943
2020-05-28 10:13:44 +08:00
Nachiket Kukade
9e21c09a11
esp_wifi: Update wifi lib
...
Fix WPA3 Auth issue in coex scenario
2020-05-27 19:44:39 +05:30
lly
63c83730c2
ble_mesh: Transport tx fields overflow [Zephyr]
...
The transport segmented TX nack and seg_pending fields must be at least
6 bits to avoid overflow for 32 segment messages. This change rearranges
the seg_tx fields to gather all state flag fields in one byte, while
making the counter fields whole bytes.
2020-05-27 17:45:55 +08:00
lly
f781c6edac
ble_mesh: Friend with unknown appkey [Zephyr]
...
Ensures that friend messages are enqueued, even if the packet is
received with an appkey is unknown to the friend. Previously, sdu_recv
would return EINVAL if the appkey was unknown, which would prevent the
lower transport layer from adding the packet to the friend queue. This
is irrelevant for the logic in lower transport, and should not be
returned as an error.
2020-05-27 17:45:49 +08:00
lly
7078065980
ble_mesh: Not using pre-initialized private key
2020-05-27 17:39:35 +08:00
lly
a8afd951dc
ble_mesh: Same func for storing/restoring comp data
2020-05-27 17:31:01 +08:00
Island
652e5352ee
Merge branch 'bugfix/ble_mesh_uses_deprecated_config_v4.0' into 'release/v4.0'
...
ble_mesh: Fix using old config for duplicate scan (v4.0)
See merge request espressif/esp-idf!8901
2020-05-27 17:24:26 +08:00
Angus Gratton
2ea5f522f3
ci: Don't push to Github or deploy docs on customized pipelines
...
BOT_TRIGGER_WITH_LABEL must be empty (meaning all tests are running).
2020-05-27 19:06:30 +10:00
Jiang Jiang Jian
20c34cac2d
Merge branch 'bugfix/fix_some_wifi_bugs_0427_v4.0' into 'release/v4.0'
...
Bugfix/fix some wifi bugs 0427 (v4.0)
See merge request espressif/esp-idf!8571
2020-05-27 14:45:04 +08:00
chenjianqiang
e0a70b0675
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-05-27 04:38:40 +00:00
Angus Gratton
90eccf7cba
Merge branch 'ci/test_jobs_v4.0' into 'release/v4.0'
...
ci: Increase target test runnner count
See merge request espressif/esp-idf!8930
2020-05-27 10:10:12 +08:00
Angus Gratton
d1107a5234
ci: Increase target test runnner count
2020-05-27 11:17:52 +10:00
Angus Gratton
43c32f878a
Merge branch 'bugfix/ci_partition_table_detection_v4.0' into 'release/v4.0'
...
CI: Fix partition table detection if "partition" is in the project name (v4.0)
See merge request espressif/esp-idf!8432
2020-05-27 07:51:54 +08:00
Angus Gratton
6059992efd
Merge branch 'feature/ldgen_output_determinism_v4.0' into 'release/v4.0'
...
ldgen: determinism in mapping rule order (v4.0)
See merge request espressif/esp-idf!8663
2020-05-27 07:50:11 +08:00
Angus Gratton
90f6c9652e
Merge branch 'doc/openocd_security_features_v4.0' into 'release/v4.0'
...
doc: Add caveats about using JTAG debugging with hardware security features (v4.0)
See merge request espressif/esp-idf!8464
2020-05-27 07:49:44 +08:00
Angus Gratton
fa527dc6b3
Merge branch 'bugfix/make_to_cmake_msys_py3_v4.0' into 'release/v4.0'
...
tools: Make Unicode from subprocess result in the CMake convert script (v4.0)
See merge request espressif/esp-idf!8544
2020-05-27 07:49:34 +08:00
Angus Gratton
e93405c3a7
Merge branch 'bugfix/heap_trace_invalid_addr_v4.0' into 'release/v4.0'
...
heap: fix backtrace termination (v4.0)
See merge request espressif/esp-idf!8420
2020-05-27 07:49:01 +08:00
Angus Gratton
1d7765eeea
Merge branch 'bugfix/ci_unterminated_sdkconfig_defaults_v4.0' into 'release/v4.0'
...
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci (v4.0)
See merge request espressif/esp-idf!8457
2020-05-27 07:48:43 +08:00
Mahavir Jain
798cc4deb7
Merge branch 'bugfix/pthread_tcb_cleanup_wrapper_v4.0' into 'release/v4.0'
...
Fix linking for vPortCleanUpTCB wrapper (v4.0)
See merge request espressif/esp-idf!8702
2020-05-26 11:48:42 +08:00
Mahavir Jain
254967eea5
Merge branch 'bugfix/wifi_prov_not_stopping_v4.0' into 'release/v4.0'
...
wifi_provisioning: Catch the Wi-Fi events even after Connection errors (v4.0)
See merge request espressif/esp-idf!8608
2020-05-26 11:48:15 +08:00
Angus Gratton
457e1160bc
Merge branch 'task/update_idf_version_v401' into 'release/v4.0'
...
version: Update to v4.0.1
See merge request espressif/esp-idf!8887
2020-05-26 07:38:09 +08:00
David Čermák
d6a2f9841d
Merge branch 'feature/config_mqtt_task_prio_v4.0' into 'release/v4.0'
...
esp_mqtt: configure task priority, esp_mqtt_abort_connection race condition, clenaup logs and docs (v4.0)
See merge request espressif/esp-idf!8473
2020-05-26 03:37:13 +08:00
David Čermák
d9f4cb89a4
Merge branch 'bugfix/ws_client_fragmented_send_v4.0' into 'release/v4.0'
...
ws_client: fix fragmented send setting proper opcodes (v4.0)
See merge request espressif/esp-idf!8691
2020-05-25 17:19:42 +08:00
David Čermák
76d79dff7c
Merge branch 'bugfix/ipv6_examples_4.0' into 'release/v4.0'
...
socket-examples: IPv6 related update for examples to set correct scoped id (v4.0)
See merge request espressif/esp-idf!8582
2020-05-25 17:18:59 +08:00
lly
9d5ea68c61
ble_mesh: Fix using old config for duplicate scan
2020-05-25 16:54:03 +08:00
Michael (XIAO Xufeng)
1ab129891a
Merge branch 'bugfix/erase_with_vtaskdelay_v4.0' into 'release/v4.0'
...
spi_flash: Add vTaskDelay while a long erasing (v4.0)
See merge request espressif/esp-idf!8599
2020-05-25 14:29:26 +08:00
Angus Gratton
a748457a70
version: Update to v4.0.1
2020-05-25 14:05:55 +10:00
xueyunfei
15916dfbec
add LINGER to menuconfig
2020-05-25 11:31:38 +08:00
Island
c18ffa8604
Merge branch 'example/ble_mesh_structural_adjust_v4.0' into 'release/v4.0'
...
Example/ble mesh structural adjust (v4.0)
See merge request espressif/esp-idf!8871
2020-05-22 19:14:58 +08:00
Island
57932baef3
Merge branch 'bugfix/ble_mesh_provisioner_fail_to_pub_v4.0' into 'release/v4.0'
...
ble_mesh: Fix Provisioner failed to publish (v4.0)
See merge request espressif/esp-idf!8874
2020-05-22 19:14:26 +08:00
Island
4c5fd2be70
Merge branch 'bugfix/ble_mesh_friend_init_flag_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh friend init flag (v4.0)
See merge request espressif/esp-idf!8869
2020-05-22 19:13:42 +08:00
Island
7a60ae4bc8
Merge branch 'bugfix/ble_mesh_remove_patch_v4.0' into 'release/v4.0'
...
ble_mesh: Remove patch for the bug of an App (v4.0)
See merge request espressif/esp-idf!8868
2020-05-22 19:13:24 +08:00
Island
7f049cd5dc
Merge branch 'bugfix/ble_mesh_fix_typos_v4.0' into 'release/v4.0'
...
ble_mesh: Fix typos (v4.0)
See merge request espressif/esp-idf!8867
2020-05-22 19:13:05 +08:00
lly
699270e09e
ble_mesh: Fix Provisioner failed to publish
2020-05-22 15:48:49 +08:00
lly
59187b0921
ble_mesh: Fix tutorial links in examples README.md
2020-05-22 14:30:12 +08:00
lly
ec6ebf7d4e
ble_mesh: Rename esp_fast_prov_* to ble_mesh_fast_prov_*
2020-05-22 14:30:05 +08:00
lly
bcc1eb916b
ble_mesh: Rename the folders ble_mesh_fast_prov_* to fast_prov_*
2020-05-22 14:28:38 +08:00
lly
9891045018
ble_mesh: Rename ble mesh example main & init files
...
- Rename ble_mesh_demo_main.c to main.c
- Rename ble_mesh_demo_init.* to ble_mesh_example_init.*
2020-05-22 14:22:39 +08:00
lly
009878f02d
ble_mesh: Move the example init to the common_components
2020-05-22 14:21:43 +08:00
David Cermak
ee51d336d3
mqtt: clenaup logs and docs, esp_mqtt_abort_connection race condition
...
esp_mqtt_abort_connection: Fixed an issue which could result in a race condition and subsequent crash
esp_mqtt: Change an error print to use ESP_LOGE instead of ESP_LOGI
Move Sending MQTT connect message log from Info to Debug level
docs: Makes clear that publish API could block
Change the message printed after MQTT connection failure
2020-05-22 06:21:25 +00:00
Simon Brélivet
d7310ae008
esp_mqtt: add option to configure mqtt task priority.
...
Merges https://github.com/espressif/esp-idf/pull/4947
2020-05-22 06:21:25 +00:00
lly
8bbee15932
ble_mesh: Move the button component to common_components
2020-05-22 14:20:56 +08:00
lly
d15735c71f
ble_mesh: Change the EXTRA_COMPONENT_DIRS used by examples
2020-05-22 14:20:41 +08:00
lly
b63abd2069
ble_mesh: Rename common_vendor_models to common_components
...
Since the scripts of CI will bypass common_components when
trying to get ALL_EXAMPLES, and these BLE Mesh components
will only be used by other mesh examples, i.e. no need to
be compiled as a single example, so we rename the folder
to common_componnets.
2020-05-22 14:20:21 +08:00
David Cermak
acf1478a51
socket-examples: IPv6 related update for examples to set correct scoped id
...
The scope id must be present when connecting to IPv6 Local Link
address.
2020-05-22 06:19:49 +00:00
David Cermak
55dd3c8b77
ws_client: fix fragmented send setting proper opcodes
...
Previous implementation violated the RFC by having both the actual opcode and WS_FIN flag set for all fragments of a message.
Fixed by setting the opcode only for the first fragment and WS_FIN for the last one
Closes IDFGH-2938
Closes https://github.com/espressif/esp-idf/issues/4974
2020-05-22 06:11:44 +00:00
David Čermák
7b01509b19
Merge branch 'bugfix/stop_mac_can_be_controlled_by_user_v4.0' into 'release/v4.0'
...
Bugfix/stop mac can be controlled by user v4.0
See merge request espressif/esp-idf!8762
2020-05-22 14:07:48 +08:00
KonstantinKondrashov
754f59fba7
spi_flash(new driver): Add a Kconfig option - Bypass a block erase and always do sector erase
...
Closes: IDF-1561
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
9926b875d8
spi_flash(LEGACY_IMPL): Add a Kconfig option - Bypass a block erase and always do sector erase
...
Closes: IDF-1561
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
79831e64fd
spi_flash: Add into sim/stubs the esp_timer
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
a128eae7b8
spi_flash(new driver): Add vTaskDelay while a long erasing
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
98ac272a3f
spi_flash(LEGACY_IMPL): Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: https://github.com/espressif/esp-idf/issues/4916
Closes: IDFGH-261
2020-05-22 05:07:20 +00:00
lly
13167a7579
ble_mesh: Clear two more vars during proxy server deinit
2020-05-22 11:39:51 +08:00
lly
acf41f93a9
ble_mesh: Add missing sdkconfig.h
2020-05-22 11:39:51 +08:00
lly
470c959b04
ble_mesh: Init device name during proxy server init
...
Device name will be reset when deinit mesh stack. If not
initializing device name during the next mesh stack init,
it will fail to set the device name when using bluedroid.
2020-05-22 11:39:50 +08:00
lly
dd7c98d6c2
ble_mesh: Add init flag for friend init/deinit
...
Since bt_mesh_friend_init() will only be invoked when
a device is provisioned or Provisioner is enabled, so
we add a flag to indicate if the friend functionality
is initialized in case deinit before initialization.
2020-05-22 11:39:49 +08:00
lly
90aa79fd2b
ble_mesh: Remove patch for the bug of an App
2020-05-22 11:37:30 +08:00
lly
97c1a4b5c6
ble_mesh: Fix typos
2020-05-22 11:34:07 +08:00
Island
5897354d7f
Merge branch 'bugfix/sync_zephyr_bt_mesh_bugfix_v4.0' into 'release/v4.0'
...
Bugfix/sync zephyr bt mesh bugfix (v4.0)
See merge request espressif/esp-idf!8853
2020-05-22 10:50:39 +08:00
Island
6c99fdceb2
Merge branch 'bugfix/ble_mesh_node_old_version_to_new_v4.0' into 'release/v4.0'
...
ble_mesh: Fix mesh node device role restore (v4.0)
See merge request espressif/esp-idf!8854
2020-05-22 10:50:09 +08:00
Island
1340e600c2
Merge branch 'doc/ble_mesh_fix_v4.0' into 'release/v4.0'
...
ble_mesh: Doc miscellaneous fixes (v4.0)
See merge request espressif/esp-idf!8859
2020-05-22 10:49:39 +08:00
lly
cdd35648b7
ble_mesh: Doc miscellaneous fixes
...
- Update ble mesh architecture
2020-05-21 17:48:21 +08:00
Michael (XIAO Xufeng)
6fe46c1798
Merge branch 'bugfix/timer_group_intr_enable_v4.0' into 'release/v4.0'
...
Fix timer group intr enable (backport v4.0)
See merge request espressif/esp-idf!8530
2020-05-21 17:42:02 +08:00
lly
d2bcb5c7ff
ble_mesh: A specific fix for compile warning in idf4.0
...
Compared with the latest idf, idf4.0 defines BIT(nr) in
the "esp_bit_defs.h" without the pre-condition "#ifndef BIT",
which will cause compile warning when using mesh. So we
include the header file "soc/soc.h" in "mesh_util.h",
which can bypass the definition of "BIT" in "mesh_util.h"
when compiling.
2020-05-21 16:50:09 +08:00
lly
2ea69e6df5
ble_mesh: Fix mesh node device role restore
...
Old version of BLE Mesh has no device role storage, because
previously we only support storing mesh node info.
If the binary of the node is upgraded from old version to a
new version (support storing provisioner info), the mesh info
of the node will not be restored because mesh role does not
exist in the flash.
2020-05-21 15:26:50 +08:00
lly
b5bd1bf67e
ble_mesh: Fix not update prov addr in fast prov
...
When using fast provisioning, the Provisioner functionality
will be enabled. Unicast addresses within the pre-allocated
range will be used for provisioning nodes. And during the
address assignment, the allocated unicast address will be
checked that if it's duplicated with other nodes addresses
and the Provisioner's own addresses.
So before starting using fast provisioning, we need to update
the Provisioner address.
2020-05-21 15:22:21 +08:00
lly
8294055c65
ble_mesh: net_key_status only pull one key idx [Zephyr]
...
Fixes bug where the config client's net_key_status handler would attempt
to pull two key indexes from a message which only holds one.
2020-05-21 15:22:21 +08:00
lly
11286e35a2
ble_mesh: Update client message timeout calculation
...
Since the behavior of sending segmented messages has been
changed properly, the calculation of timeout value which
will be used when sending an acknowledged message by a
client model also needs to be updated.
2020-05-21 15:22:20 +08:00
lly
2c5b0a523a
ble_mesh: Add lock for segmented msg operations
...
Add mutex to protect some variables of the mesh segmented
messages.
Currently the timeout handler of mesh will be executed in
the btc task, while the received mesh messages will be
handled in the btu task. In case some variables are set to
NULL when handled in the btu task, meanwhile these variables
are also accessed in the timeout handler, so we add mutex to
protect these variables and related operations.
2020-05-21 15:22:19 +08:00
lly
8c6f6318c0
ble_mesh: Fix dereferencing pointer before checking for NULL [Zephyr]
...
The publication context is checked for NULL in bt_mesh_model_publish()
however it was dereferenced before that. Move the assignment to
ctx.send_rel to the same place where other ctx members are set.
2020-05-21 15:22:18 +08:00
lly
632d9739b5
ble_mesh: Optimize some mesh log output
2020-05-21 15:22:18 +08:00
lly
34cb56b7aa
ble_mesh: Fix restore when revoke keys [Zephyr]
...
Store keys (NetKey and AppKey) again after revoking.
2020-05-21 15:22:17 +08:00
lly
7c12074801
ble_mesh: Spit mesh_util.h into different header files
...
Split mesh_util.h into mesh_byteorder.h, mesh_compiler.h,
mesh_ffs.h and mesh_util.h based on the classification of
Zephyr, which will make further porting more clear.
2020-05-21 15:22:16 +08:00
lly
4b21a34675
ble_mesh: Split mesh os related into a separate file
2020-05-21 15:22:13 +08:00
lly
ac51ec11ec
ble_mesh: Split mesh mutex into a separate file
2020-05-21 15:19:52 +08:00
lly
7db10be193
ble_mesh: Rename mesh_kernel.* to mesh_timer.*
2020-05-21 15:19:51 +08:00
lly
fde075aec2
ble_mesh: Add and use transport macro definitions [Zephyr]
2020-05-21 15:19:51 +08:00
lly
cbd2bcfbd2
ble_mesh: Friend SeqAuth cleanup [Zephyr]
...
The Friend queue uses the message SeqAuth to determine whether the
message is already in the queue. To facilitate this, the SeqAuth is
passed around as a pointer throughout the transport modules. In the
bt_mesh_ctl_send functions, this parameter is also exposed in the API,
but the internal usage is inconsistent and buggy. Also, no one actually
uses this parameter.
- Removes seq_auth param from bt_mesh_ctl_send, instead passing NULL
directly to the friend module, to enforce its addition to the queue.
- Makes the seq_auth pointer const throughout the friend module.
2020-05-21 15:19:50 +08:00
lly
5c5621790a
ble_mesh: Rework msg_cache [Zephyr]
...
Changes the behavior of the message cache to optimize for cache
capacity. Previously, the message cache's primary function was to avoid
decrypting messages multiple times, although the cache's main function
in the spec is to avoid message rebroadcasting. Optimizing for minimal
decryption causes us to fill the network cache faster, which in turn
causes more cache misses, potentially outweighing the advantage.
Now stores src + seq in message cache instead of field hash value. This
cuts cache size in two, while including more of the sequence number than
before.
Adds messages to the cache only after the packet is successfully
decrypted. This reduces noise in the cache, and ensures that no
invalid deobfuscations are added.
Additionally, this fixes a bug where multiple calls to net_decrypt with
the same packet failed, as the message cache found its own entry from
the previous call.
2020-05-21 15:19:49 +08:00
lly
fbdb7ff665
ble_mesh: Segmented TX to groups [Zephyr]
...
Implements several changes to the transport layer segmented tx to
improve group message performance:
- Moves retransmit counter to tx context instead of per packet. As every
unacked packet is sent every retransmit, the retransmit counters would
be the same in each segment. This makes it easier to control progress.
- Delays the scheduling of the retransmit until the completion of the
last segment by adding a seg_pending counter. This is essentially the
same as the old behavior, except that the old behavior might retrigger
the sending before all segments are finished if the advertising is
slow.
- Allows the group transmits to stop as soon as all retransmits have
been exhausted, instead of timing out waiting for acks that won't
come. This allows group tx to finish without error.
- Fixes a bug where a failed TX would block IV update.
- Cancels any pending transmissions of acked segments.
- Reduces log level for several common group tx scenarios that aren't
erronous.
2020-05-21 15:19:49 +08:00
lly
bbfaaa2044
ble_mesh: Add comment explaining use of byte order [Zephyr]
...
Add comment that explains why a different byte order is used for the
3-byte opcode on the CID part of the opcode.
2020-05-21 15:19:48 +08:00
lly
ad14507e3f
ble_mesh: Use 24-bit functions [Zephyr]
...
Use 24-bit functions for byteorder and net_buf in order to make the
byteorder used more readable.
2020-05-21 15:19:47 +08:00
lly
c9d1255ce4
ble_mesh: Optimize net_buf_simple routines [Zephyr]
...
Use sys_put_xyz() helpers instead of memcpy() whenever possible. This
brings in straight-line inline code for pushes and adds of known,
small sizes.
2020-05-21 15:19:46 +08:00
lly
25569cd9de
ble_mesh: Add PRIu64 & PRIx64 in mesh_types.h
2020-05-21 15:19:46 +08:00
lly
416e8958fa
ble_mesh: Add push functions for supported bit-variants [Zephyr]
...
Add push functions for bit-widths supported by add and pull functions.
2020-05-21 15:19:45 +08:00
lly
cde1592bf3
ble_mesh: Add support for 64 bit data type [Zephyr]
...
This enables pulling and pushing values in 64 bit format.
2020-05-21 15:19:44 +08:00
lly
0af05fdee1
ble_mesh: Add support for 48 bit data type [Zephyr]
...
This enables pulling and pushing values in 48 bit format.
2020-05-21 15:19:44 +08:00
lly
4536a485be
ble_mesh: Add 48 bit variants [Zephyr]
...
This adds sys_*_*48 functions that operation on a 48 bits values.
2020-05-21 15:19:43 +08:00
lly
e7d37f2d1a
ble_mesh: Add support for 24 bit data type [Zephyr]
...
This enables pulling and pushing values in 24 bit format.
2020-05-21 15:19:42 +08:00
lly
fd17ff2f0b
ble_mesh: Add 24 bit variants [Zephyr]
...
This adds sys_*_*24 functions that operation on a 24 bits values.
2020-05-21 15:19:41 +08:00
lly
e322c5950b
ble_mesh: Group resends in proxy nodes [Zephyr]
...
Resend transport segments for groups on the advertiser interface, even
if a connected proxy node holds the group.
2020-05-21 15:19:41 +08:00
lly
1f96a6f35d
ble_mesh: Typo in condition in comp_add_elem of cfg_srv [Zephyr]
...
Vendor model IDs take up four (not two) bytes in the composition
2020-05-21 15:19:40 +08:00
lly
4fddf1156b
ble_mesh: GATT Proxy Spec 1.0.1 changes [Zephyr]
...
Backport of https://github.com/apache/mynewt-nimble/pull/724
Mesh spec 1.0.1 changes proxy disabling behavior to only affect the
relaying from proxy nodes. Previously, disabling proxy would shut down
all proxy and node activity.
Tweaks from the original commit:
- Removed redundant call to bt_mesh_adv_update() in gatt_proxy_set()
- Removed invalid ref to 4.2.11.1 in node_identity_set()
---
According to Mesh Profile Spec 1.0.1, Section 4.2.11:
"If the Proxy feature is disabled, a GATT client device can connect
over GATT to that node for configuration and control. Messages from
the GATT bearer are not relayed to the advertising bearer."
Moreover some notes have been removed from the spec compared to
version 1.0:
Mesh Profile Spec 1.0, Section 4.2.11:
"Upon transition from GATT Proxy state 0x01 to GATT Proxy state 0x00
the GATT Bearer Server shall disconnect all GATT Bearer Clients."
"The Configuration Client should turn off the Proxy state as the last
step in the configuration process."
Mesh Profile Spec 1.0, Section 4.2.11.1:
"When the GATT Proxy state is set to 0x00, the Node Identity state
for all subnets shall be set to 0x00 and shall not be changed."
2020-05-21 15:19:39 +08:00
lly
833483bb22
ble_mesh: Support reliable sending when publishing [Zephyr]
...
Until now the choice of reliable sending (segmented messages with
acks) was implicitly dependent on the size of the payload. Add a new
member to the bt_mesh_model_pub to force using segment acks even when
the payload would fit a single unsegmented message.
2020-05-21 15:19:39 +08:00
lly
3d4948664b
ble_mesh: Check device uuid when init provisioning
2020-05-21 15:19:38 +08:00
lly
203f871420
ble_mesh: Fix provisioning buffer initialization [Zephyr]
...
When PB-GATT support has been enabled the provisioning code "borrows"
the buffer from the proxy code. However, the way that initialization
was happening the proxy buffers were initialized only after
provisioning initialization, resulting in a corrupted buffer with
buf->data pointing to NULL. Reorder the initialization calls so that
proxy is done first and provisioning only after it.
2020-05-21 15:19:37 +08:00
lly
2c6a3f9e5b
ble_mesh: Skip publish if update fails [Zephyr]
...
Allow models to skip a periodic publish interval by returning an error
from the publish update callback.
Previously, an error return from publish update would cancel periodic
publishing. This can't be recovered from, and as such, no valid model
implementation could return an error from this callback, and there was
no way to skip a periodic publish.
2020-05-21 15:19:36 +08:00
lly
2b6131b5f4
ble_mesh: Enable Segmented Control Messages [Zephyr]
...
The function bt_mesh_ctl_send() used to support maximum length of
11 bytes. The segmentation complies with the BLE Mesh Standard.
The ack is disabled in case of non unicast address.
2020-05-21 15:19:36 +08:00
Island
793d2b11f1
Merge branch 'bugfix/ble_mesh_not_ignore_msg_in_fast_prov_v4.0' into 'release/v4.0'
...
ble_mesh: Not ignore msg when fast prov is enabled (v4.0)
See merge request espressif/esp-idf!8711
2020-05-21 15:16:08 +08:00
Island
bbc95d981c
Merge branch 'bugfix/ble_mesh_use_sdkconfig_ci_v4.0' into 'release/v4.0'
...
ble_mesh: Add bluedroid and nimble example configurations (v4.0)
See merge request espressif/esp-idf!8499
2020-05-21 15:14:45 +08:00
Island
471171cb32
Merge branch 'feat/ble_mesh_sensor_model_example_v4.0' into 'release/v4.0'
...
ble_mesh: Add ble mesh sensor model examples (v4.0)
See merge request espressif/esp-idf!8508
2020-05-21 15:14:22 +08:00
Island
3b4ff12246
Merge branch 'bugfix/ble_mesh_compile_error_o2_v4.0' into 'release/v4.0'
...
ble_mesh: Fix compile error when -O2 (performance) is chosen (v4.0)
See merge request espressif/esp-idf!8617
2020-05-21 15:13:56 +08:00
Island
351dba9272
Merge branch 'bugfix/ble_mesh_provisioner_check_key_v4.0' into 'release/v4.0'
...
ble_mesh: Check if appkey exist before deleting it (v4.0)
See merge request espressif/esp-idf!8620
2020-05-21 15:13:31 +08:00
Island
7b6236c2d9
Merge branch 'bugfix/ble_mesh_node_reset_erase_v4.0' into 'release/v4.0'
...
ble_mesh: Fix node not erase info completely (v4.0)
See merge request espressif/esp-idf!8623
2020-05-21 15:12:21 +08:00
Michael (XIAO Xufeng)
1ce4c20115
Merge branch 'bugfix/fix_gpio_wake_up_disable_invalid_for_rtc_io_v4.0' into 'release/v4.0'
...
bugfix (GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/4.0)
See merge request espressif/esp-idf!7996
2020-05-21 11:39:39 +08:00
lly
3e885dc73b
ble_mesh: Add bluedroid and nimble example configurations
2020-05-20 11:25:07 +00:00
lly
c85d7dfd5a
ble_mesh: Add ble mesh sensor model examples
2020-05-20 10:51:55 +00:00
lly
9a654ec590
ble_mesh: Add some common macros for sensor model
2020-05-20 10:51:55 +00:00
lly
193828f121
ble_mesh: Allow empty sensor series column value
2020-05-20 10:51:55 +00:00
lly
fab2dcb790
ble_mesh: Check if same sensor (settings) property id exists
2020-05-20 10:51:55 +00:00
lly
d3619d0b45
ble_mesh: Allow empty sensor settings exist
2020-05-20 10:51:55 +00:00
Prasad Alatkar
5af06f49f5
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.0)
...
Change list:
- Reduces the size of the compiled binary, PR: https://github.com/espressif/esp-nimble/pull/6
- Null pointer check, PR: https://github.com/apache/mynewt-nimble/pull/701
- Pairing procedure abort on unexpected req: https://github.com/apache/mynewt-nimble/pull/710
- Fix conn flags after pairing: https://github.com/apache/mynewt-nimble/pull/730
- Remove notification for update process timeout (Vol 6, Part B, section 5.2 ):
https://github.com/apache/mynewt-nimble/pull/782
- CCCD fix : https://github.com/apache/mynewt-nimble/pull/790 and
https://github.com/apache/mynewt-nimble/pull/804
- Host based Privacy (RPA) fix: https://github.com/espressif/esp-nimble/pull/7
Closes https://github.com/espressif/esp-nimble/issues/10
Closes https://github.com/espressif/esp-idf/issues/4413
2020-05-20 16:19:55 +05:30
zhangyanjiao
e430860df3
wifi changes:
...
1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
4. fix the timeout issue of EAPOL four-way handshake
5. fix the crash issue when fetch peer after delete the cur_peer
2020-05-20 18:13:07 +08:00
Angus Gratton
4c81978a3e
Merge branch 'bugfix/doc_version_links_v4.0' into 'release/v4.0'
...
doc: Fix broken Release page links when building a stable version (v4.0)
See merge request espressif/esp-idf!8821
2020-05-20 13:17:23 +08:00
xiehang
ddc2427385
esp_wifi:Add softap example channel configuration
2020-05-20 10:59:04 +08:00
Angus Gratton
6153026f22
doc: Fix broken Release page links when building a stable version
2020-05-20 11:32:53 +10:00
Angus Gratton
18abdd7cb0
confserver: Always store hex values in sdkconfig with 0x prefix
...
This is not necessary for correct behaviour or to have valid sdkconfig files
(previous commit adds tests for this), but it's useful for consistency with
sdkconfig files generated by menuconfig.
As reported in https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-18 17:02:37 +10:00
Angus Gratton
260fe847e2
kconfig: Fix generation of hex outputs for Make & CMake
...
And add tests for hex output formatting in all output formats.
Previously, Make & CMake outputs only formatted hex values with the 0x prefix
if they had the 0x prefix in the sdkconfig file. Now this prefix is always
applied.
Closes https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-18 17:02:37 +10:00
Jiang Jiang Jian
fc2199c5d6
Merge branch 'bugfix/wpa3_mixed_mode_authype_v4.0' into 'release/v4.0'
...
esp_wifi: Add and utilize WPA3/WPA2 Mixed mode Authtype (backport v4.0)
See merge request espressif/esp-idf!8768
2020-05-17 17:05:15 +08:00
Jiang Jiang Jian
4695eeddee
Merge branch 'bufix/fix_v4.0_bluedroid_bugs_mr' into 'release/v4.0'
...
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash(backport 4.0)
See merge request espressif/esp-idf!8755
2020-05-16 19:53:15 +08:00
Piyush Shah
65d4596a36
wifi_provisioning: Catch the Wi-Fi events even after Connection errors
...
It was observed that after sending credentials, if the first
Wi-Fi conection attempt fails, the Wi-Fi provisioning managager
ignores subsequent Wi-Fi events. So, even if the device eventually
connects to the AP, the provisioning stays on indefinitely.
Changing a check so that subsequent events are also captured and
provisioning finishes successfully.
2020-05-15 13:50:47 +00:00
Nachiket Kukade
748720a466
esp_wifi: Update WiFi lib
...
Add and utilize WPA3/WPA2 Mixed mode Authtype
2020-05-15 14:58:07 +05:30
xueyunfei
8688bd0593
add LINGER to menuconfig
2020-05-15 17:18:50 +08:00
zhiweijian
6ee978c6aa
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-15 16:18:31 +08:00
wangcheng
d231b25bc4
fix bta_dm_deinit_cb crash
2020-05-15 16:16:26 +08:00
wangcheng
456c8bdbdf
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-15 16:16:26 +08:00
Jiang Jiang Jian
94917184be
Merge branch 'bugfix/wpa3_pmf_memleak_fix_v4.0' into 'release/v4.0'
...
WPA3 / PMF memory leak fixes (backport v4.0)
See merge request espressif/esp-idf!8677
2020-05-15 15:11:44 +08:00
morris
b13d96ae8b
ethernet: better control start/stop/uninstall/install
2020-05-14 22:12:42 +08:00
morris
496ab2a83f
ethernet: esp_eth_stop API should stop emac hardware
2020-05-14 22:10:37 +08:00
Angus Gratton
3c882991b5
Merge branch 'bugfix/ethernet_task_watchdog_timeout' into 'release/v4.0'
...
ethernet: fix potential task watch dog timeout (backport 4.0)
See merge request espressif/esp-idf!8743
2020-05-14 16:21:35 +08:00
Angus Gratton
4d35a99c12
Merge branch 'nimble/config_option_sdkconfig_rename_v4.0' into 'release/v4.0'
...
Add NimBLE config options in sdkconfig.rename (v4.0)
See merge request espressif/esp-idf!8736
2020-05-14 16:19:36 +08:00
morris
6442184dd8
ethernet: fix potential task watch dog timeout
2020-05-14 14:23:32 +08:00
Hrishikesh Dhayagude
02c47360f1
Add NimBLE config options in sdkconfig.rename
2020-05-14 11:31:53 +10:00
Nachiket Kukade
db5f01429f
wpa_supplicant: Fix memory leaks in WPA3 connection
...
1. Buffers for SAE messages are not freed after the handshake.
This causes memory leak, free buffers after SAE handshake.
2. SAE global data is not freed until the next WPA3 connection
takes place, holding up heap space without reason. Free theis
data after SAE handshake is complete or event fails.
3. Update wifi lib which includes memory leak fix during BIP
encryption/decryption operations.
2020-05-13 20:45:34 +05:30
Nachiket Kukade
b938846de6
wpa_supplicant: Fix formatting of file esp_wpa3.c
...
Replace tabs with spaces in esp_wpa3.c.
2020-05-13 20:35:56 +05:30
Jiang Jiang Jian
7d295e18bc
Merge branch 'bugfix/fix_switch_channel_without_discon_issue_v4.0' into 'release/v4.0'
...
esp_wifi: Fix AP switch to adjacent channel without disconnect (backport v4.0)
See merge request espressif/esp-idf!8705
2020-05-13 19:58:22 +08:00
lly
b47111c708
ble_mesh: Not ignore msg when fast prov is enabled
...
When fast provisioning is enabled, Provisioner shall not
ignore messages from the nodes whose addresses are not in
the provisioning database. Because other nodes which are
not provisioned by the Primary Provisioner will send node
address messages to the Primary Provisioner.
2020-05-13 10:09:50 +08:00
Jiang Jiang Jian
6a6de506b1
Merge branch 'bugfix/supplicant_general_fixes_40' into 'release/v4.0'
...
wpa_supplicant: Fix some memleaks and invalid memory access (backport v4.0)
See merge request espressif/esp-idf!8553
2020-05-12 20:17:51 +08:00
Jiang Jiang Jian
12a65aaac1
Merge branch 'bugfix/wep40_key_parsing_bug_v4.0' into 'release/v4.0'
...
wpa_supplicant: Add parsing support for WEP40 key(backport)
See merge request espressif/esp-idf!8684
2020-05-12 20:17:15 +08:00
Jiang Jiang Jian
6bfad8a47d
Merge branch 'fixbug/tcp_kill_state_assert_for_v4.0' into 'release/v4.0'
...
lw-ip:fixbug for tcp kill state assert(backport 4.0)
See merge request espressif/esp-idf!8451
2020-05-12 20:15:45 +08:00
xiehang
0863de4a69
esp_wifi: Fix AP switch to adjacent channel without disconnect
2020-05-12 17:20:48 +08:00
Shubham Kulkarni
db3a1110ec
pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper
2020-05-12 10:35:47 +05:30
kapil.gupta
398dc28a4e
wpa_supplicant: Add parsing support for WEP40 key
...
WEP key is passed as ascii key without "", add parsing support
in supplicant for this.
2020-05-11 11:23:10 +05:30
Renz Bagaporo
4011393920
ldgen: determinism in mapping rule order
...
This MR imposes some determinism in the mapping rule order in the output
file. For each section, the archives are arranged alphabetically
(ascending), and the mapping rules in each archive are arranged by
increasing specificity then alphabetically (ascending). The default
rules remain the very first rule for each section.
2020-05-08 21:10:19 +08:00
Zhang Jun Hao
a87df25d9e
fix(wpa_supplicant): fix memleak in wpa3 feature
2020-05-08 16:25:38 +08:00
lly
814108f9ac
ble_mesh: Add length check for some mesh operations
2020-05-07 09:18:15 +00:00
lly
baf0fb3576
ble_mesh: Fix compile error when -O2 (performance) is chosen
2020-05-07 09:18:15 +00:00
lly
a895bb157f
ble_mesh: Fix node not erase info completely
...
Previously only mesh node info is supported to be stored
in flash. So when trying to reset the node, we only need
to judge if the BLE_MESH_VALID flag is set.
Currently we support storing both node & Provisioner info
in flash, when trying to erase the node info from flash,
the BLE_MESH_NODE flag will be checked. So we need to set
bt_mesh.flags to 0 when all the erase operations are done.
2020-05-07 09:16:51 +00:00
Angus Gratton
b0f053d82d
Merge branch 'bugfix/get_started_export_profile_v4.0' into 'release/v4.0'
...
docs: remove suggestion about running export.sh from .profile script (backport v4.0)
See merge request espressif/esp-idf!8614
2020-05-07 12:07:05 +08:00
kapil.gupta
4242519894
wpa_supplicant: Fix some memleaks and invalid memory access
...
Add changes to fix issues reported in clang analyzer
2020-05-06 11:06:51 +00:00
morris
b3c3b4e7f0
ethernet: not using latch register to check link
2020-05-06 17:28:18 +08:00
morris
f09c9b957c
timer_group: fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-05-06 17:28:18 +08:00
dowster
24c9f56d45
Fix typo with sigmadelta.h #ifdef
2020-05-06 17:28:18 +08:00
Angus Gratton
08bcb587ec
Merge branch 'fix/ci_example_test_prov_v4.0' into 'release/v4.0'
...
CI: Fix prov example test exception handle (v4.0)
See merge request espressif/esp-idf!8440
2020-05-06 16:59:20 +08:00
Jiang Jiang Jian
c5a8dc85b7
Merge branch 'feature/wpa3_pmf_pmk_caching_backport_v4.0' into 'release/v4.0'
...
WPA3, PMF & PMK caching support (backport v4.0)
See merge request espressif/esp-idf!8625
2020-05-06 15:41:05 +08:00
Shivani Tipnis
a7ca14b064
CI: Fix prov example test cryptography package version exception handling
2020-05-06 04:54:59 +00:00
Nachiket Kukade
4557c686b8
wpa_supplicant: Fix EAP Re-authentication issue
...
EAP reauth frames are dropped at various stages due to current
implementation of WPA2 ENT states and EAP SM init/deinit logic.
Route EAPOL frames based on EAP pkt type and maintain EAP SM
to facilitate EAP re-authentication process.
2020-05-06 10:21:45 +05:30
Nachiket Kukade
5e33a351f1
esp_wifi: Enable WPA3 & PMF by default
2020-05-06 10:21:41 +05:30
Nachiket Kukade
1fc54cfad8
Increase example cmake parallel jobs number
2020-05-06 10:21:29 +05:30
Nachiket Kukade
bc7a34b494
wpa_supplicant: Disable TLSv1.2 by default
...
Some Enterprise Authentication Servers do not support TLS v1.2.
Move this option to Menuconfig and disable by default.
2020-05-06 10:21:25 +05:30
Nachiket Kukade
ab81940982
esp_wifi: Additional changes for WPA3 & PMF testcases
...
Added WPA3 Testcases support for -
1. Anti-Clogging Token Request support
2. Return correct status from SAE modules for invalid scenarios
3. Add PMK Caching support for WPA3
wifi lib includes fixes for below PMF Certification issues -
1. Check return status of decrypt operation. Fixes 5.3.3.1.
2. Allow PMF negotiation for WPA2-Enterprise. Fixes 5.3.3.2, 5.3.3.4.
3. Add NULL check on key before encrypting PMF, fixes crash.
2020-05-06 10:20:46 +05:30
Sagar Bijwe
6d6b7b09e8
wifi: Add PMF and WPA3 documentation
2020-05-06 10:20:40 +05:30
Nachiket Kukade
d36663b798
wpa_supplicant: Support WPA3 4-way handshake, add config option
...
1. Add changes in 4-way handshake path to allow SAE key mgmt.
2. Support for configuring WAP3 at init time, added Kconfig option.
3. Handle and propagate error conditions properly.
2020-05-06 10:20:35 +05:30
Nachiket Kukade
6b76228fcb
wpa_supplicant: Add SAE handshake support for WPA3-PSK
...
Under WPA3-Personal, SAE authentication is used to derive PMK
which is more secure and immune to offline dictionary attacks.
1. Add modules to generate SAE commit/confirm for the handshake
2. Add modules that build and parse SAE data in Auth frames
3. Add WPA3 association and key mgmt definitions
4. Invert y-bit while solving for ECC co-ordinate -
Once an X co-ordinate is obtained, solving for Y co-ordinate
using an elliptical curve equation results in 2 possible values,
Y and (P - Y), where p is the prime number. The co-ordinates are
used for deriving keys in SAE handshake. As par the 802.11 spec
if LSB of X is same as LSB of Y then Y is chosen, (P - Y) otherwise.
This is not what is implemented, so fix this behavior to obtain the
correct Y co-ordinate.
2020-05-06 10:20:26 +05:30
Sagar Bijwe
8f5f828ad6
wpa_supplicant: Adding SAE modules with testcase
...
This change ports SAE(Simultaneous Authentication of Equals)
feature from wpa_supplicant and makes it work with mbedtls
crypto APIs. Currently only group 19 is supported. A sample
SAE handshake is included in the testcase. Other minor
changes for DH groups are also included.
2020-05-06 10:20:22 +05:30
Nachiket Kukade
5c5ae96be2
Add encryption/decryption support for PMF
...
1. Add CCMP, AES crypto modules for unicast protected Mgmt frames
2. Add support for computing SHA256 MIC on Bcast Mgmt frames
3. Add support for storing iGTK during 4-way handshake.
4. Provide APIs to MLME for utilizing the SW crypto modules
2020-05-06 10:20:16 +05:30
Nachiket Kukade
1b7f3fee5c
Add support for PMF configuration and negotiation
...
1. Add APIs for configuring PMF through set config.
2. Map Supplicant and Wifi Cipher types.
3. Add support for PMF negotiation while generating RSN IE.
2020-05-06 10:20:11 +05:30
Hrudaynath Dhabe
b7dc47108f
wifi: Add code required to backport PMK Caching
2020-05-06 10:19:52 +05:30
liu zhifu
8cd210b38b
esp_wifi/supplicant: fix some WiFi stop memory leak
2020-05-06 10:15:51 +05:30
Hrudaynath Dhabe
19e840aa53
wpa_supplicant: Set assoc_ie_len based on generated RSN/WPA IE
2020-05-06 10:15:46 +05:30
Hrudaynath Dhabe
39acf9c4dd
wifi: Add PMK caching feature for station WPA2-enterprise
...
4. Pmksa cache expiry after dot11RSNAConfigPMKLifetime timeout.
2020-05-06 10:15:43 +05:30
Sagar Bijwe
2da4ffa2aa
wifi: Add PMK caching feature for station WPA2-enterprise
...
1) Added PMK caching module from wpa_supplicant.
2) Modified wpa_sm to
a) Add entry to PMK cache when first time associated to an AP.
b) Maintain entry across the associations.
c) Clear current PMKSA when deauth happens.
d) Search for an entry when re-associating to the same AP and
set it as current PMKSA
e) Wait for msg 1/4 from AP instead of starting EAP authentication.
f) Check PMKID in msg 1 with current PMKSA/cache.
g) Use the cached PMK to complete 4-way handshake.
3) Remove config_bss callback as it was redundant and used to cause
problems for PMK caching flow.
Closes IDF-969
2020-05-06 10:15:36 +05:30
lly
30c645d9c2
ble_mesh: Check if appkey exist before deleting it
2020-05-06 11:39:02 +08:00
Jiang Jiang Jian
b9fa6b0b1a
Merge branch 'bugfix/can_not_get_IP_address_from_China_mobile_v4.0' into 'release/v4.0'
...
wifi: fix the bug that ESP32 can't get IP address from China Mobile router (v4.0)
See merge request espressif/esp-idf!8401
2020-05-06 11:16:24 +08:00
Island
5f71ec3640
Merge branch 'bugfix/ble_mesh_rpl_list_size_v4.0' into 'release/v4.0'
...
ble_mesh: Associate replay protection list size with nodes count (v4.0)
See merge request espressif/esp-idf!8495
2020-05-06 11:14:21 +08:00
Island
a44f473d4a
Merge branch 'doc/ble_mesh_fixes_v4.0' into 'release/v4.0'
...
doc: Fix some ble mesh description (v4.0)
See merge request espressif/esp-idf!8503
2020-05-06 11:12:57 +08:00
Island
beb64a1af4
Merge branch 'bugfix/ble_mesh_add_missing_cpp_v4.0' into 'release/v4.0'
...
ble_mesh: Add missing #ifdef __cplusplus (v4.0)
See merge request espressif/esp-idf!8506
2020-05-06 11:12:25 +08:00
Island
7b8356ee2f
Merge branch 'bugfix/ble_mesh_time_scene_wrong_name_v4.0' into 'release/v4.0'
...
ble_mesh: Fix time scene wrong macro name (v4.0)
See merge request espressif/esp-idf!8511
2020-05-06 11:11:00 +08:00
Ivan Grokhotkov
7fbfb1aa03
docs: remove suggestion about running export.sh from .profile script
...
This was quite obviously a bad suggestion, and it seems that some
users have actually read the docs attentively enough to have followed
it. Replace be recommendation to create an alias.
Closes https://github.com/espressif/esp-idf/issues/3889
2020-05-05 21:39:30 +02:00
Angus Gratton
02b5db37d1
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions
...
Closes https://github.com/espressif/esp-idf/issues/4681
Discussion https://esp32.com/viewtopic.php?f=13&t=15145
2020-04-30 15:36:04 +10:00
Roland Dobai
7f4b651434
tools: Make Unicode from subprocess result in the CMake convert script
...
Fixes an issue with Python 3 in MSYS where it fails while trying to join
paths where one part is Unicode (default string on Python3) and the
second part are bytes (returned by the subprocess call).
Closes https://github.com/espressif/esp-idf/issues/5189
2020-04-28 15:22:27 +02:00
lly
b97d4c617b
ble_mesh: Fix time scene wrong macro name
2020-04-27 16:26:23 +08:00
lly
765bd76ba3
ble_mesh: Add missing #ifdef __cplusplus
2020-04-27 15:34:14 +08:00
lly
9370264cac
doc: Fix some ble mesh description
2020-04-27 15:25:46 +08:00
Angus Gratton
07c1d9d9c7
doc: Add warnings about using JTAG debugging with hardware security features
...
This is related to the following issues but is not a fix, just documentation of a workaround until we can
improve the support:
https://github.com/espressif/esp-idf/issues/4878
https://github.com/espressif/esp-idf/issues/4734
2020-04-27 16:41:16 +10:00
lly
8bfa01cc28
ble_mesh: Fix client local parameters not initialized
2020-04-27 14:39:40 +08:00
lly
90a9444696
ble_mesh: Continue node info restore even if failure happens
...
During BLE Mesh Provisioner initialization, the stack will restore
the nodes information if settings storage is enabled.
Previously when a failure happens (e.g. found the same uuid) during
the restore procedure, the information of the following nodes will
not be restored and error will be directly returned.
But this will introduce some problem with user experience, because
some newly provisioned nodes information will not be restored and
Provisioner will not be able to control those nodes.
So we change the operation here, when a failure happens during the
restore procedure, Provisioner will only ignore the information of
the current node and continue restoring other nodes information.
2020-04-27 14:39:40 +08:00
lly
b9fd2673a7
ble_mesh: Remove some redundant functions
2020-04-27 14:39:39 +08:00
lly
7595116353
ble_mesh: Notify unprovisioned device beacon to application layer
...
With this change, if a Provisioner has provisioned the maximum
number of nodes, it can still report the unprovisioned device
beacon from other nodes to the application layer. And this will
be more reasonable compared with the previous implementation.
Previously when the node array of Provisioner is full, no beacon
from unprovisioned devices will be reported, only some warning
logs will be given.
2020-04-27 14:39:38 +08:00
lly
9aae0f2dee
ble_mesh: Check if assigned node address is duplicated
...
Previously only check the node address when it is assigned by the
application layer. Here we also check the address when the address
is allocated internally. And this will be useful when some mesh
internal tests are performed.
2020-04-27 14:39:38 +08:00
lly
f137546a4b
ble_mesh: Update next alloc address when node info is added
2020-04-27 14:39:37 +08:00
lly
388043c203
ble_mesh: Fix Provisioner provisioning deadlock
2020-04-27 14:39:37 +08:00
lly
c496fa79de
ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option
...
Previously the BLE_MESH_MAX_STORED_NODES option is added for
internal mesh test, which will be a little confusing for the
users to understand.
Here we remove this option, instead the BLE_MESH_MAX_PROV_NODES
will be used for all the cases. For mesh internal test, when
the test function is called to add some nodes info, the info
will be stored in the array of provisioned nodes directly.
2020-04-27 14:39:36 +08:00
lly
2af16b92e5
ble_mesh: Associate replay protection list size with nodes count
...
The replay protection list of Provisioner should be at least equal
to the number of nodes with the precondition that each node contains
only one element.
The help information of replay protection list is updated, and the
maximum number of nodes for Provisioner is adjusted based on the
replay protection list size.
2020-04-27 14:39:35 +08:00
Angus Gratton
8c98f6bdaf
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on
...
Significantly speeds up heap initialization at startup when default "Light" heap
poisoning is enabled.
Tip via reddit user LinkeSeitentasche https://www.reddit.com/r/esp32/comments/fnj51a/a_guide_to_improving_esp32_boot_speed/
2020-04-27 16:34:31 +10:00
Roland Dobai
c4af9d3e24
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci
2020-04-23 16:54:33 +02:00
xueyunfei
27da86fb6e
fixbug for tcp kill state assert
2020-04-23 16:04:33 +08:00
Roland Dobai
2d13bfb8fa
CI: Fix partition table detection if "partition" is in the project name
2020-04-22 10:05:18 +02:00
Ivan Grokhotkov
81f0744ada
test: add a (non-automated) case for backtraces with ROM functions
2020-04-21 11:49:15 +02:00
Ivan Grokhotkov
c3ae910529
heap: recognize 0x40000000 as an address terminating the backtrace
...
On Xtensa, backtrace can not recover the two most significant bits of
the address, as the window call size is encoded in these bits.
Because of this, __builtin_return_address modifies these MSBs to
match those of the callee, "fixing" the address. An unfortunate side
effect is that the zero return address, which usually terminates the
backtrace, gets converted to 0x40000000. While there is a valid
instruction at this address, its occurrence in the backtrace is
highly unlikely: this is the first instruction of WindowOverflow4
vector, and IDF apps switch VECBASE to an IRAM location very early at
startup.
2020-04-21 11:48:43 +02:00
Krzysztof Budzynski
c955b7d133
Merge branch 'docs/backport_6147' into 'release/v4.0'
...
backport changes in 6147
See merge request espressif/esp-idf!8101
2020-04-21 14:34:21 +08:00
liying
4131b51c16
Backport changes made in 6147 to release/4.0
2020-04-20 21:47:26 +08:00
Angus Gratton
1de273a901
Merge branch 'bugfix/error_on_building_in_idf_path_v4.0' into 'release/v4.0'
...
cmake: Error out when building in IDF_PATH dir (v4.0)
See merge request espressif/esp-idf!8298
2020-04-20 15:04:25 +08:00
zhangyanjiao
2139d40f5e
wifi: fix the bug that ESP32 can't get IP address from China Mobile router
2020-04-20 11:18:07 +08:00
Jiang Jiang Jian
44d653adff
Merge branch 'bugfix/btdm_backports_v4.0_0328' into 'release/v4.0'
...
Bugfix/btdm backports v4.0 0328
See merge request espressif/esp-idf!8151
2020-04-16 22:01:39 +08:00
Jiang Jiang Jian
41eabbefd6
Merge branch 'bugfix/coredump_no_ext_stacks_v4.0' into 'release/v4.0'
...
core dump: don't allow core dumps to Flash if PSRAM is used for stacks (backport v4.0)
See merge request espressif/esp-idf!8229
2020-04-16 15:24:21 +08:00
Jiang Jiang Jian
8972461611
Merge branch 'bugfix/fix_errors_with_mbedtls_disabled_v4.0' into 'release/v4.0'
...
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled. (v4.0)
See merge request espressif/esp-idf!8357
2020-04-16 15:23:03 +08:00
Angus Gratton
0e6bbdf683
Merge branch 'bufgix/esp_ota_get_app_elf_sha256_v4.0' into 'release/v4.0'
...
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled (v4.0)
See merge request espressif/esp-idf!8367
2020-04-16 14:32:22 +08:00
Angus Gratton
778ebb4dba
Merge branch 'bugfix/efuse_get_coding_scheme_and_ut_v4.0' into 'release/v4.0'
...
efuse: Fix get_coding_scheme() using ESP_EARLY_LOG* instead of ESP_LOG* (v4.0)
See merge request espressif/esp-idf!8361
2020-04-16 14:29:39 +08:00
Angus Gratton
f87df26cf4
Merge branch 'bugfix/transport_connection_active_v4.0' into 'release/v4.0'
...
fix(transport): Fix a bug of the connection whether be active (v4.0)
See merge request espressif/esp-idf!7743
2020-04-16 14:05:24 +08:00
Marius Vikhammer
93b8fcf664
app_update: fix test failure for get_app_elf_sha256 test
...
Commit fc03161f updated esp_ota_get_app_elf_sha256 to store and return
X number of bytes of the hash, but the test case still expected 64 bytes.
Updated test case to use CONFIG value for expected length.
2020-04-15 21:13:21 +08:00
KonstantinKondrashov
a78772bbc6
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
...
Closes: IDF-1342
2020-04-15 21:06:43 +08:00
KonstantinKondrashov
1490256968
efuse: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
...
Closes: https://github.com/espressif/esp-idf/issues/4862
2020-04-15 20:52:50 +08:00
Sagar Bijwe
5209dff76b
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled.
...
This is a regression from earlier commit related to TLSV12 which used
sha functions that are currently declared static.
Solution: Follow upstream code structure and resolve the errors.
2020-04-15 15:34:35 +05:30
Liu Han
b7f163530b
fix(transport): Fix a bug of the connection whether be active or not by timeout option when the select function return a correct value.
2020-04-15 09:49:03 +00:00
Angus Gratton
a2d0fb348b
Merge branch 'feature/add_rtc_xtal_cal_retry_option_v4.0' into 'release/v4.0'
...
esp32: Add a Kconfig option - Number of attempts to repeat 32k XTAL calibration (v4.0)
See merge request espressif/esp-idf!7932
2020-04-15 16:09:59 +08:00
Jiang Jiang Jian
fe67bedee2
Merge branch 'nimble/fix_ble_hs_reset_v4.0' into 'release/v4.0'
...
NimBLE: Reset master and slave states on host reset and fix build failure (backport v4.0)
See merge request espressif/esp-idf!8218
2020-04-15 13:26:18 +08:00
Jiang Jiang Jian
85b27d3b03
Merge branch 'bugfix/psram_single_bit_error_v4.0' into 'release/v4.0'
...
psram: support psram 2T mode to fix single bit error (backport v4.0)
See merge request espressif/esp-idf!8328
2020-04-15 13:26:02 +08:00
Jiang Jiang Jian
cb466be9d9
Merge branch 'bugfix/fix_supplicant_tlsv12_v4.0' into 'release/v4.0'
...
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues (v4.0)
See merge request espressif/esp-idf!8204
2020-04-15 13:06:49 +08:00
Sagar Bijwe
64061541f0
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues
...
1) Fixed compilation issues.
2) Added tlsprf.c from upstream
3) Enabled SHA256 in supplicant compilation.
2020-04-13 16:24:26 +00:00
Krzysztof Budzynski
6825d8e0be
Merge branch 'bugfix/uart_echo_readme_v4.0' into 'release/v4.0'
...
example: Remove duplicate commands and invalid serial port information (v4.0)
See merge request espressif/esp-idf!8336
2020-04-13 23:13:01 +08:00
Jiang Jiang Jian
c4fe416f33
Merge branch 'bugfix/backport_some_wifi_bugs_0326_v4.0' into 'release/v4.0'
...
Bugfix/backport some wifi bugs 0326 (backport v4.0)
See merge request espressif/esp-idf!8309
2020-04-13 22:38:39 +08:00
Roland Dobai
14c978b54f
example: Remove duplicate commands and invalid serial port information
...
Closes https://github.com/espressif/esp-idf/issues/5049
2020-04-13 15:26:22 +02:00
chenjianqiang
a6b08cb025
psram: support psram 2T mode to fix single bit error
...
1. add enable PSRAM 2T mode function
2. abort when himem and 2T mode are enabled meanwhile
3. set SPIRAM_2T_MODE as "n" by default, enable it when needed
2020-04-13 14:52:33 +08:00
Jiang Jiang Jian
acdba0eb46
Merge branch 'feat/ble_mesh_ble_adv_simultaneously_v4.0' into 'release/v4.0'
...
ble_mesh: Support BLE advertising simultaneously (v4.0)
See merge request espressif/esp-idf!8316
2020-04-10 21:07:42 +08:00
lly
3b5eb3caf5
ble_mesh: Support BLE advertising simultaneously
2020-04-10 17:36:44 +08:00
Island
967e66bdf6
Merge branch 'bugfix/ble_mesh_add_test_function_v4.0' into 'release/v4.0'
...
ble_mesh: Add ble mesh white list test function (v4.0)
See merge request espressif/esp-idf!8159
2020-04-10 17:29:07 +08:00
liu zhifu
0b4e1ecdec
esp_wifi: backport some WiFi bugs
...
1. Fix WiFi log print level
2. Optimize WiFi/BT coexist sleep
- If any data tx/rx in WiFi slice, fore wakeup next TBTT
- Increase active timeout time to coex TBTT interval to avoid sleep in WiFi slice
3. Fix esp_wifi_stop() crash
esp_wifi_stop() crashes if it's called when WiFi is not initialized.
4. Fix esp_wifi_stop() leads to memory leak
5. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-10 11:18:44 +08:00
Angus Gratton
fd58809899
Merge branch 'bugfix/esp_event_bugfixes_v4.0' into 'release/v4.0'
...
esp_event-related fixes (v4.0)
See merge request espressif/esp-idf!8072
2020-04-09 22:11:16 +08:00
Ivan Grokhotkov
ed3ea95cc2
Merge branch 'bugfix/IDFGH-2910_v4.0' into 'release/v4.0'
...
NVS: bugfix - iterator skipping version 1 blobs (v4.0)
See merge request espressif/esp-idf!8193
2020-04-09 05:45:21 +08:00
Renz Bagaporo
3ba480ba53
cmake: error out on building in IDF_PATH root dir
2020-04-08 19:56:57 +08:00
Michael (XIAO Xufeng)
2628f3ebbd
Merge branch 'bugfix/cpp_extern_v4.0' into 'release/v4.0'
...
Add extern C header guards to some files (backport v4.0)
See merge request espressif/esp-idf!8225
2020-04-07 15:39:48 +08:00
Prasad Alatkar
0fc72b58e1
NimBLE: Reset master and slave states on host reset and fix build failure (backport v4.0)
2020-04-07 10:41:35 +05:30
Mahavir Jain
cfb331e71b
Merge branch 'bugfix/size_calculation_in_ota_v4.0' into 'release/v4.0'
...
Fix size calculation to erase partition range for OTA image (v4.0)
See merge request espressif/esp-idf!8267
2020-04-06 18:04:11 +08:00
Shubham Kulkarni
d74995736c
esp_ota_ops.c: Fix size calculation to erase partition range for OTA image
...
Closes https://github.com/espressif/esp-idf/issues/4953
2020-04-06 13:39:51 +05:30
Ivan Grokhotkov
c8a05bae78
Merge branch 'bugfix/nvs_no_throw' into 'release/v4.0'
...
NVS: Changed all new to new (nothrow) (backport v4.0)
See merge request espressif/esp-idf!7847
2020-04-03 16:38:01 +08:00
Michael (XIAO Xufeng)
127fa7094a
Merge branch 'bugfix/gpio_pin_bit_mask_truncation_v4.0' into 'release/v4.0'
...
driver: fix gpio pin_bit_mask truncation in sdspi_host and others (backport v4.0)
See merge request espressif/esp-idf!8227
2020-04-03 13:28:30 +08:00
Ivan Grokhotkov
ccc6363a21
core dump: don't allow core dumps to Flash if PSRAM is used for stacks
...
It is not possible to write to Flash when the stack is located in
PSRAM, and it is not possible to write PSRAM buffers into Flash when
malloc can not be used.
2020-04-02 23:44:47 +02:00
Ivan Grokhotkov
8ffb38265c
driver: fix gpio pin_bit_mask truncation in sdspi_host and others
...
Closes https://github.com/espressif/esp-idf/issues/4348
2020-04-02 23:38:17 +02:00
boarchuz
17bd6e8fab
Add missing extern "C" to rtc_cntl.h
...
Related: https://github.com/espressif/arduino-esp32/issues/3149
2020-04-02 23:36:14 +02:00
Ivan Grokhotkov
192c20c9f7
clk.h: add extern C guards
...
Closes https://github.com/espressif/esp-idf/issues/4215
2020-04-02 23:22:41 +02:00
Gabriel Durante
c7ac9a296d
Added Cpp compatibility for components/spi_flash/include/esp_flash_spi_init.h
...
Merges https://github.com/espressif/esp-idf/pull/4260
2020-04-02 23:22:10 +02:00
Island
50073a7e61
Merge branch 'nimble/misc_host_flow_ctrl_changes_v4.0' into 'release/v4.0'
...
NimBLE: Misc fixes in NimBLE host (backport v4.0)
See merge request espressif/esp-idf!7949
2020-04-02 19:43:52 +08:00
Jiang Jiang Jian
f69f96edab
Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v4.0' into 'release/v4.0'
...
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v4.0)
See merge request espressif/esp-idf!8182
2020-04-01 17:56:05 +08:00
Mahavir Jain
2ee765ffaf
Merge branch 'bugfix/secure_boot_ecdsa_config_v4.0' into 'release/v4.0'
...
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
See merge request espressif/esp-idf!8196
2020-04-01 16:42:47 +08:00
Jakob Hasse
3ed127709e
NVS: bugfix - iterator skipping version 1 blobs
...
Closes https://github.com/espressif/esp-idf/issues/4954
2020-04-01 15:17:14 +08:00
Angus Gratton
02c5c8d8ad
Merge branch 'backport/malloc_zero_return_null_v4.0' into 'release/v4.0'
...
backport/malloc_zero_return_null_v4.0
See merge request espressif/esp-idf!8145
2020-04-01 14:42:38 +08:00
Angus Gratton
bdfba3b88c
mbedtls: Make ECDHE-PSK config item depend on ECDHE
2020-04-01 16:43:03 +11:00
Angus Gratton
904b85e365
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
...
and all ECDSA to be disabled if secure boot is not enabled
Previously if ECDSA disabled in config then secure_boot_signatures.c would
fail to build (whether or not secure boot was enabled).
To avoid breaking apps that might be using the signature scheme with custom OTA
without enabling secure boot signatures in config, this change just disables
this functionality if unavailable in mbedTLS config.
Possible fix for root cause of https://github.com/espressif/esp-idf/pull/3703
Closes https://github.com/espressif/esp-idf/issues/4758
2020-04-01 16:42:41 +11:00
Mahavir Jain
2cc9d28a35
Merge branch 'fix/wifi_provisioning_uuid_v4.0' into 'release/v4.0'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script (backport v4.0)
See merge request espressif/esp-idf!8163
2020-04-01 13:04:26 +08:00
xiewenxiang
50e83cf374
component/bt: fix don't dequeue the command queue after process the read_by_type_req
2020-03-31 16:29:07 +08:00
Angus Gratton
a3f3c7bdc3
Merge branch 'bugfix/monitor_encrypted_target_v4.0' into 'release/v4.0'
...
tools: Fix flashing encrypted binaries from IDF Monitor (v4.0)
See merge request espressif/esp-idf!8128
2020-03-31 13:11:02 +08:00
Angus Gratton
0b822a9ec7
Merge branch 'bugfix/kconfiglib_open_encoding_v4.0' into 'release/v4.0'
...
tools: Avoid Unicode error in kconfiglib while opening files
See merge request espressif/esp-idf!8082
2020-03-31 11:52:16 +08:00
Prasad Alatkar
dfd197b4c5
Wifi_provisioning_mgr_test: Allow three attempts to connect to AP before concluding provisioning failure (v4.0)
2020-03-30 11:22:48 +05:30
Prasad Alatkar
1e2ca78aac
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID (v4.0)
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-30 11:22:32 +05:30
lly
1d55af4bb2
ble_mesh: Add ble mesh white list test function
...
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-03-30 11:03:00 +08:00
baohongde
b2a3a9041d
components/coex: Fix wakeup delay with DFS
2020-03-28 20:49:15 +08:00
baohongde
286d249239
components/bt: Fix assert when create conntion cancel
2020-03-28 20:44:43 +08:00
Felipe Neves
9d5d22c458
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-27 14:30:27 -03:00
Roland Dobai
13f4656d2a
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-27 10:31:37 +01:00
Jiang Jiang Jian
57a5a486ff
Merge branch 'feat/ble_mesh_vnd_model_example_v4.0' into 'release/v4.0'
...
Feat/ble mesh vnd model example (v4.0)
See merge request espressif/esp-idf!8002
2020-03-27 14:08:22 +08:00
Angus Gratton
363f55f618
Merge branch 'bugfix/cmake_bugfixes_v4.0' into 'release/v4.0'
...
CMake-related bugfixes (v4.0)
See merge request espressif/esp-idf!8066
2020-03-26 16:29:45 +08:00
Jiang Jiang Jian
fb14ab08c8
Merge branch 'bugfix/backport_some_wifi_bugs_0323_v4.0' into 'release/v4.0'
...
esp_wifi: Backport some wifi bugs 0323 (backport v4.0)
See merge request espressif/esp-idf!8087
2020-03-25 15:01:44 +08:00
Jiang Jiang Jian
6ce172bcae
Merge branch 'optimization/TCPv6_connect_for_v4.0' into 'release/v4.0'
...
lw-ip:optimization TCPv6 connect for v4.0
See merge request espressif/esp-idf!8021
2020-03-24 15:25:47 +08:00
xiehang
d71ac521cf
esp_wifi: backport some wifi bugs 0323
...
1,Reduce WiFi bin size
2,Add TX packets size check
3,Fix scan get rssi error
4,Add wifi stop check at WiFi deinit entry
5,coex adjust scheme when bt is connected status
6,Return fail when setting AP's channel is out of range
7,Fix the bug for setting channel when WiFi in NULL mode
2020-03-24 15:10:31 +08:00
Mahavir Jain
921e56d0c3
Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'
...
mbedtls: upgrade to release v2.16.5 (v4.0)
See merge request espressif/esp-idf!7987
2020-03-24 13:46:34 +08:00
Roland Dobai
e9fdc4c7b2
tools: Avoid Unicode error in kconfiglib while opening files
...
This fix is for IDF v4.0 and earlier versions. The upstream kconfiglib
included since IDF v4.1 doesn't have this issue.
Closes https://github.com/espressif/esp-idf/issues/4977
2020-03-23 11:36:10 +01:00
Renz Christian Bagaporo
aed56d4da9
esp_event: remove extra line from source file
2020-03-22 21:46:07 +08:00
Renz Christian Bagaporo
39e8e2003a
esp_event: test that handlers can unregister themselves
2020-03-22 21:45:58 +08:00
Renz Christian Bagaporo
b79062aeec
esp_event: iterate loop nodes safely as well
2020-03-22 21:45:50 +08:00
Xentec
66949e3b54
esp_event: fix crash when unregistering a handler instance in itself
...
When a handler instance is the last one in the list und unregisters
itself, the handler iterator will be invalidated by entering free'd
memory. Same applies for event base and id, if they become empty.
Merges https://github.com/espressif/esp-idf/pull/4139
2020-03-22 21:45:41 +08:00
Rusty Eddy
cb871f0472
Added semi-colon to esp_event_loop_create(...)
...
Title sums it up.
2020-03-22 21:45:26 +08:00
Renz Bagaporo
fbd12902eb
cmake: show error message on encrypted flash targets without proper config
2020-03-22 21:09:35 +08:00
Renz Christian Bagaporo
35839232c8
cmake: utility to create a failing target
2020-03-22 21:09:23 +08:00
Renz Bagaporo
14d6dad650
examples: split source files for one of the ulp examples
2020-03-22 21:09:14 +08:00
Renz Bagaporo
7bdb7ee235
ulp: fix ulp external project args
...
Closes https://github.com/espressif/esp-idf/issues/4713
2020-03-22 21:09:03 +08:00
Renz Christian Bagaporo
0f036b8749
ulp: use quotes when specifying files for embedding ulp binaries
2020-03-22 21:07:58 +08:00
Renz Bagaporo
7663928e49
ci: add test for partition_table target
2020-03-22 21:04:13 +08:00
Renz Christian Bagaporo
365e6ce181
partition_table: output partition table info for partition_table target
2020-03-22 21:04:03 +08:00
He Yin Ling
7b8aa11e12
Merge branch 'bugfix/modify_ble_mesh_command_for_v4.0' into 'release/v4.0'
...
ble mesh: update ble mesh console example(backport v4.0)
See merge request espressif/esp-idf!8047
2020-03-22 18:35:15 +08:00
Chen Sheng
5cbb726028
ble mesh: update ble mesh console example(backport v4.0)
2020-03-22 18:35:12 +08:00
Jiang Jiang Jian
0e70b783ae
Merge branch 'bugfix/send_ok_when_sta_disconnect_for_v4.0' into 'release/v4.0'
...
lw-ip:bugfix for TCPv6 send ok when sta disconnect for v4.0
See merge request espressif/esp-idf!8024
2020-03-21 15:16:01 +08:00
xueyunfei
ac302329d1
optimization TCPv6 connect
2020-03-20 15:02:43 +08:00
Mahavir Jain
08f401b74e
Merge branch 'bugfix/advanced_https_ota_example_v4.0' into 'release/v4.0'
...
esp_https_ota in sync with v4.x (backport v4.0)
See merge request espressif/esp-idf!7153
2020-03-20 14:33:53 +08:00
xueyunfei
e1d78a218a
bugfix for TCPv6 send ok when sta disconnect
2020-03-19 14:06:40 +08:00
Mahavir Jain
13e3e26065
mbedtls: upgrade to release v2.16.5
...
For detailed release notes please refer to:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released
Closes: IDFGH-2638
Closes: https://github.com/espressif/esp-idf/issues/4716
2020-03-18 11:49:23 +00:00
Sagar Bijwe
a8e0b9171b
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
...
Problem:
mbedtls_ctr_drbg_context was initialized in crypto_ec_point_mul. This
was okay in releases before 2.16.4 as entropy_len used to get set to
MBEDTLS_CTR_DRBG_ENTROPY_LEN in function mbedtls_ctr_drbg_seed. The
function is now changed to set the length to
MBEDTLS_CTR_DRBG_ENTROPY_LEN if previous length is 0 and hence the bug.
Solution:
Initialize mbedtls_ctr_drbg_context in crypto_ec_point_mul.
2020-03-18 11:49:23 +00:00
Shubham Kulkarni
402e97ea51
esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
0bdd75a344
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
662b39fc1e
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
8785ac4c2a
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2020-03-18 08:19:56 +00:00
Mahavir Jain
6627ca40da
esp_http_client: fix issue where http parser was not invoking message_complete callback
...
https://github.com/espressif/esp-idf/issues/2625
https://github.com/espressif/esp-idf/issues/4209
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
465d517fbd
Merge branch 'bugfix/CMake_esp_https_ota_dependencies' into master
...
components/esp_https_ota: Changes in public requirement list for CMake and esp_ota_ops.h is included in esp_https_ota.c
bootloader_support is added in public requirements of CMake
bootloader_common.h is included in esp_https_ota.h
Closes https://github.com/espressif/esp-idf/issues/4198
Closes IDFGH-2066
2020-03-18 08:19:56 +00:00
Hrudaynath Dhabe
3bdebe2383
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2020-03-18 08:19:56 +00:00
Hrudaynath Dhabe
be08f6f2bb
esp_http_client: Add support to check the binary length of the recieved stream and compare it with the size mentioned in the header.
...
While downloading OTA firmware, if their is a Origin Respnse Timeout or the binary is only partially downloaded, OTA failure is observed. Checking binary size can also be helpful for simple http client applications.
Closes https://github.com/espressif/esp-idf/issues/3004
2020-03-18 08:19:56 +00:00
Angus Gratton
718af6ed07
Merge branch 'bugfix/ci_handle_retried_jobs_v4.0' into 'release/v4.0'
...
ci: add find job id argument job status (backport v4.0)
See merge request espressif/esp-idf!7954
2020-03-18 16:02:23 +08:00
Island
233349c235
Merge branch 'bugfix/ble_mesh_nimble_adapt_deinit_v4.0' into 'release/v4.0'
...
ble_mesh: Fix ble mesh nimble host deinit (v4.0)
See merge request espressif/esp-idf!8005
2020-03-18 12:31:54 +08:00
Jiang Jiang Jian
982e7b5538
Merge branch 'bugfix/sntp_init_can_run_before_net_connection_v4.0' into 'release/v4.0'
...
lw_ip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it (v4.0)
See merge request espressif/esp-idf!7757
2020-03-18 12:06:42 +08:00
houwenxiang
9eb7eceeec
driver(GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/4.0)
2020-03-18 10:29:18 +08:00
lly
28a9cb5be1
ble_mesh: Fix ble mesh nimble host deinit
2020-03-17 16:22:26 +08:00
lly
47fc70df7f
ble_mesh: Add ESP BLE Mesh vendor models example
2020-03-17 16:01:50 +08:00
lly
be9725f8e7
ble_mesh: Rename ble_mesh_vendor_models to common_vendor_models
2020-03-17 16:01:45 +08:00
Jiang Jiang Jian
a8364af83d
Merge branch 'bugfix/ble_mesh_miscellaneous_fix_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh miscellaneous fix (v4.0)
See merge request espressif/esp-idf!7970
2020-03-17 15:35:12 +08:00
Jiang Jiang Jian
75f6bc2de1
Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled_v4.0' into 'release/v4.0'
...
Bugfix/compiler err when performance optimization enabled v4.0
See merge request espressif/esp-idf!7978
2020-03-17 13:53:54 +08:00
Jiang Jiang Jian
9866b4f17c
Merge branch 'bugfix/hfp_github_issues_v4.0' into 'release/v4.0'
...
Bugfix for HFP and some Github issue. v4.0
See merge request espressif/esp-idf!7976
2020-03-17 13:50:19 +08:00
Jiang Jiang Jian
8df1d1ffab
Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue_v4.0' into 'release/v4.0'
...
bugfix: Place the Vendor Specific element at the end according to the protocol (backport v4.0)
See merge request espressif/esp-idf!7777
2020-03-17 13:44:23 +08:00
Prasad Alatkar
5f7436006f
NimBLE: Add Host based privacy (RPA) feature support (v4.0)
...
- This feature removes dependency on controller to use privacy (RPA)
2020-03-16 07:33:07 +00:00
Prasad Alatkar
6ee1947822
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig (v4.0)
...
Closes BT-290 & BT-440
2020-03-16 07:33:07 +00:00
Hrishikesh Dhayagude
3aaf6a06dd
NimBLE: Use dynamic buffers instead of static memory (v4.0)
...
The NimBLE host buffers that consume a significant amount of memory are
now allocated dynamically.
The advantage is that, the memory can be reclaimed in cases where BLE
is turned off and not required for the current boot cycle
2020-03-16 07:33:07 +00:00
Prasad Alatkar
3ee6dfa4d6
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example (v4.0)
...
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738
Closes https://github.com/espressif/esp-idf/issues/4243
2020-03-16 07:33:07 +00:00
weitianhua
b6415d9a91
Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled
2020-03-14 14:45:57 +08:00
weitianhua
ce55956a8f
Fix mem_start uninitialized error when compiler optimization performance enabled
2020-03-14 14:45:04 +08:00
weitianhua
7c2f1287ec
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-03-14 14:19:54 +08:00
lly
eee8bd4612
ble_mesh: Move dev_role to the end of model_pub
2020-03-13 19:27:55 +08:00
lly
4dde86e45d
ble_mesh: Use the right netkey during iv update
2020-03-13 19:27:54 +08:00
lly
e6b4eb60ef
ble_mesh: Use the right net_idx & app_idx for publish
2020-03-13 19:27:54 +08:00
lly
c5b2f693b8
ble_mesh: Check buf->ref before unref the buffer
2020-03-13 19:27:54 +08:00
lly
7cf29e0f3f
ble_mesh: Fix mesh memory use-after-free issue
2020-03-13 19:27:54 +08:00
lly
cb31c71877
ble_mesh: Add ble mesh deinit in btc task
2020-03-13 19:27:54 +08:00
lly
50040e8e99
ble_mesh: Free beacon timer when deinit mesh
2020-03-13 19:27:53 +08:00
lly
a364541193
ble_mesh: Use lock for mesh timer operations
2020-03-13 19:27:53 +08:00
Mahavir Jain
fdbdf9a0ec
Merge branch 'bugfix/unicore_config_prevent_ipc_code_v4.0' into 'release/v4.0'
...
ipc: prevent code getting pulled in for unicore configuration (v4.0)
See merge request espressif/esp-idf!7943
2020-03-12 13:31:44 +08:00
He Yin Ling
0ad0507f88
ci: add find job id argument job status:
...
if we retry failed job, we will have 2 jobs with same name in one pipeline. we need to use status to find the retried job instead of failed job.
2020-03-12 09:59:31 +08:00
Jiang Jiang Jian
40bebcb39b
Merge branch 'bugfix/select_waiting_assert_for_v4.0' into 'release/v4.0'
...
lw-ip:fix bug for after udp close select_waiting assert for v4.0
See merge request espressif/esp-idf!7921
2020-03-11 21:11:23 +08:00
KonstantinKondrashov
1c12e67c8a
lwip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it
...
Closes: https://github.com/espressif/esp-idf/issues/944
Closes: https://github.com/espressif/esp-idf/issues/3931
Closes: WIFI-1019
2020-03-11 19:18:09 +08:00
xueyunfei
cf77068675
fix bug for after udp close select_waiting assert for v4.0
2020-03-11 10:04:32 +00:00
Michael (XIAO Xufeng)
68b4177f70
Merge branch 'bugfix/ledc_driver_enums_v4.0' into 'release/v4.0'
...
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum (v4.0)
See merge request espressif/esp-idf!7910
2020-03-11 16:39:11 +08:00
Mahavir Jain
0cc802e6ab
ipc: prevent code getting pulled in for unicore configuration
2020-03-11 14:04:45 +05:30
KonstantinKondrashov
cb10ba5785
esp32: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
...
Closes: IDF-1479
2020-03-10 19:39:56 +08:00
Michael (XIAO Xufeng)
6023d60966
Merge branch 'bugfix/put_spihost_handle_in_sram_v4.0' into 'release/v4.0'
...
spi: always put spihost handle in SRAM (backport 4.0)
See merge request espressif/esp-idf!7902
2020-03-10 15:32:24 +08:00
Jiang Jiang Jian
2161d09079
Merge branch 'Bugfix/netconn_marked_close_crash_for_v4.0' into 'release/v4.0'
...
lw-ip:fix bug for netconn marked close crash for v4.0
See merge request espressif/esp-idf!7897
2020-03-09 16:36:45 +08:00
Michael (XIAO Xufeng)
1b08b7c5fb
Merge branch 'bugfix/spiflash_read_psram_v4.0' into 'release/v4.0'
...
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers (v4.0)
See merge request espressif/esp-idf!7878
2020-03-09 11:10:52 +08:00
xueyunfei
8ea128ded5
fix bug for netconn marked close crash for v4.0
2020-03-09 02:49:57 +00:00
Angus Gratton
c5a5b34ba4
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum
...
ledc.h includes two similar enums, ledc_clk_src_t & ledc_clk_cfg_t.
The two enums do different things but there are two similar names: LEDC_REF_TICK / LEDC_USE_REF_TICK
and LEDC_APB_CLK / LEDC_USE_APB_CLK.
Because C will accept any enum or integer value for an enum argument, there's no easy way to check
the correct enum is passed without using static analysis.
To avoid accidental errors, make the numeric values for the two similarly named enums the same.,
Noticed when looking into https://github.com/espressif/esp-idf/issues/4476
2020-03-09 11:32:18 +11:00
Angus Gratton
c38c3ff3f0
spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
...
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.
Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-09 09:59:43 +11:00
Angus Gratton
376703bf05
Merge branch 'bugfix/cmake_convert_whitespace_v4.0' into 'release/v4.0'
...
cmake: Minor convert_to_cmake.py fixes (v4.0)
See merge request espressif/esp-idf!7876
2020-03-09 06:55:19 +08:00
Krzysztof Budzynski
3d887cfff7
Merge branch 'bugfix/docs_ulp_reg_rd_wr_instructions_v4.0' into 'release/v4.0'
...
Correct ULP REG_WR and REG_RD instruction for ESP32
See merge request espressif/esp-idf!7868
2020-03-06 19:09:44 +08:00
Krzysztof Budzynski
af5adbc18e
Correct ULP REG_WR and REG_RD instruction for ESP32
2020-03-06 19:09:43 +08:00
morris
bcedff5a12
spi: always put spihost handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-03-06 17:39:14 +08:00
Jiang Jiang Jian
254b0e9693
Merge branch 'bugfix/bt_interrupt_disable_timing_error_v4.0' into 'release/v4.0'
...
(backport v4.0) btController: events scheduling error in case of wifi and bluetooth.
See merge request espressif/esp-idf!7866
2020-03-05 20:37:51 +08:00
Angus Gratton
af4c6ac0f3
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
...
Previously would try allocate buffer of minimum size 16KB not maximum size 16KB, causing
out of memory errors for any large reads, or if less than 16KB contiguous free heap.
Also, if using legacy API and internal allocation failed then implementation would abort()
instead of returning the error to the caller.
Added test for using large buffers in PSRAM.
Closes https://github.com/espressif/esp-idf/issues/4769
Also reported on forum: https://esp32.com/viewtopic.php?f=13&t=14304&p=55972
2020-03-05 17:11:26 +11:00
Angus Gratton
3d0ecfdc70
cmake: Add warnings that convert_to_cmake.py doesn't calculate component requirements
...
Any component which requires another component will need this manually
added to its CMakeLists.txt file.
2020-03-05 17:06:38 +11:00
Angus Gratton
e85c4a65a4
cmake: convert_to_cmake: Fix possible whitespace issues
...
As reported on forum:
https://esp32.com/viewtopic.php?f=2&t=13565&p=53476#p53453
split() with no arg will match any whitespace sequence not just
a single space, so takes care of case where two spaces are
inserted in the variable value.
2020-03-05 17:06:38 +11:00
Chinmay Chhajed
abab19ad4d
This MR is intended to fix Bluetooth event scheduling when WiFi is also
...
enabled. The global interrupts will be disabled before taking current
time for scheduling further bluetooth events. Earlier disabling
interrupts was taking some time because of which WiFi events were
interrupting in current bluetooth scheduling.
Also fixes ble crash issue triggered by ble event irq miss(0x20000) (819979b9)
2020-03-04 20:30:37 +05:30
Jiang Jiang Jian
cfb6ac13c4
Merge branch 'bugfix/add_hostname_in_discover_packet_for_v4.0' into 'release/v4.0'
...
lw-ip:add host name in discover packet for v4.0
See merge request espressif/esp-idf!7841
2020-03-04 11:24:22 +08:00
xueyunfei
5bcdce8272
add host name in discover packet for v4.0
2020-03-03 12:18:57 +00:00
Jakob Hasse
d5d2d716f6
NVS: Changed all new to new (nothrow)
2020-03-03 17:08:28 +08:00
David Čermák
2a467d17bd
Merge branch 'bugfix/ws_rcv_exceed_buf_v4.0' into 'release/v4.0'
...
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer (backport v4.0)
See merge request espressif/esp-idf!7755
2020-03-03 16:29:10 +08:00
Jiang Jiang Jian
e6a59ac038
Merge branch 'feat/ble_mesh_update_4.0' into 'release/v4.0'
...
Feat/ble mesh update 4.0
See merge request espressif/esp-idf!7799
2020-03-02 15:33:14 +08:00
Angus Gratton
a2af518069
Merge branch 'bugfix/ci_weekend_test_update_v4.0' into 'release/v4.0'
...
ci: a build_system_test(_cmake) fix and some mqtt fixes (backport v4.0)
See merge request espressif/esp-idf!7773
2020-03-02 12:43:34 +08:00
ronghulin
dc193cea49
bugfix: Place the Vendor Specific element at the end according to the protocol
2020-03-02 12:03:32 +08:00
Jiang Jiang Jian
8eb263f9d1
Merge branch 'feature/esp32_5p0_backport_v4p0' into 'release/v4.0'
...
esp325p0 features support and code optimize changes to release/v4.0(backport v4.0)
See merge request espressif/esp-idf!7563
2020-03-02 11:27:50 +08:00
Krzysztof Budzynski
5b402f8081
Merge branch 'bugfix/doc_remove_cmake_defconfig_v4.0' into 'release/v4.0'
...
Doc: replace defconfig with reconfigure (v4.0)
See merge request espressif/esp-idf!7688
2020-03-02 05:10:17 +08:00
June
ea3d70382b
backport esp325p0 new features to release/v4.0
2020-02-29 09:11:30 +00:00
Jiang Jiang Jian
2f8af222e9
Merge branch 'bugfix/IPV6_multicast_adress_error_for_v4.0' into 'release/v4.0'
...
lw-ip:fix ipv6 bug when input the wrong broadcast for v4.0
See merge request espressif/esp-idf!7805
2020-02-29 17:08:32 +08:00
Jiang Jiang Jian
2408dc2671
Merge branch 'feature/doc_feedback_links_v4.0' into 'release/v4.0'
...
docs: Include feedback link in footer (v4.0)
See merge request espressif/esp-idf!7821
2020-02-29 16:58:07 +08:00
Krzysztof
c924da6f0a
Include feedback link in footer
2020-02-29 00:32:55 +08:00
Jiang Jiang Jian
198c8333d1
Merge branch 'bugfix/btdm_div_by_zero_in_slp_clk_conversion_v4.0' into 'release/v4.0'
...
bugfix/btdm_div_by_zero_in_slp_clk_conversion_v4.0(backport v4.0)
See merge request espressif/esp-idf!7787
2020-02-28 17:19:55 +08:00
Marius Vikhammer
f542c979e9
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
...
transport_ws can now be read multiple times in a row to read frames larger than the buffer.
Added reporting of total payload length and offset to the user in websocket_client.
Added local example test for long messages.
Closes IDF-1083
2020-02-28 10:53:08 +08:00
xueyunfei
1351e94a0e
fix ipv6 bug when input the wrong broadcast for v4.0
2020-02-27 17:15:09 +08:00
lly
6eaeda9cf4
ble_mesh: Calc incomplete timeout based on msg info
2020-02-27 14:42:25 +08:00
lly
f2e5ee5d25
ble_mesh: Start the timer when starting to send the client message
2020-02-27 14:42:25 +08:00
lly
4a3b06dde3
ble_mesh: No timeout for client message to non-unicast address
2020-02-27 14:42:25 +08:00
lly
ef7461ae1d
ble_mesh: Unify client application and lower transport layer timeout
2020-02-27 14:42:25 +08:00
lly
bfed4fc90c
ble_mesh: Allow maximum 377 octets payload
2020-02-27 14:42:25 +08:00
lly
6d61f6667a
ble_mesh: Reset transport info when node is removed
2020-02-27 14:42:25 +08:00
lly
41cef4b1bb
ble_mesh: Provisioner ignores msg from removed node
2020-02-27 14:42:25 +08:00
lly
e24641cc89
ble_mesh: Miscellaneous modifications
...
1. Add an API to set Provisioner static oob value
2. Add an API to deinit BLE Mesh stack
3. Add an API to set Provisioner unicast address
4. Add an API to provision devices with fixed address
5. Add an API to store node composition data
6. Add an API to get node with device uuid
7. Add an API to get node with unicast address
8. Add an API to delete node with device uuid
9. Add an API to delete node with unicast address
10. Add an API for Provisioner to update local AppKey
11. Add an API for Provisioner to update local NetKey
12. Support Provisioner persistent functionality
13. Fix Provisioner entering IV Update procedure
14. Fix an issue which may cause client failing to send msg
15. Use bt_mesh.flags to indicate device role
16. Remove several useless macros
17. Callback RSSI of received mesh provisioning packets
18. Modify the Provisioner disable function
19. Change some log level from debug to info
20. Add parameters to Provisioner bind AppKey completion event
21. Fix node ignoring relay messages issue
22. Support using a specific partition for BLE Mesh
23. Fix compile warning when proxy related macros are disabled
24. Clean up BLE Mesh stack included header files
25. NULL can be input if client message needs no parameters
26. Fix compile warning when BT log is disabled
27. Initilize BLE Mesh stack local variables
28. Support using PSRAM for BLE Mesh mutex, queue and task
29. Add a menuconfig option to enable using memory from PSRAM
30. Clean up sdkconfig.defaults of BLE Mesh examples
2020-02-27 14:42:25 +08:00
Jiang Jiang Jian
280f0effc1
Merge branch 'bugfix/mesh_ie_issues_4.0' into 'release/v4.0'
...
Bugfix/mesh ie issues (Backport 4.0)
See merge request espressif/esp-idf!7308
2020-02-27 14:38:36 +08:00
Krzysztof Budzynski
f9cb434eeb
Merge branch 'bugfix/doc_python3_v4.0' into 'release/v4.0'
...
Docs: Encourage to use Python 3 (v4.0)
See merge request espressif/esp-idf!7783
2020-02-26 20:35:27 +08:00
wangmengyang
2236449f47
component/bt: set non-zero initial value for bt sleep clock cycle to avoid div-by-zero error in function "btdm_us_2_lpcycles" when BT modem sleep is not enabled
2020-02-26 16:19:43 +08:00
Roland Dobai
2a4173e9a6
Docs: Encourage to used Python 3
2020-02-26 09:01:42 +01:00
Michael (XIAO Xufeng)
e2cba84555
Merge branch 'bugfix/add_missing_ledc_set_pin_declaration_v4.0' into 'release/v4.0'
...
Bugfix: Add missing ledc_set_pin declaration in led.h (v4.0)
See merge request espressif/esp-idf!7371
2020-02-26 15:20:29 +08:00
David Čermák
8a56c31a25
Merge branch 'bugfix/ws_client_sending_race_v4.0' into 'release/v4.0'
...
websocket_client: fix locking in ws client task (v4.0)
See merge request espressif/esp-idf!7712
2020-02-26 06:11:16 +08:00
David Cermak
daf95803ec
websocket_client: fix locking mechanism in ws-client task and when sending data
...
closes https://github.com/espressif/esp-idf/issues/4169
2020-02-25 20:52:29 +00:00
chenyudong
b006ffa643
mesh: fix mesh ie issues
...
Fix an error of mesh deinit lock.
Fix mesh send returns TIMEOUT.
Increase root window close time to 120s.
Clear ie.child when the child connected or fully associated.
Update rc_rssi when roots direct/forward.
ix assoc in mesh ie wrong.
Mesh packets use AC_VI instead of AC_BE.
2020-02-25 20:50:22 +08:00
David Cermak
80fd327308
update mqtt weekend test to use mbedtls asymetric buffer
2020-02-25 18:32:27 +07:00
David Cermak
ee8ab79696
ci: fix test build system when using template repository from a
...
different branch then master
2020-02-25 18:32:22 +07:00
David Cermak
a7f573c3a1
ci: fix weekend test confguration update per latest refactoring of
...
grouping tests
2020-02-25 18:32:11 +07:00
Jiang Jiang Jian
d292907fb7
Merge branch 'bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk_for_v4.0' into 'release/v4.0'
...
bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk(backport v4.0)
See merge request espressif/esp-idf!7747
2020-02-25 17:55:59 +08:00
Mahavir Jain
4fa13a8575
Merge branch 'bugfix/softap_prov_disconnect_v4.0' into 'release/v4.0'
...
Bugfix/softap prov disconnect (v4.0)
See merge request espressif/esp-idf!7684
2020-02-25 15:40:18 +08:00
Angus Gratton
216b8b4088
Merge branch 'bugfix/child_cmake_uninitialized_vars_v4.0' into 'release/v4.0'
...
cmake: Set uninitialized variable warnings in ULP & bootloader subprojects (v4.0)
See merge request espressif/esp-idf!7630
2020-02-25 15:27:24 +08:00
Jiang Jiang Jian
2c90bce980
Merge branch 'feature/wifi_redo_scan_example_v4.0' into 'release/v4.0'
...
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v4.0)
See merge request espressif/esp-idf!7271
2020-02-25 14:22:59 +08:00
Hrudaynath Dhabe
3ed5b73617
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v4.0)
2020-02-25 14:22:58 +08:00
Angus Gratton
a8fe083017
cmake: Set uninitialized variable warnings in ULP & bootloader subprojects
...
Fixes issue where PYTHON was not being expanded when running ulp_mapgen.py,
causing Windows launch setting to be used - reported here:
https://esp32.com/viewtopic.php?f=13&t=12640&p=50283#p50283
Closes https://github.com/espressif/esp-idf/issues/4785
2020-02-25 17:16:42 +11:00
Jiang Jiang Jian
25dfb08435
Merge branch 'bugfix/btdm_role_switch_v4.0' into 'release/v4.0'
...
Fix bugs about role switch
See merge request espressif/esp-idf!6924
2020-02-25 14:13:58 +08:00
Mahavir Jain
bdeec924a2
Merge branch 'bugfix/nimble_apps_conn_handle_v4.0' into 'release/v4.0'
...
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event (v4.0)
See merge request espressif/esp-idf!7702
2020-02-24 19:14:17 +08:00
Piyush Shah
5136605cb1
wifi_prov_manager: Delay the Wi-Fi connect call
...
For SoftAP provisioning, if we start Wi-Fi connection as soon as the
apply config request is received, it has been observed that the clients
(Phone apps mostly) do not get the response for this as we switch the
Wi-Fi channel, causing a momentary disconnection.
Delaying the connection calls helps mitigate the issue.
Signed-off-by: Piyush Shah <piyush@espressif.com >
2020-02-24 09:25:33 +00:00
Piyush Shah
63d3fd17f9
wifi_prov_manager: Change the name of an internal timer handle to better reflect the purpose
...
Signed-off-by: Piyush Shah <piyush@espressif.com >
2020-02-24 09:25:33 +00:00
wangmengyang
636195fb29
component/bt: fall back to main XTAL as Bluetooth sleep clock when EXT 32K CRYS is configured but not detected
2020-02-24 12:14:25 +08:00
Jiang Jiang Jian
6c19711778
Merge branch 'feature/dev_security_restore_backport_v4p0' into 'release/v4.0'
...
feature/dev_security_restore_backport_v4p0(backport release/v4.0)
See merge request espressif/esp-idf!7738
2020-02-24 11:48:27 +08:00
Jiang Jiang Jian
28788e2d66
Merge branch 'bugfix/mbedtls_esp_bignum_v4.0' into 'release/v4.0'
...
mbedtls: esp bignum fix for 4096 keys (v4.0)
See merge request espressif/esp-idf!7705
2020-02-24 11:44:16 +08:00
June
9d15ffb573
backport mr !6031 - fix security info restore bug
2020-02-21 20:00:25 +08:00
Jiang Jiang Jian
6fee9da72e
Merge branch 'bugfix/enable_ipv6_address_autoconfig_v4.0' into 'release/v4.0'
...
lw-ip: Enable IPv6 stateless address autoconfiguration (backport v4.0)
See merge request espressif/esp-idf!7653
2020-02-21 14:53:47 +08:00
Mahavir Jain
54f7ed5dcc
Merge branch 'bugfix/esp_log_timestamp_v4.0' into 'release/v4.0'
...
Use proper API to get Tick Count is esp_log_timestamp (v4.0)
See merge request espressif/esp-idf!7719
2020-02-20 20:52:33 +08:00
Mahavir Jain
938c291973
Merge branch 'fix/run_esptool_absolute_path_v4.0' into 'release/v4.0'
...
project_include.cmake: Make esptool_py_custom_target callable from other directories (v4.0)
See merge request espressif/esp-idf!7714
2020-02-20 20:22:11 +08:00
Shubham Kulkarni
2966f8cb8c
log: Check for ISR context and use proper API to get Tick Count
2020-02-20 15:55:22 +05:30
Amit Sheth
b59bcb88ce
project_include.cmake: Make esptool_py_custom_target callable from other directories
2020-02-20 15:17:05 +05:30
David Cermak
f8fc84813c
mbedtls: fix hw accelerated big-num mul if operand and result overlap
...
this issue is mainly exposed when using larger (4096) client key in TLS mutual auth,
since it uses multiplications > 2048 when mbedtls_mpi_mul_mpi is used in recursion,
which works only if both operands point to different location than result since
mpi_mult_mpi_overlong() called mbedtls_mpi_grow() to reallocate buffers used in previous
pointer arithmetics and thus corrupting it. Fixed by growing the mpi buffer before
calling mpi_mult_mpi_overlong()
2020-02-20 10:03:00 +01:00
David Cermak
e29d17fcd0
mbedtls: added mpi multiplication test for large numbers
2020-02-20 10:03:00 +01:00
Hrishikesh Dhayagude
2c5932e4fd
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event
2020-02-20 14:02:12 +05:30
baohongde
06ff1ceae3
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-02-20 15:21:28 +08:00
Jiang Jiang Jian
b04e643bd0
Merge branch 'bugfix/coex_schm_v4.0' into 'release/v4.0'
...
Bugfix/coex schm v4.0
See merge request espressif/esp-idf!7636
2020-02-20 14:49:32 +08:00
xiehang
e4696f077d
lwip: Enable IPv6 stateless address autoconfiguration
2020-02-20 13:53:55 +08:00
Sergei Silnov
8911c52a58
Doc: replace defconfig with reconfigure
...
Closes https://github.com/espressif/esp-idf/issues/3965
2020-02-19 17:19:19 +01:00
baohongde
53e355b355
components/coex: Fix misspell in Kconfig
2020-02-19 11:48:45 +08:00
baohongde
d07b9e97d7
components/coex: Fix a2dp stuck after creating anther connection
2020-02-19 11:48:33 +08:00
Angus Gratton
024a2755be
Merge branch 'bugfix/kconfig_cmake_escape_v4.0' into 'release/v4.0'
...
confgen.py: Escape special characters for cmake (v4.0)
See merge request espressif/esp-idf!7646
2020-02-19 08:01:00 +08:00
Angus Gratton
6ad136a49e
Merge branch 'doc/secure_boot_ref_v4.0' into 'release/v4.0'
...
doc: secure boot: Fix relative reference to key generation step (v4.0)
See merge request espressif/esp-idf!7628
2020-02-19 07:59:16 +08:00
Jiang Jiang Jian
615dc00e86
Merge branch 'bugfix/some_host_and_example_bugfix_Backport_to_4v0' into 'release/v4.0'
...
Bugfix/some host and example bugfix backport to v4.0
See merge request espressif/esp-idf!7360
2020-02-18 21:02:34 +08:00
Jiang Jiang Jian
8dd98715a4
Merge branch 'bugfix/unified_prov_bluedroid_v4.0' into 'release/v4.0'
...
Unified Provisioning - BLE: Fix characteristics read response issue (backport v4.0)
See merge request espressif/esp-idf!7650
2020-02-18 20:57:33 +08:00
Jiang Jiang Jian
3b954fb6d6
Merge branch 'bugfix/ble_mesh_fix_compile_error_with_cpp_4.0' into 'release/v4.0'
...
ble_mesh: Fix compile error with c++ files (v4.0)
See merge request espressif/esp-idf!7584
2020-02-18 20:44:41 +08:00
Hrishikesh Dhayagude
6f875f2db2
Unified Provisioning - BLE: Fix characteristics read response issue
...
Fix the issue when number of bytes to be read is an exact multiple of [MTU-1]
2020-02-18 15:09:30 +05:30
Roland Dobai
6b6d9d7321
confgen.py: Escape special characters for cmake
...
Closes https://github.com/espressif/esp-idf/issues/4751
2020-02-18 09:55:53 +01:00
Ivan Grokhotkov
477e6355eb
Merge branch 'bugfix/legacy_msys2_environment_update_v4.0' into 'release/v4.0'
...
doc: Update the MSYS2 legacy toolchain zip to same as master branch (v4.0)
See merge request espressif/esp-idf!7627
2020-02-18 16:26:28 +08:00
Ivan Grokhotkov
008d2db20b
Merge branch 'bugfix/win_tools_installer_fixes_v4.0' into 'release/v4.0'
...
docs: Windows tools installer release v2.3 (v4.0)
See merge request espressif/esp-idf!7561
2020-02-18 16:24:21 +08:00
baohongde
78ecc043d5
Improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi performance in some Classic BT scienario(idle, inquire scan,
connecting, connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect performance in coexistence scienario.
2020-02-18 12:40:48 +08:00
baohongde
c48a94d4a8
components/mesh: Fix some bugs about mesh
...
fix send acl pkt after ble have sent terminate ind
modify min adv interval to 10ms
2020-02-18 11:07:16 +08:00
baohongde
6f4e257601
Increase TCP send buffer and receive window limitation when TCP window scale is enabled
2020-02-18 11:06:15 +08:00
Angus Gratton
2fdb56e741
Merge branch 'feat/mcpwm_hal_fixes_v4.0' into 'release/v4.0'
...
mcpwm: add HAL layer support (fix part, backport v4.0)
See merge request espressif/esp-idf!7105
2020-02-18 09:45:13 +08:00
Ivan Grokhotkov
3f6f658532
docs: update version of IDF tools installer for windows to v2.3
2020-02-18 12:23:34 +11:00
Angus Gratton
0155bce1be
doc: secure boot: Fix relative reference to key generation step
2020-02-18 10:48:18 +11:00
Angus Gratton
ba43d99db9
doc: Update the MSYS2 legacy toolchain zip to same as master branch
...
This is not required for v4.0 (the previous zip will work for v4.0), but it will be
required if updating to a newer ESP-IDF and there's no downside to requiring it here.
2020-02-18 10:38:14 +11:00
Jiang Jiang Jian
0f64291700
Merge branch 'bugfix/backport_some_wifi_bugs_0107_v4.0' into 'release/v4.0'
...
backport some Wi-Fi bugs 0107 (backport v4.0)
See merge request espressif/esp-idf!7260
2020-02-17 20:44:50 +08:00
Angus Gratton
64c1e029fb
Merge branch 'bugfix/doc_sphinxcontrib_dep_v4.0' into 'release/v4.0'
...
Docs: Fix sphinxcontrib dependencies (v4.0)
See merge request espressif/esp-idf!7610
2020-02-17 15:20:23 +08:00
Angus Gratton
99c9e86b7a
Merge branch 'bugfix/update_eclipse_docs' into 'release/v4.0'
...
docs: Update Eclipse installation instructions, ref....
See merge request espressif/esp-idf!7621
2020-02-17 15:06:02 +08:00
Krzysztof
7eeaa62c49
docs: Update Eclipse installation instructions, ref. https://esp32.com/viewtopic.php?f=13&t=14237#p55468
2020-02-15 23:12:59 +08:00
Michael (XIAO Xufeng)
9037b8fb52
mcpwm: decrease test time
...
cherry-pick 538540ce
2020-02-15 23:10:33 +08:00
michael
0f10d12b81
mcpwm: fix the fault handling and capture issues
...
1. The fault signal 3 for unit 2 is corrected to the right value
2. Now `mcpwm_fault_set_oneshot_mode` will clear the status before, no
need to reset the peripheral.
3. The capture feature relies on the prescaler, but it's only
initialized in the mcpwm_init funciton, which is used to initialize a
PWM channel. This means, the capture may not work correctly if no PWM
channel is enabled.
Now the prescaler is also updated when `mcpwm_capture_enable` is
called.
2020-02-15 18:39:28 +08:00
michael
8c148ede22
mcpwm: enable some unit tests again
2020-02-15 18:39:27 +08:00
Roland Dobai
70d4d32511
Docs: Fix sphinxcontrib dependencies
2020-02-14 10:39:19 +01:00
Anton Maklakov
5826ed0c48
Merge branch 'bugfix/smtp_strict_prototypes_fix_v4.0' into 'release/v4.0'
...
ci: re-add the lost PEDANTIC_{C,CXX}FLAGS in CMake example builds (backport v4.0)
See merge request espressif/esp-idf!7600
2020-02-14 17:13:59 +08:00
Jiang Jiang Jian
f92534f95d
Merge branch 'bugfix/btdm_error_type_in_config_eir_evt_v4.0' into 'release/v4.0'
...
components/bt: Fix error EIR type in config eir event
See merge request espressif/esp-idf!7407
2020-02-14 16:41:58 +08:00
xiehang
d2af36c9fb
lwip: Drop packets larger than MTU
2020-02-14 12:03:49 +08:00
zhangyanjiao
5894e049bc
esp_wifi: fix some WiFi issues
...
Fix following WiFi issues:
1. Fix WiFi buffer reload issue
2. Fix AMSDU decrypt issue
3. Fix some WiFi timer issues
4. Fix the crash caused by too big of association request RSN information
5. Fix the crash caused by block scan
6. Fix the bug for getting channel and bandwidth
7. Fix some Sniffer bugs
8. Fix some ESP-NOW issues
1> fix the bug when modifying the channel info of peer node
2> fix the crash when modifying peer node between unencrypted and encrypted
3> fix the bug for fetch peer
4> modify the esp_wifi_set_channel() function
5> fix the bug that the channel parameter doesn't work when adding peer node
Closes https://github.com/espressif/esp-idf/issues/2833
Closes https://github.com/espressif/esp-idf/issues/4311
2020-02-14 12:03:18 +08:00
Jiang Jiang Jian
50b686bfb4
Merge branch 'bugfix/fix_performance_issues_new_v4.0' into 'release/v4.0'
...
esp_wifi: fix WiFi performance issue (backport v4.0)
See merge request espressif/esp-idf!7227
2020-02-14 11:47:06 +08:00
Jiang Jiang Jian
92d8558364
Merge branch 'bugfix/wifi_clear_phy_status_when_cpu_start_v4.0' into 'release/v4.0'
...
soc: clear PHY status when cpu start (v4.0)
See merge request espressif/esp-idf!7593
2020-02-14 11:34:17 +08:00
Ivan Grokhotkov
45454cd477
ci: re-add the lost PEDANTIC_{C,CXX}FLAGS in CMake example builds
2020-02-13 19:01:43 +01:00
Xia Xiaotian
0a2bec85f3
soc: clear PHY status when cpu start
2020-02-13 14:36:11 +08:00
Jiang Jiang Jian
b6bec84c6e
Merge branch 'bugfix/ble_mesh_utf_8_comma_4_0' into 'release/v4.0'
...
ble_mesh: Kconfig included a UTF-8 comma (v4.0)
See merge request espressif/esp-idf!7576
2020-02-13 11:13:02 +08:00
Jiang Jiang Jian
fb924ece79
Merge branch 'bugfix/btdm_fix_multi_open_evt_and_clear_blufi_prepare_write_len' into 'release/v4.0'
...
component/bt: fix multi open evt and clear blufi prepare write len(backport v4.0)
See merge request espressif/esp-idf!7324
2020-02-13 11:08:41 +08:00
Jiang Jiang Jian
e07a64925b
Merge branch 'bugfix/coex_bt_ble_stuck_v4.0' into 'release/v4.0'
...
components/bt: Fix A2DP stuck when BLE's interval is too small
See merge request espressif/esp-idf!7220
2020-02-13 11:08:20 +08:00
Jiang Jiang Jian
e07ecea868
Merge branch 'hfp_a2dp_iphone_4.1' into 'release/v4.0'
...
components bt/: Disable sniff mode during (e)SCO connection for HFP. [backport 4.0]
See merge request espressif/esp-idf!7249
2020-02-13 11:08:10 +08:00
Jiang Jiang Jian
5b9cb366c2
Merge branch 'bugfix/fix_airkiss_bug_v4.0' into 'release/v4.0'
...
fix the bug for Airkiss
See merge request espressif/esp-idf!7346
2020-02-13 11:07:41 +08:00
Jiang Jiang Jian
d5bd2256f4
Merge branch 'bugfix/fix_ble_mesh_memory_leak_v4.0' into 'release/v4.0'
...
ble_mesh: Fix memory leak when node is reset (v4.0)
See merge request espressif/esp-idf!7278
2020-02-13 10:58:09 +08:00
Jiang Jiang Jian
c235640bf4
Merge branch 'bugfix/ble_mesh_update_lightness_last_v4.0' into 'release/v4.0'
...
ble_mesh: Update lightness last state when actual state is changed (v4.0)
See merge request espressif/esp-idf!7281
2020-02-13 10:58:06 +08:00
Jiang Jiang Jian
6193a439a3
Merge branch 'bugfix/sync_zephyr_v2.0_ble_mesh_fixes_v4.0' into 'release/v4.0'
...
ble_mesh: sync Zephyr v2.0 ble mesh fixes (v4.0)
See merge request espressif/esp-idf!7300
2020-02-13 10:58:03 +08:00
liu zhifu
a3cd5ab1ae
esp_wifi: improve WiFi performance
2020-02-13 10:50:48 +08:00
lly
3bf1b9b8ab
ble_mesh: Fix compile error with c++ files
2020-02-13 09:52:10 +08:00
lly
04fc15a4f3
ble_mesh: Fix memory leak when node is reset
...
When node is being reset, the init functions of each sig-defined
models will be invoked again, this will cause memory leak because
some model internal data will be allocated again.
Hence before trying to allocate memory for them, we add some check
to make sure no memory has been allocated previously.
And for client model, when the init functions are invoked again,
we will clear the list items.
2020-02-12 12:03:31 +00:00
lly
e95b59c089
ble_mesh: Kconfig included a UTF-8 comma
2020-02-12 18:28:06 +08:00
Ivan Grokhotkov
2309313103
Merge branch 'bugfix/ci_no_attempts_no_custom_toolchain_url_v4.0' into 'release/v4.0'
...
ci: no stage attempts variables, no custom toolchain url (backport v4.0)
See merge request espressif/esp-idf!7542
2020-02-12 17:55:17 +08:00
Ivan Grokhotkov
8cb3cc5154
Merge branch 'bugfix/idf_tools_virtualenv_v4.0' into 'release/v4.0'
...
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0 (backport v4.0)
See merge request espressif/esp-idf!7553
2020-02-12 17:32:20 +08:00
Ivan Grokhotkov
bbbe6fd449
Merge branch 'bugfix/idf_tools_py_install_required_v4.0' into 'release/v4.0'
...
Fix Docker image builds on release/v4.0
See merge request espressif/esp-idf!7551
2020-02-12 16:54:03 +08:00
Ivan Grokhotkov
7ccf6ebada
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0
...
--no-site-packages is the default behavior since virtualenv 1.7
(released in Nov 2011). This option was removed in virtualenv 20.0.
2020-02-11 09:46:03 +01:00
Angus Gratton
91dc4d78f8
Merge branch 'bugfix/select_driver_not_installed_v4.0' into 'release/v4.0'
...
VFS: Check in select() if the UART driver is installed or not (v4.0)
See merge request espressif/esp-idf!7417
2020-02-11 12:08:48 +08:00
Angus Gratton
5bf43a854c
Merge branch 'bugfix/make_undefined_variable_warning_v4.0' into 'release/v4.0'
...
make: fix undefined variable warning (IDF_SKIP_CHECK_SUBMODULES) (backport v4.0)
See merge request espressif/esp-idf!7480
2020-02-11 12:07:33 +08:00
Angus Gratton
2bee223250
Merge branch 'bugfix/part_gen_subtype_fix_v4.0' into 'release/v4.0'
...
partition_table: Fix subtype in gen_esp32part.py (v4.0)
See merge request espressif/esp-idf!7536
2020-02-11 12:06:25 +08:00
Angus Gratton
f92a52f275
Merge branch 'bugfix/remove_cjson_test_file_from_cmake_build_v4.0' into 'release/v4.0'
...
cJSON: include only source file objects for cmake build (v4.0)
See merge request espressif/esp-idf!7546
2020-02-11 11:57:32 +08:00
Anton Maklakov
f368f69922
idf_tools.py: fix downloading for tools which have "on_request" options for some platforms.
...
'install' and 'download' options can be used for 'required' or 'all' tools
2020-02-10 20:10:26 +01:00
Mahavir Jain
8df70a1728
cJSON: include only source file objects for cmake build
...
Test file can cause build issues in some cases, since it has its own main() function
2020-02-10 17:32:26 +05:30
Anton Maklakov
c5d20275dd
ci: remove using IDF_XTENSA_TOOLCHAIN_URL because there are idf_tools.json and multi-target support
2020-02-10 18:38:23 +07:00
Anton Maklakov
f2ef0509e3
ci: Use ARTIFACT_DOWNLOAD_ATTEMPTS and others from the project settings
2020-02-10 18:35:12 +07:00
boarchuz
8c88f0f1f6
Fix subtype in PartitionTable.find_by_type
...
Fix ptype->subtype
Closes https://github.com/espressif/esp-idf/pull/4723
2020-02-10 12:04:45 +01:00
Ivan Grokhotkov
313c1ed1ba
Merge branch 'bugfix/esp_log_from_critical_v4.0' into 'release/v4.0'
...
intr_alloc: don't call ESP_LOG from a critical section (backport v4.0)
See merge request espressif/esp-idf!7159
2020-02-10 17:34:53 +08:00
Ivan Grokhotkov
c3961fdacb
Merge branch 'bugfix/idf_monitor_usbser_sys_v4.0' into 'release/v4.0'
...
tools: work around usbser.sys bug in IDF monitor (v4.0)
See merge request espressif/esp-idf!7470
2020-02-10 17:34:00 +08:00
Ivan Grokhotkov
c8215756fa
Merge branch 'feature/idfpy_add_baud_parameter_to_monitor_v4.0' into 'release/v4.0'
...
idf.py: add monitor-baud option to monitor command (v4.0)
See merge request espressif/esp-idf!7461
2020-02-10 17:33:32 +08:00
Ivan Grokhotkov
0c2c821f8f
Merge branch 'bugfix/esp_ptr_executable_single_core_v4.0' into 'release/v4.0'
...
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory (v4.0)
See merge request espressif/esp-idf!7464
2020-02-10 16:30:34 +08:00
Ivan Grokhotkov
f5dc81aaae
Merge branch 'bugfix/panic_cache_err_dig_reset_v4.0' into 'release/v4.0'
...
esp32: panic: do digital reset if cache error interrupt is set (backport v4.0)
See merge request espressif/esp-idf!7484
2020-02-10 16:30:02 +08:00
Ivan Grokhotkov
97ef8fd057
Merge branch 'bugfix/idf_tools_v4.0' into 'release/v4.0'
...
idf_tools.py bug fixes (backport v4.0)
See merge request espressif/esp-idf!7479
2020-02-10 16:29:27 +08:00
Angus Gratton
204f19ac0b
Merge branch 'bugfix/doc_nwdiag_v4.0' into 'release/v4.0'
...
docs: Fix nwdiag dependency for documentation build (v4.0)
See merge request espressif/esp-idf!7516
2020-02-07 06:20:35 +08:00
Roland Dobai
39194136e5
docs: Fix nwdiag dependency for documentation build
2020-02-06 17:51:59 +01:00
Angus Gratton
3f76083e8c
Merge branch 'bugfix/several_ethernet_bugfix_from_4.1' into 'release/v4.0'
...
Ethenret driver bugfix and optimization (4.0)
See merge request espressif/esp-idf!7426
2020-02-06 14:38:47 +08:00
Angus Gratton
87eccad969
Merge branch 'bugfix/wps_config_init_v4.0' into 'release/v4.0'
...
WPS_CONFIG_INIT_DEFAULT(type) error
See merge request espressif/esp-idf!7334
2020-02-06 14:06:40 +08:00
Hrudaynath Dhabe
8f0f3e8f88
WPS_CONFIG_INIT_DEFAULT(type) error
2020-02-06 14:06:38 +08:00
Angus Gratton
c3a3a81b08
Merge branch 'feature/idf_docker_updates_v4.0' into 'release/v4.0'
...
Enable ccache and use newer CMake in Docker image (backport v4.0)
See merge request espressif/esp-idf!7482
2020-01-31 15:58:50 +08:00
Ivan Grokhotkov
4ce7b666a6
esp32: panic: do digital reset if cache error interrupt is set
...
Even if frame->exccause != PANIC_RSN_CACHEERR, it is possible that
the cache error interrupt status is set. For example, this may happen
due to an invalid cache access in the panic handler itself.
Check cache error interrupt status instead of frame->exccause to
decide whether to do CPU reset or digital reset.
Also remove unnecessary esp_dport_access_int_pause from
esp_cache_err_get_cpuid, since the panic handler already calls
esp_dport_access_int_abort on entry.
2020-01-30 12:28:22 +01:00
Angus Gratton
c2bce897b8
idf.py: Add environment variable to enable ccache by default
2020-01-30 12:14:54 +01:00
Ivan Grokhotkov
5140eea3d1
tools/docker: enable ccache by default
2020-01-30 12:10:31 +01:00
Ivan Grokhotkov
1b0473494f
tools/docker: install CMake version provided in tools.json
...
Closes https://github.com/espressif/esp-idf/issues/4644
Closes IDFGH-2559
2020-01-30 12:10:31 +01:00
Ivan Grokhotkov
e9d3800ad2
make: fix undefined variable warning (IDF_SKIP_CHECK_SUBMODULES)
2020-01-30 12:06:57 +01:00
Ivan Grokhotkov
97242031e7
idf_tools.py: fix typo in __PYVENV_LAUNCHER__ env variable name
...
Fixes the workaround added in 9279b72a6 .
2020-01-30 11:59:29 +01:00
Ivan Grokhotkov
5ab36dc2ec
idf_tools.py: fix virtualenv issue for macOS with homebrew
2020-01-30 11:59:16 +01:00
Ivan Grokhotkov
09dd8ca3e9
idf_tools.py: when guessing IDF_PATH, set it in the enviroment
...
This allows the processes launched from idf_tools.py to use the value
of IDF_PATH. One such example is the installation of Python packages,
when requirements.txt uses IDF_PATH to refer to the esp-windows-curses
package.
Closes https://github.com/espressif/esp-idf/issues/4341
2020-01-30 11:57:51 +01:00
Angus Gratton
f27a344fc9
Merge branch 'bugfix/parttool_backtraces_v4.0' into 'release/v4.0'
...
parttool: Avoid unnecessary exception backtrace for legitimate errors (v4.0)
See merge request espressif/esp-idf!7463
2020-01-30 13:36:52 +08:00
Rosa Elena Veiga Otero
02596a7efa
tools: work around usbser.sys bug in idf_monitor
...
implemented workaround in idf_monitor for known usbser.sys bug which
causes changes in RTS signal to only be sent if DTR signal also changes.
Works by forcing a dummy change in DTR signal (re-assigning its current
value, as it has previously been done in the flashing tool)
Closes https://github.com/espressif/esp-idf/pull/4676
2020-01-29 10:36:43 +01:00
Angus Gratton
a61fd1e42b
Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v4.0' into 'release/v4.0'
...
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v4.0)
See merge request espressif/esp-idf!7304
2020-01-29 14:25:27 +08:00
Angus Gratton
d897e522af
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory
...
In single core mode, APP CPU cache region is added to the available range.
2020-01-29 10:03:30 +11:00
Angus Gratton
59649ea825
parttool: Fix regression when parsing binary partition data
...
Regression in a91de43537
2020-01-29 09:40:23 +11:00
Angus Gratton
bdb0851065
parttool: Avoid unnecessary exception backtrace for legitimate errors
...
Previous version used exception handling for program control flow,
which makes for long and confusing backtrace messages if an error
occurs while parsing the CSV (as it also prints the phony error that
occurred while trying to parse as a binary, then prints
"During handling of the above exception, another exception occurred:",
then prints the real error).
Use the same heuristic that is applied in gen_esp32_part, instead.
Also, avoid printing the entire backtrace if the error is a gen_esp32_part
InputError, same as gen_esp32part does.
Found while looking into https://github.com/espressif/esp-idf/issues/4474
2020-01-29 09:40:22 +11:00
KonstantinKondrashov
9a24d95907
esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set
...
Closes: WIFI-1576
Closes: https://github.com/espressif/esp-idf/issues/2954
2020-01-28 21:41:27 +08:00
Sergei Silnov
ead0e6da36
idf.py: add monitor-baud option to monitor command
2020-01-27 18:54:37 +01:00
Angus Gratton
08219f3cf5
Merge branch 'bugfix/esp_tls_blocking_timeout_v4.0' into 'release/v4.0'
...
esp-tls: add timeout for blocking connection (v4.0)
See merge request espressif/esp-idf!7396
2020-01-22 11:44:48 +08:00
Angus Gratton
b324ab9c6e
Merge branch 'bugfix/mqtt_submodule_ref_update_v4.0' into 'release/v4.0'
...
mqtt: update submodule to point to latest commit (backport 4.0)
See merge request espressif/esp-idf!7276
2020-01-22 11:29:34 +08:00
morris
93e5a31685
ethernet: always put eth_driver handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-01-21 21:30:34 +08:00
morris
01cc5a38cc
ethernet: work with cache disabled
2020-01-21 21:30:18 +08:00
morris
7b128595ac
ethernet: optimise tx and rx
2020-01-21 20:51:03 +08:00
Mahavir Jain
f48930a040
Merge branch 'nimble/example_update_doc_v4.0' into 'release/v4.0'
...
NimBLE: Update the documentation link in the examples (v4.0)
See merge request espressif/esp-idf!7365
2020-01-21 17:58:46 +08:00
Roland Dobai
642dc19c25
VFS: Check in select() if the UART driver is installed or not
...
Closes https://github.com/espressif/esp-idf/issues/4627
2020-01-21 10:11:08 +01:00
Jiang Jiang Jian
55834dd001
Merge branch 'bugfix/wa_dport_and_intr_v4.0' into 'release/v4.0'
...
esp32: Fix for DPORT (v4.0)
See merge request espressif/esp-idf!7349
2020-01-21 10:49:08 +08:00
baohongde
e38c080f79
components/bt: Fix error EIR type in config eir event
2020-01-20 21:50:01 +08:00
David Cermak
c7e1416174
esp_tls: added connection timeout to esp_tls_conn_new_sync()
2020-01-20 07:26:51 +01:00
David Cermak
e0c88dbd73
esp_tls: fail connection if esp_tls_conn_new() timeouts
2020-01-20 07:08:40 +01:00
Paul Abbott
a58fa7665a
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
2020-01-17 10:22:36 +08:00
Hrishikesh Dhayagude
d84677493e
NimBLE: Update the documentation link in the examples
2020-01-16 17:12:33 +05:30
gengyuchao
443ea78e78
bugfix:Fix length check for snprintf in osi config. And remove the error code when there is no file in the nvs in config.c
2020-01-16 16:20:43 +08:00
gengyuchao
ef07a315bb
Add notes
2020-01-16 16:09:49 +08:00
gengyuchao
ed6805625c
ble:set a esp api to get size of controller send packets buffer.
2020-01-16 16:09:34 +08:00
gengyuchao
74a89774fd
bugfix:Fixed throughput wasting memory and packet loss issues.
2020-01-16 16:09:17 +08:00
gengyuchao
7dc5c2af59
ble Fix typo and add some comment
2020-01-16 16:05:44 +08:00
Brian Friedkin
e5bd8b1982
add missing gatt descriptors
2020-01-16 16:05:29 +08:00
gengyuchao
983f528513
example:ble_hid_device_demo fix the wrong mask value according to HID protocol
2020-01-16 15:27:25 +08:00
Geng Yu Chao
5445c80a8e
component/bt: Fix the issue with pointer type conversion in gattc. Unified count pointer type in bta and btc, change pointer type in bta from int to uint16_t.
2020-01-16 15:26:37 +08:00
Geng Yu Chao
69d341f7f0
Fix some typo in idf
2020-01-16 15:26:37 +08:00
KonstantinKondrashov
f927957950
esp32: Add UT for DPORT
2020-01-16 13:31:20 +08:00
KonstantinKondrashov
6fca0e3861
esp32: Fix esp_dport_access_reg_read
2020-01-16 13:31:20 +08:00
zhangyanjiao
5202be013a
fix the bug for Airkiss
2020-01-16 11:54:02 +08:00
Geng Yu Chao
ed44d25690
example/blufi: Fix the wrong wifi storage mode and check if ble is connected before sending a ble message.
2020-01-16 11:48:46 +08:00
Geng Yu Chao
8c980c11aa
example/ble_throughput fix the throughput clinet crash bug when open the CONFIG_GATTC_WRITE_THROUTHPUT option
2020-01-16 11:47:52 +08:00
Geng Yu Chao
4312c71e71
example/ble_throughput fix the throughput server crash bug when running with throughput client
2020-01-16 11:40:37 +08:00
gengyuchao
4900ead609
bugfix:btmd fix the problem that fixed_queue_enqueue may give the wrong semaphore if list_append fail to calloc a new node
2020-01-16 11:32:40 +08:00
Ivan Grokhotkov
386804d407
intr_alloc: don't call ESP_LOG from a critical section
...
Calling ESP_LOG from a critical section leads to abort() in 4.1, and
may also randomly abort() in earlier versions.
Closes FCS-268
2020-01-15 04:16:24 +00:00
zhiweijian
93409bd57e
component/bt: fix blufi prepare write buf len invalid
2020-01-14 17:25:54 +08:00
zhiweijian
32ba52760f
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 17:24:36 +08:00
Marius Vikhammer
158f2d065d
mqtt: update submodule to point to latest commit.
...
Adds bugfixes for:
- Too early publishing
- Potential mutex memory leak
- CI related issues.
- Wait for entire connack message
- Event loop not getting cleaned up
Adds support for ALPN, configurable reconnect time, QEMU CI tests and password
protected client key.
MQTT MR: esp-mqtt/merge_requests/46
Closes IDF-1162
Closes https://github.com/espressif/esp-mqtt/issues/137
MQTT MR: esp-mqtt/merge_requests/47
Closes IDF-1126
MQTT MR: esp-mqtt/merge_requests/48
Closes IDFGH-2197
Closes https://github.com/espressif/esp-idf/issues/4349
Closes https://github.com/espressif/esp-mqtt/issues/140
MQTT MR: esp-mqtt/merge_requests/48
Closes IDFGH-2235
Closes https://github.com/espressif/esp-idf/issues/4384
MQTT MR: esp-mqtt/merge_requests/49
Closes https://github.com/espressif/esp-idf/issues/4433
Closes IDFGH-2293
MQTT MR: esp-mqtt/merge_requests/50
Closes FCS-254
MQTT MR: esp-mqtt/merge_requests/53
Closes FCS-267
2020-01-14 10:55:50 +08:00
lly
14a408c478
ble_mesh: Fix PreviousAddress endianess in Friend Request
...
The upper transport layer is using big endian ordering. The
PreviousAddress field of a Friend Request message should therefore
be converted to native endianess using sys_cpu_to_be16().
2020-01-13 10:40:25 +08:00
lly
92d0d7ad49
ble_mesh: Fix next_period computation
...
If the duration to publish is roughly the same as the period, we might
end up with elapsed == period, which returns 0 and cancel the periodic
publication. Instead 1 should be returned, just like when the elapsed
time is greater than the period.
2020-01-13 10:40:20 +08:00
lly
19c9ae400b
ble_mesh: Make model publication struct more compact
...
Previously the FastPeriodDivisor value was introduced to the model
publication struct. Based on the way it was grouped it seems the
intention was to fit it within the same octet as other bit fields,
but it actually makes the octet overflow by one bit. This ends up
creating another u8_t variable which in turn adds 24 bits of padding
after it.
To keep the size of the struct as compact as possible, group the flag
together with the key index, since that only requires 12 bits. Some
care is needed here, since the mesh stack does have special internal
key index values that require more than 12 bits such as
BLE_MESH_KEY_UNUSED and BLE_MESH_KEY_DEV. In this case restricting
ourselves to 12 bits is fine since the value in the model publication
struct follows 1:1 the value received in the Config Model Publication
Set message, and there the parameter is defined to be exactly 12 bits.
2020-01-13 10:40:13 +08:00
lly
566fb11a73
ble_mesh: Fix compile error when using release optimization level
2020-01-13 10:40:05 +08:00
lly
928480ada9
ble_mesh: Remove useless CONFIG_BLE_MESH_NODE
...
For Low Power node and Proxy Server, the two features
depend on BLE_MESH_NODE in Kconfig.in, here in the
stack there is no need to judge if CONFIG_BLE_MESH_NODE
is enabled.
2020-01-13 10:39:57 +08:00
lly
da0205b166
ble_mesh: Fixes Provisioner not support friend feature
2020-01-13 10:39:52 +08:00
lly
610fc8124a
ble_mesh: Fixes wrong subnet info used for Friend Clear
...
When Friend node tries to send Friend Clear message to other
Friend nodes, it should use the subnet information based on
the net_idx from friendship.
2020-01-13 10:39:42 +08:00
lly
21dbee1291
ble_mesh: fix provisioner failed to send msg to 0xFFFF
...
According to Mesh Spec 3.4.5.3, a node shall implement a local
network interface. And here we limit the situation just based
on the spec, and Provisioner directly sending the msg without
passing through the local network interface.
2020-01-13 10:39:37 +08:00
lly
e5431e55a9
ble_mesh: fix virtual addr wrong return value
...
Fixes missing return value on `va_del`
Fixes wrong return value on `va_add`
2020-01-13 10:39:28 +08:00
lly
4405560483
ble_mesh: Persistent storage of Virtual Address
...
The 16-bit format group addresses will be stored,
but we don't store (or restore) the virtual label UUIDs,
i.e. after a power cycle the 16-bit group addresses
would be meaningless.
2020-01-13 10:39:22 +08:00
lly
51616eacee
ble_mesh: Proxy forwards ALL_NODES addr
...
Unless explicitly blacklisted, the Proxy node will forward all messages
for the ALL_NODES address to the GATT proxy client.
2020-01-13 10:39:15 +08:00
lly
4aa7f31f02
ble_mesh: Model message macros
...
Creates macros for determining model message lengths based on opcode,
payload length and MIC size. Also adds macro wrapping
NET_BUF_SIMPLE_DEFINE to serve the most common use case.
2020-01-13 10:39:10 +08:00
lly
318f83e33a
ble_mesh: Use net_buf_simple_clone
...
Uses net_buf_simple_clone to access the sdu of an unsegmented app packet
for re-encryption.
2020-01-13 10:39:03 +08:00
lly
4bf2ceee4e
ble_mesh: Skip local messages in rx
...
Local messages are already enqueued for the LPN in the tx path, and
don't have to be added again in the rx path.
2020-01-13 10:38:59 +08:00
lly
a9c5092baf
ble_mesh: Ensure seqnum match in app/net
...
Re-encrypts single-segment application messages when the network seqnum
has changed, to avoid encrypting messages with different seqnums in
network and transport. This operation is only required for unsegmented
messages, as segmented messages don't need to use the same seqnum in
network.
Reinstates the special adv data for friend messages to store the app key
index.
2020-01-13 10:38:54 +08:00
lly
9e47e04897
ble_mesh: Expose app key get function
2020-01-13 10:38:48 +08:00
lly
ca0bfb84d0
ble_mesh: Expose header parsing outside net
2020-01-13 10:38:38 +08:00
lly
cc772c1324
ble_mesh: Remove unused macro FRIEND_BUF_SIZE
2020-01-13 10:38:31 +08:00
lly
c344a4a3b9
ble_mesh: Make RSSI value available to mesh applications
2020-01-13 10:38:26 +08:00
lly
32387250bc
ble_mesh: Encrypt friend packets on send
...
Stores friend queue packets unencrypted, removing any out-of-order
issues caused by seqnum allocation. Also moves as much of the metadata
storage as possible into the packet, allowing us to free up some bytes
of net_buf user data for friend packets.
2020-01-13 10:38:21 +08:00
lly
a870460f72
ble_mesh: Expose SeqZero mask
...
Makes a define for the seqzero 13-bit mask in transport, and exposes it
in the header for use in the friend module.
2020-01-13 10:38:15 +08:00
lly
cf2c5b8d96
ble_mesh: Update lightness last state when actual state is changed
2020-01-10 15:33:59 +08:00
weitianhua
a388eb8806
componnets_bt/:fix hfp/a2dp coex bug with iphone
2020-01-08 19:25:29 +08:00
baohongde
3ae110b30c
components/bt: Fix A2DP stuck when BLE's interval is too small
...
1. Fix the cumulative time switch from BLE to classic BT
2. Enhance classic BT performance while enable calssic BT and BLE at the same time
2020-01-06 20:31:54 +08:00