lly
55f48877a4
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 12:29:33 +08:00
lly
b4b2cd19f7
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:58:36 +08:00
zhangyanjiao
cdc0374448
esp_wifi:
...
1. Add TBTT update when AP reset TSF
2. fix the bug for regdomian update
3. update ESP32S2 phy lib to 601,5b0f7cd
4. Fix TX DMA buffer issue
2020-06-22 19:33:08 +08:00
Angus Gratton
ee126bc154
Merge branch 'bugfix/wpa_supplicant_no_hw_mpi_v4.2' into 'release/v4.2'
...
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI (v4.2)
See merge request espressif/esp-idf!9011
2020-06-22 13:06:01 +08:00
Island
aaeb2ba733
Merge branch 'bugfix/att_buffer_count_fixed_v4.2' into 'release/v4.2'
...
Bugfix/att buffer count fixed v4.2
See merge request espressif/esp-idf!9161
2020-06-22 11:44:54 +08:00
wangcheng
12d39f9faa
components/bt:Fix instant reverse and add ble connect paramter check.
2020-06-18 15:54:53 +08:00
Aditya Patwardhan
f6b0307e1a
esp_tls_wolfssl: fix incorrect error message after handshake fails
2020-06-18 12:58:40 +05:30
Island
710249c86a
Merge branch 'bugfix/blufi_buffer_overflow_report_v4.2' into 'release/v4.2'
...
blufi: When the format of the received data packet is wrong, reply with an error response(backport 4.2)
See merge request espressif/esp-idf!9201
2020-06-18 13:44:52 +08:00
Michael (XIAO Xufeng)
82c4ed30b6
Merge branch 'bugfix/fix_fifo_cnt_bug_v4.2' into 'release/v4.2'
...
bugfix(uart): fix esp32 fifo_cnt bug(backport v4.2)
See merge request espressif/esp-idf!9039
2020-06-18 01:47:51 +08:00
Jiang Jiang Jian
1f074d313b
Merge branch 'bugfix/fix_some_wifi_bugs_0617_v4.2' into 'release/v4.2'
...
fix some wifi bugs 0617 (backport v4.2)
See merge request espressif/esp-idf!9210
2020-06-17 18:27:37 +08:00
Jiang Jiang Jian
a406885360
Merge branch 'feature/make_tcp_rto_configurable_v4.2' into 'release/v4.2'
...
make TCP rto time configurable (backport v4.2)
See merge request espressif/esp-idf!9211
2020-06-17 18:23:34 +08:00
Jiang Jiang Jian
a6f2205cdb
Merge branch 'bugfix/ble_conn_fail_v4.2' into 'release/v4.2'
...
Fix bugs from coex test
See merge request espressif/esp-idf!9099
2020-06-17 18:16:37 +08:00
yuanjm
c5768c019e
feat(lwip): make LWIP TCP rto time configurable
2020-06-17 15:20:00 +08:00
baohongde
783cd1bb08
components/bt: Fix ble disconnect due to instant of channel map update is too small
2020-06-17 07:15:46 +00:00
baohongde
d4b232590a
Set AFH in time(075dd35)
...
Send LMP_channelClassification immediately
Fix first LMP_set_AFH not using host value
2020-06-17 07:15:46 +00:00
baohongde
ef92a22b0c
components/coex: Fix ble connecting fail in coexist
2020-06-17 07:15:46 +00:00
zhangyanjiao
f5a6ae7e93
esp_wifi:
...
1. Fix WPA3 Auth timeout during BLE coex
2. fix addba ssn and send bar for first ampdu
3. fix the bug that airkiss find hidden AP fail
4. update mesh lib
5. fix interrupt handle param variable error
2020-06-17 14:55:45 +08:00
ChenJianxing
ba67a9518e
fix esp32s2 do not have crc*_be func
2020-06-17 14:53:08 +08:00
KonstantinKondrashov
49c9f69eae
esp32s2: Move some code after the stdout initialization
2020-06-17 13:40:42 +08:00
KonstantinKondrashov
a6ac0e8a51
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 13:40:42 +08:00
Wang Cheng
21ff2f84ce
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-17 12:52:28 +08:00
Geng Yu Chao
02cd178115
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-17 12:52:18 +08:00
wangcheng
17609cbb02
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:19:00 +08:00
liqigan
4dd29dac94
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-06-16 22:18:21 +08:00
xiongyu
27e6e8c485
bugfix(uart): fix esp32 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-16 14:34:23 +08:00
Marius Vikhammer
1358734b3f
Fixes issues with gen_crt_bundle.py for unicode chars
...
gen_crt_bundle.py could fail to parse the certificates if it contained a non-ascii character.
2020-06-15 15:20:43 +08:00
wangcheng
7f299d9d60
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-13 15:10:30 +08:00
wangcheng
d53a2719b9
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-13 15:09:45 +08:00
wangcheng
f9b0cd1847
components/bt: Add api to query the number of available buffers for the current connection
2020-06-13 15:09:36 +08:00
Jiang Jiang Jian
1504fe5358
Merge branch 'bugfix/esp32_can_not_scan_ap_after_restart_v4.2' into 'release/v4.2'
...
esp_wifi: upadte esp32 phy lib to 4182 (v4.2)
See merge request espressif/esp-idf!9113
2020-06-11 11:54:24 +08:00
Angus Gratton
5054cd05fc
Merge branch 'bugfix/intr_alloc_no_log_from_critical_section_v4.2' into 'release/v4.2'
...
intr_alloc: don't call ESP_LOG from critical section (v4.2)
See merge request espressif/esp-idf!9088
2020-06-10 15:58:23 +08:00
zhangyanjiao
c9769e535e
esp_wifi: upadte esp32 phy lib to 4182
2020-06-09 17:33:55 +08:00
Jiang Jiang Jian
21a9c9b653
Merge branch 'bugfix/authmode_degrade_fix_v4.2' into 'release/v4.2'
...
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold(backport v4.2)
See merge request espressif/esp-idf!9090
2020-06-09 17:30:50 +08:00
kapil.gupta
f74729c3bc
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-08 12:53:22 +05:30
David Čermák
cc99cac782
Merge branch 'feature/pin_ethernet_task_to_core_v4.2' into 'release/v4.2'
...
ethernet: support pin emac task to core (v4.2)
See merge request espressif/esp-idf!9036
2020-06-08 13:52:01 +08:00
morris
9773f79e6e
intr_alloc: using isr version of critical section
2020-06-08 12:52:25 +08:00
zhangyanjiao
8643d7acb9
wifi:
...
1. Fix the bug that ESP32S2 can't receive AMPDU when airkiss
2. Fix WPA3 Auth issue in coex scenario
2020-06-05 06:00:37 +00:00
Angus Gratton
e7ab7ce3af
bootloader: Force bootloader_image_hdr to be word aligned
...
Possible due to linker order for this file to be placed unaligned,
causing failure from bootloader_flash_read() function.
2020-06-04 20:56:26 +10:00
Island
a8f40b7095
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v4.2' into 'release/v4.2'
...
ble_mesh: Remove relay option dependency (v4.2)
See merge request espressif/esp-idf!9025
2020-06-03 15:20:35 +08:00
Island
9bdaa64d80
Merge branch 'bugfix/ble_mesh_example_nvs_store_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh example nvs store (v4.2)
See merge request espressif/esp-idf!9015
2020-06-03 15:11:54 +08:00
Island
55cd09578f
Merge branch 'bugfix/ble_mesh_model_recv_fix_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh model recv fix (v4.2)
See merge request espressif/esp-idf!9006
2020-06-03 15:11:15 +08:00
Island
118b69ce0d
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v4.2' into 'release/v4.2'
...
ble_mesh: Rework prov pdu length check (v4.2)
See merge request espressif/esp-idf!9002
2020-06-03 15:10:33 +08:00
morris
b16c20fa30
ethernet: support pin emac task to core
2020-06-03 11:06:41 +08:00
lly
eeb44e7dd6
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:18 +08:00
lly
adf785a1b0
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:02:54 +08:00
lly
b25cffd4d5
ble_mesh: Add more checks of net_idx & app_idx
2020-06-02 14:02:54 +08:00
lly
4919d17ad1
ble_mesh: Optimize some send & recv logs
2020-06-02 14:02:53 +08:00
Angus Gratton
c69210c0f2
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI
...
Also disable the relevant function in bignum.h based on config, so fails at
compile not link time.
Closes https://github.com/espressif/esp-idf/issues/5321
2020-06-02 13:35:48 +10:00
Island
6fa8df519d
Merge branch 'bugfix/ble_mesh_local_model_sub_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh local model sub (v4.2)
See merge request espressif/esp-idf!8982
2020-06-02 10:58:05 +08:00
lly
1a3c315d2f
ble_mesh: correct the return type [Zephyr]
2020-06-02 10:31:08 +08:00
lly
8271ae4a1e
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-06-02 10:31:08 +08:00
lly
d6a247f7e4
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:31:07 +08:00
lly
4fbc29616c
ble_mesh: Rework prov pdu length check
2020-06-02 10:13:21 +08:00
lly
067d94e88f
ble_mesh: Local model (un)subscribes group address
2020-06-01 09:10:17 +08:00
lly
6bc4f5802d
ble_mesh: Define a macro for invalid company id
2020-06-01 09:10:17 +08:00
Alexey Gerenkov
29b03b2999
coredump: Fixes size of memory region used by espcoredump.py
2020-05-29 21:09:21 +03:00
Angus Gratton
baedfab382
Merge branch 'feature/dis_uart_dl_mode' into 'master'
...
feature: Disable UART download mode
Closes IDF-1386
See merge request espressif/esp-idf!8590
2020-05-29 14:09:54 +08:00
Angus Gratton
59f29cbca8
Merge branch 'feature/allow_rtc_memory_for_task_stacks' into 'master'
...
Add RTC Fast Memory to Dynamic Memory Pool
See merge request espressif/esp-idf!8390
2020-05-29 14:07:01 +08:00
Mahavir Jain
e8035c3eff
Merge branch 'feature/app_update_add_api' into 'master'
...
Add API to write data in a non-contiguous manner
See merge request espressif/esp-idf!8650
2020-05-29 12:25:54 +08:00
Jiang Jiang Jian
ba48120931
Merge branch 'bugfix/add_so_linger_to_menuconfig' into 'master'
...
lw-ip:add LINGER to menuconfig
Closes WIFI-2342
See merge request espressif/esp-idf!8746
2020-05-29 11:11:03 +08:00
Angus Gratton
f4edc52fa0
efuse: Have support for secure DL mode depend on a soc_caps flag
2020-05-28 18:02:02 +10:00
Angus Gratton
d45eabe676
esptool: Add support for ESP32-S2 Secure Download Mode
...
* Pass --no-stub from build system if configured to enable ESP32-S2 Secure Download Mode
* Update esptool submodule
2020-05-28 17:52:15 +10:00
Angus Gratton
f64ae4fa99
efuse: Add 'disable Download Mode' & ESP32-S2 'Secure Download Mode' functionality
2020-05-28 17:50:45 +10:00
Angus Gratton
48d9c14c28
efuse: Add new esp_efuse_read_field_bit() convenience function
2020-05-28 17:45:09 +10:00
Angus Gratton
1dd5a4dba4
efuse: Add new esp_efuse_write_field_bit() convenience function
2020-05-28 17:45:09 +10:00
Angus Gratton
9b822a3d2e
esp32s2: Disable legacy boot mode & ROM remap modes if either Secure Boot or Flash Encryption is on
2020-05-28 17:45:09 +10:00
Shubham Kulkarni
6a1b3221c4
app_update: Add API to write data in a non contiguous manner
2020-05-28 10:18:55 +05:30
Jiang Jiang Jian
8f2d1e7f92
Merge branch 'bugfix/collection_of_confirmed_fixes_from_baidu_project' into 'master'
...
Bugfix/collection of confirmed fixes from baidu project
Closes BT-826, BT-542, BCI-31, BCI-34, BT-840, and AUD-1857
See merge request espressif/esp-idf!8675
2020-05-28 12:23:58 +08:00
Island
705fc0f0e5
Merge branch 'bugfix/ble_mesh_check_timer_init' into 'master'
...
ble_mesh: Check the result of creating timer
Closes BLEMESH-218
See merge request espressif/esp-idf!8932
2020-05-28 10:11:47 +08:00
Michael (XIAO Xufeng)
f81da10951
Merge branch 'bugfix/sdmmc_check_slot_before_pullup' into 'master'
...
sdmmc: Correctly check function parameters before using them
Closes IDFGH-2967
See merge request espressif/esp-idf!8827
2020-05-27 23:08:01 +08:00
Jiang Jiang Jian
1056d2a1b7
Merge branch 'bugfix/esp32s2_flash_mmap_cache2phys_phys2cache' into 'master'
...
flash mmap: fix bug for cache2phys and phys2cache on esp32s2
See merge request espressif/esp-idf!8526
2020-05-27 20:20:46 +08:00
Jiang Jiang Jian
ed1c0bf445
Merge branch 'bugfix/rm_tx_buffer_limits' into 'master'
...
esp_wifi: remove wifi tx buffer limits
See merge request espressif/esp-idf!8933
2020-05-27 20:12:17 +08:00
lly
6768c2b7a1
ble_mesh: Check the result of creating timer
2020-05-27 09:30:34 +00:00
Island
3b85d4ef24
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes' into 'master'
...
Bugfix/ble mesh sync zephyr fixes
Closes BLEMESH-215
See merge request espressif/esp-idf!8912
2020-05-27 17:26:00 +08:00
Island
d82f3372a0
Merge branch 'bugfix/ble_mesh_not_use_same_private_key' into 'master'
...
ble_mesh: Not using pre-initialized private key
Closes BLEMESH-214
See merge request espressif/esp-idf!8905
2020-05-27 17:25:39 +08:00
Island
02376b97d4
Merge branch 'bugfix/ble_mesh_uses_deprecated_config' into 'master'
...
ble_mesh: Fix using old config for duplicate scan
Closes BLEMESH-213
See merge request espressif/esp-idf!8898
2020-05-27 17:23:55 +08:00
Island
7b12d96169
Merge branch 'bugfix/ble_mesh_comp_data_store_restore' into 'master'
...
ble_mesh: Same func for storing/restoring comp data
See merge request espressif/esp-idf!8882
2020-05-27 17:23:21 +08:00
ChenJianxing
9e45c3c7d8
esp_wifi: remove wifi tx buffer limits
2020-05-27 15:06:53 +08:00
Jiang Jiang Jian
ff9322e007
Merge branch 'mesh/add_ps_ie_option' into 'master'
...
mesh: add mesh PS option following add announce
Closes WIFI-2348 and WIFI-2330
See merge request espressif/esp-idf!8826
2020-05-27 11:15:50 +08:00
jiangguangming
92eae20bca
add new config items for spiflash ci unit-test
2020-05-26 15:23:38 +08:00
jiangguangming
b25ccde45f
flash mmap: fix bug for cache2phys and phys2cache on esp32s2
2020-05-26 15:14:23 +08:00
lly
0cfb6c138b
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-26 11:42:31 +08:00
Angus Gratton
94f5129bf8
mbedtls: Don't compile hardware MPI & SHA files if disabled in config
...
Fixes bug where hardware accelerated mbedtls_mpi API was always used, even when
disabled in config.
2020-05-26 03:37:46 +00:00
lly
f863a1b328
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-26 11:16:01 +08:00
lly
05c287e05c
ble_mesh: Not using pre-initialized private key
2020-05-26 10:46:22 +08:00
lly
3c1487be0e
ble_mesh: Fix using old config for duplicate scan
2020-05-25 16:48:15 +08:00
Michael (XIAO Xufeng)
0d90861984
Merge branch 'bugfix/fix_rmt_driver_breaking_change_issue' into 'master'
...
Bugfix(RMT): Fix the breaking change issue of RMT driver.
Closes IDFGH-2837, IDFGH-2579, and IDFGH-2915
See merge request espressif/esp-idf!8006
2020-05-25 15:27:24 +08:00
Angus Gratton
084e170a8f
Merge branch 'refactor/esp_ipc' into 'master'
...
Split esp_ipc to a seaparate component
Closes IDF-1295
See merge request espressif/esp-idf!8520
2020-05-25 15:03:04 +08:00
Michael (XIAO Xufeng)
b3587ff88c
Merge branch 'bugfix/fix_i2s_comm_format_unclear_description_bug' into 'master'
...
Bugfix(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug
Closes IDFGH-3040, IDFGH-2913, IDFGH-578, IDFGH-2408, and IDFGH-3117
See merge request espressif/esp-idf!8339
2020-05-25 15:00:10 +08:00
lly
bbbdbb8699
ble_mesh: Same func for storing/restoring comp data
2020-05-25 13:27:08 +08:00
Jiang Jiang Jian
5bb656bd5e
Merge branch 'bugfix/bt_universal_calculation' into 'master'
...
bugfix/correct_bt_mac_calculation
Closes IDFGH-3343
See merge request espressif/esp-idf!8825
2020-05-25 11:57:37 +08:00
Wei Tian Hua
6572959fd3
Add user invisible kconfig for bt mac offset
...
Closes https://github.com/espressif/esp-idf/issues/5320
2020-05-25 11:57:37 +08:00
xueyunfei
df43a1affc
add LINGER to menuconfig
2020-05-25 11:23:03 +08:00
Krzysztof Budzynski
56635f22b8
Merge branch 'doc/add_types_api_ref' into 'master'
...
doc: add peripheral_types.h as API reference for peripheral docs
Closes DOC-136 and IDF-1673
See merge request espressif/esp-idf!8528
2020-05-25 03:22:22 +08:00
Ivan Grokhotkov
1f734b7057
Merge branch 'feature/native_smp_suport' into 'master'
...
APP CPU syscall table for gcov handler
See merge request espressif/esp-idf!8350
2020-05-23 20:31:22 +08:00
Island
248db690e1
Merge branch 'bugfix/ble_mesh_provisioner_fail_to_pub' into 'master'
...
ble_mesh: Fix Provisioner failed to publish
Closes BLEMESH-211
See merge request espressif/esp-idf!8872
2020-05-22 19:14:00 +08:00
Darian Leung
baf06d4971
Increase C++ unit test leak threshold
...
Heap fragmentation causes 4-8 bytes of memory to be leaked
(due to rounding up of memory sizes). Increase the leak
thresholds to prevent test cases from failing.
2020-05-22 16:39:44 +08:00
lly
af37aee5bf
ble_mesh: Fix Provisioner failed to publish
2020-05-22 15:32:12 +08:00
Anton Maklakov
a9c61dca4e
Merge branch 'bugfix/static_analysis_mem_issues' into 'master'
...
fix minor static analysis memory issues
See merge request espressif/esp-idf!8697
2020-05-22 15:08:20 +08:00
Ivan Grokhotkov
a2d7e8cbba
Merge branch 'bugfix/crt_bundle_no_config_file' into 'master'
...
esp_crt_bundle: fixes the "No CA Chain is set" error
See merge request espressif/esp-idf!8851
2020-05-22 09:34:32 +08:00
Mahavir Jain
6272cb842f
Merge branch 'feature/esp_wroom32_se_example' into 'master'
...
Feature/esp wroom32 se example
See merge request espressif/esp-idf!8552
2020-05-21 19:51:19 +08:00
Aditya Patwardhan
423e600d46
secure_element: atecc608_ecdsa example
...
* Replaced crypotoauthlib with esp-cryptoauthlib
* Added menuconfig option for esp-tls about using HSM
* Added error codes for HSM in esp-tls,
* Added support to select different type of ATECC608A chips
* Added README, updated docs
* tcp_transport: Added option to enable secure_element for ssl
Closes https://github.com/espressif/esp-idf/issues/4432
2020-05-21 13:08:30 +05:30
Marius Vikhammer
f72d259622
esp_crt_bundle: fixes the "No CA Chain is set" error
...
When compiling esp_crt_bundle.c, it would end up with a different struct layout due
to configuration options from "mbedtls/esp_config.h" not being considered.
This lead to ca_chain potentially not being set correctly.
2020-05-21 15:19:49 +08:00
Island
9f801fd2f5
Merge branch 'bugfix/ble_mesh_friend_init_flag' into 'master'
...
ble_mesh: Add init flag for friend init/deinit
Closes BLEMESH-205
See merge request espressif/esp-idf!8783
2020-05-21 11:46:17 +08:00
chenyudong
8fb982c512
mesh: add mesh PS option following add announce
2020-05-21 03:40:47 +00:00
Angus Gratton
0ad6e1b977
Merge branch 'feature/80m_flashspeed_esp32s2' into 'master'
...
esptool: Set 80MHz SPI flash speed for ESP32-S2 & future chips
See merge request espressif/esp-idf!8739
2020-05-21 10:22:59 +08:00
Mahavir Jain
7a2ea9b7f7
esp-tls: add support for using hardware security module
2020-05-20 22:52:37 +05:30
Bryan Hunt
4553f6c95d
Add cryptoauthlib as a component with mbedtls integration
...
* Add options to mbedtls for hardware acceleration
* Disable mbedtls EC curves if hardware acceleration is selected
since the hardware will have to define the curves supported
* Add a hardware ecdsa example
2020-05-20 22:52:37 +05:30
Jiang Jiang Jian
5f08bed88b
Merge branch 'feature/optimize_wifi_API_max_tx_power_description' into 'master'
...
feature: optimize wifi API max tx power description
Closes WIFI-1097
See merge request espressif/esp-idf!8173
2020-05-20 22:43:54 +08:00
lly
b1f3843ed6
ble_mesh: Clear two more vars during proxy server deinit
2020-05-20 11:35:26 +00:00
lly
d5b126667a
ble_mesh: Add missing sdkconfig.h
2020-05-20 11:35:26 +00:00
lly
4e60919a66
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-20 11:35:26 +00:00
lly
a0ce8c64b0
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-20 11:35:26 +00:00
Angus Gratton
5bd75b134d
esptool: Set 80MHz SPI flash speed for ESP32-S2 & future chips
...
Most ESP32 devices will also work at 80MHz, but third party boards/modules
may not have been tested at this speed so the default is kept at 40MHz for safety.
2020-05-20 06:19:34 +00:00
Mahavir Jain
e497bf37c4
Merge branch 'bugfix/httpd_lru_purge' into 'master'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge
Closes IDFGH-2680
See merge request espressif/esp-idf!8818
2020-05-20 14:08:02 +08:00
Alexander Borsuk
fb0fa34ac8
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-05-20 13:09:05 +08:00
David Čermák
7d7f3f8d8f
Merge branch 'bugfix/esp_netif_minor_fixes' into 'master'
...
esp-netif: Minor fixes
Closes IDFGH-3311
See merge request espressif/esp-idf!8799
2020-05-20 12:47:01 +08:00
ronghulin
cdaeef70c3
feature: optimize wifi API max tx power description
2020-05-20 11:52:42 +08:00
Jiang Jiang Jian
af97a5abc3
Merge branch 'workaround/wps_iot_fixes' into 'master'
...
wpa_supplicant: WPS Inter operatability Fixes
See merge request espressif/esp-idf!8654
2020-05-20 11:32:34 +08:00
Jiang Jiang Jian
b0cbc4f7bb
Merge branch 'bugfix/optimize_4way_handshake' into 'master'
...
ESP-WIFI; Optimize 4way handshake failure time
See merge request espressif/esp-idf!8020
2020-05-20 11:29:56 +08:00
Jiang Jiang Jian
05f4668ad0
Merge branch 'nimble/update_nimble_submodule' into 'master'
...
NimBLE: Include upstream fixes and use macros for log level filtering
See merge request espressif/esp-idf!8448
2020-05-20 11:23:46 +08:00
Piyush Shah
c2ab112590
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-05-19 22:11:02 +05:30
Mahavir Jain
7dbf01afad
coap: move mbedTLS config options from component to examples
...
CoAP component relies on some mbedTLS crypto configuration
options, e.g. DTLS and PSK. These configuration options if
selected, have footprint impact on generic TLS examples like
https_request or https_ota as well.
Footprint of https_request example with/without change is per below:
$ ./tools/idf_size.py new_https_request.map --diff old_https_request.map
<CURRENT> MAP file: new_https_request.map
<REFERENCE> MAP file: old_https_request.map
Difference is counted as <CURRENT> - <REFERENCE>, i.e. a positive number means that <CURRENT> is larger.
Total sizes of <CURRENT>: <REFERENCE> Difference
DRAM .data size: 14796 bytes 14796
DRAM .bss size: 23560 bytes 23680 -120
Used static DRAM: 38356 bytes ( 142380 available, 21.2% used) 38476 -120 ( +120 available, +0 total)
Used static IRAM: 89045 bytes ( 42027 available, 67.9% used) 89045 ( +0 available, +0 total)
Flash code: 554231 bytes 563823 -9592
Flash rodata: 179000 bytes 181224 -2224
Total image size:~ 860632 bytes (.bin may be padded larger) 872568 -11936
This commit moves relevant config options to CoAP specific examples
and also adds some run time warnings if they are kept disabled.
Closes https://github.com/espressif/esp-idf/issues/5262
2020-05-19 17:23:29 +05:30
kapil.gupta
fb53a454b9
ESP-WIFI: Optimize 4way handshake failure time
...
In case of wrong passpharse, AP will keep on sending 1/4 multiple
times which may take around 10 secs to disconnect and detect
wrong password event.
Add changes to reject EAPOL1 after 3 consecutive reception
2020-05-19 16:55:42 +05:30
Jiang Jiang Jian
56c307b356
Merge branch 'mesh/set_type_new' into 'master'
...
mesh: support set new type (node and sta)
Closes WIFI-1824, WIFI-1725, WIFI-1823, and WIFI-1908
See merge request espressif/esp-idf!7934
2020-05-19 16:53:49 +08:00
Ivan Grokhotkov
948580d1a2
Merge branch 'gdb/bt_on_invalid_pc' into 'master'
...
gdb: Modify PC in case of invalid PC
See merge request espressif/esp-idf!8391
2020-05-19 16:44:07 +08:00
David Cermak
95b5ef3687
esp-netif: wifi-deinit to clear handlers only in tcpip-adapter mode
2020-05-19 08:34:36 +00:00
David Cermak
1183b95cc4
esp-netif: Fix compilation if ESP_GRATUITOUS_ARP not enabled
...
Closes https://github.com/espressif/esp-idf/issues/5294
2020-05-19 08:34:36 +00:00
kapil.gupta
76335b2558
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-05-19 08:05:52 +00:00
Nachiket Kukade
c643d0a611
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-05-19 08:05:52 +00:00
Angus Gratton
183dddd50e
Merge branch 'bugfix/wdt_reset_info_unicore' into 'master'
...
bootloader: Don't print an error message after WDT reset in unicore mode
See merge request espressif/esp-idf!8570
2020-05-19 15:54:06 +08:00
Michael (XIAO Xufeng)
fd3e28ef0d
Merge branch 'bugfix/esp_flash_write_performance_regression' into 'master'
...
esp_flash: fix the write performance regression
See merge request espressif/esp-idf!8658
2020-05-19 12:06:42 +08:00
houwenxiang
0bf2906bc9
driver(RMT): Fix the breaking change issue of RMT driver introduced by refactoring.
...
After RMT driver refactor, two breaking change are introduced:
1. Users needs to call `rmt_driver_install` before `rmt_config`.
2. Do not support memory block count > 1,
fix this two issues
closes https://github.com/espressif/esp-idf/issues/4664
closes https://github.com/espressif/esp-idf/issues/4959
2020-05-19 11:39:38 +08:00
Angus Gratton
3e7ba2f389
bootloader: Don't print an error message after WDT reset in unicore mode
...
Caused some confusion here: https://github.com/espressif/esp-idf/issues/4388
2020-05-19 03:35:53 +00:00
Angus Gratton
4fa8f7d01b
Merge branch 'bugfix/parttool_get_info_wo_info_option' into 'master'
...
partition_table: Fix parttool.py crashes when retrieving partition info
Closes IDFGH-3279
See merge request espressif/esp-idf!8715
2020-05-19 11:30:20 +08:00
chenyudong
040f4be2a7
mesh: support set new type
...
If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router
Release emesh_recv_toDS when the root becomes non-root
esp_mesh_set_type now supports MESH_IDLE and MESH_STA
2020-05-19 11:17:56 +08:00
Jiang Jiang Jian
37f4e3855f
Merge branch 'bugfix/fix_sta_connect_compatibility' into 'master'
...
esp_wifi: Fix the timeout issue of EAPOL four-way handshake
Closes WIFI-2110 and WIFI-1809
See merge request espressif/esp-idf!8382
2020-05-18 22:26:52 +08:00
houwenxiang
b35d9002f3
driver(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug.
...
When I2S `i2s_comm_format_t` is set to `I2S_COMM_FORMAT_I2S_MSB`, the data should launch at first BCK. But not in fact, this MR fixed this issue.
For compatibility, several nwe parameters have been added, and the old parameters will be removed in the future.
closes https://github.com/espressif/esp-idf/issues/5065
closes https://github.com/espressif/esp-idf/issues/4957
closes https://github.com/espressif/esp-idf/issues/2978
closes https://github.com/espressif/esp-idf/issues/5136
Merges https://github.com/espressif/esp-idf/pull/4522
2020-05-18 19:55:30 +08:00
Darian Leung
11d96b39d0
esp_ipc: Move to new component
...
This commit moves esp_ipc into a separate component.
2020-05-18 16:51:45 +08:00
David Cermak
8a45f074fc
esp-netif: Added API to get the underlying interface name
...
The interface name can be used in socket API, i.e. setsockopt(). The API esp_netif_get_netif_impl_name() shoudl be used to populate standard
interface structure struct ifreq.
2020-05-18 09:26:24 +02:00
David Cermak
06711c7c36
examples: common connect component to use both interfaces at once
2020-05-18 09:26:24 +02:00
xiehang
158602c942
esp_wifi: Fix the timeout issue of EAPOL four-way handshake
2020-05-18 14:53:31 +08:00
weitianhua
8fc05d0665
Fix ASSERT for RXDESC and save the log for debug
2020-05-18 06:51:51 +00:00
weitianhua
8d1032ccac
Fix ASSERT in ld_acl at line 302 forclkoff1 and localval
2020-05-18 06:51:51 +00:00
weitianhua
77cc105c72
Fix ld_acl schedule bug to parity shift
2020-05-18 06:51:51 +00:00
weitianhua
55877684a0
Fix ASSERT(64,0) in rwble.c
2020-05-18 06:51:51 +00:00
weitianhua
0811851378
Fix ASSERT in ld_pscan.c at line 1032
2020-05-18 06:51:51 +00:00
weitianhua
b20f254483
Free lmp tx buf in EM in the procedure of handling LMP_detach_Req when not received the last acknowledge from peer device and seperate them by ACL State
2020-05-18 06:51:51 +00:00
weitianhua
190ff3ae37
Fix that when slave initiate unsniff procedure and meet transaction collision, no mode change event is repoerted
2020-05-18 06:51:51 +00:00
weitianhua
70fa5b4ac5
Fix int_wdt due to disable interrupt too long time
2020-05-18 06:51:51 +00:00