lly
d9ffe54991
ble_mesh: stack: Add Kconfig options to make server models optional
2020-11-17 11:33:10 +08:00
lly
c90def0992
ble_mesh: stack: Use Kconfig option to make client models optional
2020-11-17 11:30:15 +08:00
lly
4c7a021acd
ble_mesh: stack: Make some internal static functions inline
2020-11-17 11:29:28 +08:00
lly
09ac1b596d
ble_mesh: stack: Add a Kconfig option to make deinit optional
2020-11-17 11:19:49 +08:00
lly
bc4ebea32c
ble_mesh: stack: Introduce a new header file mesh_config.h
2020-11-17 11:18:14 +08:00
Jiang Jiang Jian
68b237fe53
Merge branch 'bugfix/customer_baidu_psram_stack_backtrace_v3.3' into 'release/v3.3'
...
backport v3.3: added psram stack check in backtrace
See merge request espressif/esp-idf!8460
2020-11-12 21:01:12 +08:00
lly
330f39ee23
ble_mesh: test: Fix node test function not update role flag
2020-11-09 02:42:36 +00:00
Michael (XIAO Xufeng)
49ace4968f
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-11-05 06:11:29 +00:00
chenjianqiang
1903c05d53
psram: fix 16mbit psram id read error
2020-11-05 06:11:29 +00:00
Jiang Jiang Jian
5d42f3075e
Merge branch 'feature/toolchain_gcc52_revert_PSRAM_fixes_2020r3_v3.3' into 'release/v3.3'
...
Update toolchain to 1.22.0-97-gc752ad5 (v3.3)
See merge request espressif/esp-idf!10348
2020-11-05 14:08:47 +08:00
Jiang Jiang Jian
8667591004
Merge branch 'bugfix/lwip_netdb_cpp_guards_v3.3' into 'release/v3.3'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code (v3.3)
See merge request espressif/esp-idf!11092
2020-11-05 14:00:42 +08:00
Jiang Jiang Jian
e0a8eb60dd
Merge branch 'feature/lwip_tcp_isn_hook_v3.3' into 'release/v3.3'
...
lw-ip: enable TCP ISN hook (v3.3)
See merge request espressif/esp-idf!11065
2020-11-05 12:10:59 +08:00
Ivan Grokhotkov
843889fd03
pthread: add dummy implementation of pthread_setcancelstate
...
Used by new versions of newlib in stdio functions.
2020-11-04 10:08:00 +07:00
Anton Maklakov
873aca4c0d
newlib: Build psram libc with the new toolchain
...
Generated from commit 02c81fb7 in the newlib script repo
2020-11-04 10:08:00 +07:00
mathiasbredholt
737fce72cc
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:43:09 +01:00
shenjun
a15f77e1c7
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 switch to a parent candidate which has the same layer and assoc as current parent
5. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
6. Fix the new voted root does not reconnect to router if rssi is weak
2020-11-03 15:23:28 +08:00
Mahavir Jain
652f43d9ee
esp_netif: initialize TCP ISN hook if enabled in configuration
2020-11-02 16:01:58 +05:30
Mahavir Jain
516ca4698f
lwip: provide configuration option to enable TCP ISN hook
2020-11-02 16:01:53 +05:30
Mahavir Jain
59112bbd76
tcp_isn: use ROM APIs for md5 calculations
2020-11-02 14:32:58 +05:30
Mahavir Jain
a4ad6f7547
lwip: add custom TCP ISN hook implementation
...
Source:
https://git.savannah.nongnu.org/cgit/lwip/lwip-contrib.git/
2020-10-30 16:42:08 +05:30
Jiang Jiang Jian
ec4124676f
Merge branch 'bugfix/bredr_bugfix_release_for_qa_dummy_disconnect_3_3' into 'release/v3.3'
...
Bugfix/bredr bugfix release for qa dummy disconnect 3.3
See merge request espressif/esp-idf!10649
2020-10-28 21:26:29 +08:00
Jiang Jiang Jian
3616ae4da4
Merge branch 'bugfix/add_clear_bond_complete_evt_3_3' into 'release/v3.3'
...
componenet_bt/bugfix: add remove bond device complete event 3.3
See merge request espressif/esp-idf!10658
2020-10-28 16:58:49 +08:00
Jiang Jiang Jian
39f26cce95
Merge branch 'bugfix/fix_dhcp_renew_fail_for_3.3' into 'release/v3.3'
...
lw-ip: Fix dhcp renew fail in t1 and will renew ip in t2 every 1s
See merge request espressif/esp-idf!10986
2020-10-28 11:21:46 +08:00
Jiang Jiang Jian
4e71047a2a
Merge branch 'bugfix/fix_bredr_read_rssi_delta_v3.3' into 'release/v3.3'
...
Bugfix/Fix Read Rssi Delta Bug in Bredr [backport v3.3]
See merge request espressif/esp-idf!10810
2020-10-26 21:44:39 +08:00
zhangyanjiao
91fca12f6a
esp_wifi: Fixed the bug for timestamp check, didn't disconnect AP when AP's timestamp decrease abnormally
2020-10-26 11:16:34 +00:00
xueyunfei
668347e9c1
fix(dhcp): Fix dhcp renew fail in t1 and will renew ip in t2 every 1s util renew successful.(backport 3.3)
2020-10-26 16:35:32 +08:00
Jiang Jiang Jian
cd06c14265
Merge branch 'bugfix/fix_get_bond_device_list_v3.3' into 'release/v3.3'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v3.3]
See merge request espressif/esp-idf!9669
2020-10-26 11:47:08 +08:00
Jiang Jiang Jian
410d59d53d
Merge branch 'feature/esp_spp_stop_srv_v3.3' into 'release/v3.3'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v3.3]
See merge request espressif/esp-idf!10010
2020-10-26 11:46:56 +08:00
Jiang Jiang Jian
77486506e3
Merge branch 'bugfix/fix_hci_max_page_num_v3.3' into 'release/v3.3'
...
bugfix/Support for more Bluetooth HID devices [backport v3.3]
See merge request espressif/esp-idf!9663
2020-10-26 11:46:11 +08:00
Michael (XIAO Xufeng)
adaed2c79d
Merge branch 'spi_dma_close_before_cpu_reset_v3.3' into 'release/v3.3'
...
spi: fix issue with closing DMA before CPU reset (3.3)
See merge request espressif/esp-idf!10865
2020-10-25 23:51:21 +08:00
He Yin Ling
4a9f946278
Merge branch 'feature/move_auto_test_script_to_new_repo_3.3' into 'release/v3.3'
...
ci: move auto_test_script to new repo (backport 3.3)
See merge request espressif/esp-idf!10881
2020-10-24 09:26:11 +08:00
Chen Yu Dong
632530ef3c
test: move auto test script to new repo (backport)
...
known issues +
2020-10-24 09:26:08 +08:00
boblane
c5b23a85b8
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-10-23 06:14:24 +00:00
liqigan
35b2eeaa65
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 !9114
2020-10-22 08:33:39 +00:00
boblane
fc6f480e89
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-10-22 06:32:16 +00:00
xueyunfei
2e3dfd23e7
udpv6 failed to receive data for the first time
2020-10-22 11:40:04 +08:00
Mahavir Jain
83809a37a7
Merge branch 'bugfix/esp_idf_version_v3.3' into 'release/v3.3'
...
Add __ASSEMBLER__ flag in esp_idf_version.h to fix build failure with assembly files (v3.3)
See merge request espressif/esp-idf!10902
2020-10-21 20:07:54 +08:00
liqigan
d61459e692
modify read rssi related function names
...
Closes https://github.com/espressif/esp-idf/issues/5660
2020-10-20 12:31:50 +00:00
Jiang Jiang Jian
5543b6a85b
Merge branch 'bugfix/fix_some_wifi_bugs_0924_v3.3' into 'release/v3.3'
...
fix some wifi bugs 0924 (v3.3)
See merge request espressif/esp-idf!10615
2020-10-20 20:29:50 +08:00
Shubham Kulkarni
5a287c3a31
esp_idf_version.h: Add __ASSEMBLER__ flag to fix build failure with assembly files
2020-10-19 13:23:20 +05:30
andreachiara
b097435596
esp_ble_mesh: api: fixed comment about autoresp
2020-10-19 11:32:52 +08:00
Armando
2a0dc304c0
spi: fix issue with closing DMA before CPU reset
2020-10-16 14:13:32 +08:00
Island
3901f38de6
Merge branch 'optimize/ble_mesh_make_buf_config_invisible_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Make mesh buf debug option invisible (v3.3)
See merge request espressif/esp-idf!10797
2020-10-13 19:51:59 +08:00
lly
0d92639439
ble_mesh: stack: Make mesh buf debug option invisible
2020-10-13 09:31:47 +00:00
lly
23a21f92be
ble_mesh: stack: Add mesh device properties v2 definitions
...
Also fixes wrong characteristic value length of some device
properties.
2020-10-13 09:30:16 +00:00
lly
aa329b08ce
ble_mesh: stack: Move device property to model common part
2020-10-13 09:30:16 +00:00
zhangyanjiao
a5b5467dca
esp_wifi:
...
1. Optimize some debug logs for probe response
2. Optimize phy and soc files
3. Fix the bug that no event for connect
4. Fix the bug that set_channel doesn't work for softAP
5. Drop receiving packets from myself
2020-10-13 17:22:47 +08:00
lly
18cc96d188
ble_mesh: stack: Store kr phase after value changed [Zephyr]
2020-10-13 14:32:51 +08:00
lly
3e61d519c1
ble_mesh: stack: Fix rpl not check by proxy cfg [Zephyr]
2020-10-13 14:32:36 +08:00
David Čermák
ad0b1ac8d7
Merge branch 'feature/mqtt_sub_update_01594bf1_v3.3' into 'release/v3.3'
...
MQTT: Update submodule reference (Backport v3.3)
See merge request espressif/esp-idf!10234
2020-10-13 14:13:52 +08:00
David Čermák
651dc8788f
Merge branch 'bugfix/ws_stop_deadlock_v3.3' into 'release/v3.3'
...
Websocket client: avoid deadlock if stop called from event handler (Backport v3.3)
See merge request espressif/esp-idf!10229
2020-10-13 14:12:52 +08:00
David Čermák
31d272e460
Merge branch 'bugfix/openss_strict_verify_mode_3.3' into 'release/v3.3'
...
openssl: made verification mode conversion to mbetls modes more strict (v3.3)
See merge request espressif/esp-idf!10502
2020-10-13 14:10:54 +08:00
Island
b4338b61a2
Merge branch 'bugfix/ble_mesh_node_deinit_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Persistent storage misc fixes (v3.3)
See merge request espressif/esp-idf!10815
2020-10-13 14:06:23 +08:00
Jiang Jiang Jian
5d1da96e3e
Merge branch 'bugfix/ipv6_address_get_fail_after_wifi_disconnect_for_3.3' into 'release/v3.3'
...
lw-ip:ipv6 address get fail after wifi disconnect for 3.3(backport 3.3)
See merge request espressif/esp-idf!10792
2020-10-13 12:28:46 +08:00
lly
542b6bdbc1
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-10-13 10:55:58 +08:00
Marius Vikhammer
0b42900063
Websocket client: avoid deadlock if stop called from event handler
2020-10-12 10:15:55 +00:00
Marius Vikhammer
22ce545187
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-10-12 10:15:19 +00:00
David Cermak
4a1016411b
openssl: made verification mode conversion to mbetls modes more strict
2020-10-12 10:14:21 +00:00
xueyunfei
a9f6748de9
lw-ip:ipv6 address get fail after wifi disconnect for 3.3
2020-10-12 10:58:50 +08:00
lly
b4c3c87c75
ble_mesh: stack: Use settings_core_erase when deinit
2020-10-12 10:02:05 +08:00
lly
3940ab80a3
ble_mesh: stack: Fix storing next net_idx and app_idx
2020-10-12 10:02:05 +08:00
lly
d7c2d66d55
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-10-12 10:02:05 +08:00
lly
4fc62b7983
ble_mesh: stack: Split model settings store and clear
2020-10-12 10:02:05 +08:00
lly
de15e502a7
ble_mesh: stack: Erase netkey and appkey with key index
2020-10-12 10:02:05 +08:00
lly
d51431fff5
ble_mesh: stack: Add clear hb_pub in settings
2020-10-12 10:02:05 +08:00
lly
d4651bbb30
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-10-12 10:02:05 +08:00
lly
e202225bd1
ble_mesh: stack: Use erase settings functions
2020-10-12 10:02:05 +08:00
lly
1a3515ab76
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-10-12 10:02:05 +08:00
lly
a662d14a4e
ble_mesh: stack: Add role check before enabling device
2020-10-12 10:02:05 +08:00
lly
4dcbe2bd7a
ble_mesh: stack: Define a type for mesh nvs handle
2020-10-12 10:01:47 +08:00
Jiang Jiang Jian
4782dde73a
Merge branch 'bugfix/fix_ble_hci_desync_deadlock_v3.3' into 'release/v3.3'
...
components/bt: Fix for HCI desync deadlock issue in BLE controller.
See merge request espressif/esp-idf!10625
2020-10-09 19:52:42 +08:00
Chinmay Chhajed
1aa40de934
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:37 +05:30
Mahavir Jain
1ffeff5948
Merge branch 'bugfix/bootloader_anti_rollback_mmap_v3.3' into 'release/v3.3'
...
bootloader_support: fix issue in memory mapping for getting app descriptor (v3.3)
See merge request espressif/esp-idf!10737
2020-10-08 16:31:35 +08:00
Angus Gratton
0f6b7ad3cf
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_v3.3' into 'release/v3.3'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition(), can handle a long image (v3.3)
See merge request espressif/esp-idf!9955
2020-10-08 13:11:46 +08:00
Mahavir Jain
0167a5e96d
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-06 14:43:12 +05:30
Michael (XIAO Xufeng)
021e1189c5
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp3.3' into 'release/v3.3'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v3.3)
See merge request espressif/esp-idf!9550
2020-10-02 14:20:12 +08:00
xutao
85d63af301
tcp_transport: fix an issue when use
2020-09-30 11:34:00 +08:00
Chinmay Chhajed
02893a2038
components/bt: Fix for HCI desync deadlock issue in BLE controller.
2020-09-29 21:35:15 +05:30
Jiang Jiang Jian
cd86bc9d8d
Merge branch 'bugfix/confirmed_bugfix_from_baidu_proj_3.3' into 'release/v3.3'
...
Confirmed bugfix from Baidu Project 3.3
See merge request espressif/esp-idf!10548
2020-09-29 20:48:50 +08:00
Jiang Jiang Jian
9401c59f89
Merge branch 'bugfix/customer_baidu_int_wdt_v3.3' into 'release/v3.3'
...
backport v3.3: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!9217
2020-09-29 14:04:00 +08:00
baohongde
67edd0c10e
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-09-28 19:36:23 +08:00
baohongde
abf6cecde1
components/bt: Fix clear bond fail when connected without ble included
2020-09-28 16:21:25 +08:00
xiongweichao
67276f5d26
add remove bond device complete event
2020-09-28 16:14:52 +08:00
xiongweichao
3c0aee8595
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-28 12:00:28 +08:00
xiongweichao
2233b5d25e
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-28 11:55:46 +08:00
Jiang Jiang Jian
a55f0ebbd5
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v3.3' into 'release/v3.3'
...
wifi: Fix spin lock allocation in PSRAM bug(v3.3)
See merge request espressif/esp-idf!10550
2020-09-27 12:49:32 +08:00
Jiang Jiang Jian
e49a6b95ed
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num_v3.3' into 'release/v3.3'
...
lw-ip: fix IPv6 ND6 queue too much pkts cause no mem issue(backport v3.3)
See merge request espressif/esp-idf!10177
2020-09-27 12:47:30 +08:00
Jiang Jiang Jian
4a037fa911
Merge branch 'bugfix/can_mmap_after_get_enough_free_mmu_pages_v3.3' into 'release/v3.3'
...
flash_mmap: can mmap after get enough free MMU pages (backport v3.3)
See merge request espressif/esp-idf!10587
2020-09-27 12:46:42 +08:00
lly
81354cf24f
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-09-25 14:04:58 +08:00
Angus Gratton
fcadbaf97c
Merge branch 'update/release_v3.3.4' into 'release/v3.3'
...
v3.3: Update to v3.3.4
See merge request espressif/esp-idf!10520
2020-09-25 10:21:30 +08:00
ChenJianxing
186ad2f6aa
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
2020-09-24 10:43:23 +08:00
jiangguangming
4f3ddbb299
flash_mmap: restore interrupt and cache before err return
2020-09-24 10:06:18 +08:00
jiangguangming
9debc7248a
flash_mmap: can mmap after get enough free MMU pages
2020-09-24 10:06:18 +08:00
Jiang Jiang Jian
fb18b12efe
Merge branch 'bugfix/bt_linkup_fallback_event_v3.3' into 'release/v3.3'
...
Bluedroid: Fixes cases having fallback to link up event. (v3.3)
See merge request espressif/esp-idf!9805
2020-09-22 16:44:07 +08:00
Jiang Jiang Jian
251676181a
Merge branch 'bugfix/backport_some_lwip_bugs_0910_v3.3' into 'release/v3.3'
...
lw-ip:backport bugfix lw-ip for v3.3
See merge request espressif/esp-idf!10409
2020-09-22 14:18:30 +08:00
dongyou
e12593a79f
Fix spin lock allocation in PSRAM bug
2020-09-22 14:11:25 +08:00
weitianhua
7f9a4d25ef
Confirmed bugfix from Baidu Project
2020-09-22 11:57:00 +08:00
Michael (XIAO Xufeng)
4afc8facde
Merge branch 'fixbug/sdmmc_spi_highspeed_v3.3' into 'release/v3.3'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode(backport v3.3)
See merge request espressif/esp-idf!9838
2020-09-21 11:10:09 +08:00
Angus Gratton
c73a00e073
Merge branch 'bugfix/espcoredump_fix_error_reported_for_blank_partition_v33' into 'release/v3.3'
...
Bugfix/espcoredump fix error reported for blank partition (backport v3.3)
See merge request espressif/esp-idf!9625
2020-09-21 10:45:05 +08:00
Michael (XIAO Xufeng)
f2f13eb8e8
Merge branch 'bugfix/spi_master_multiple_dev_with_diff_cs_lvl_3.3' into 'release/v3.3'
...
spi_master: correctly set cs polarity (3.3)
See merge request espressif/esp-idf!10406
2020-09-21 10:21:22 +08:00
aleks
c9f4b0aba8
espcoredump: fix error reported for blank partition
2020-09-21 01:29:24 +00:00
Angus Gratton
34961db9c1
Merge branch 'release/v3.3' into update/release_v3.3.4
2020-09-18 19:44:26 +10:00
Angus Gratton
b64b375234
version: Update to v3.3.4
2020-09-18 19:42:21 +10:00
xueyunfei
315cbe05cf
backport bugfix lwip for v3.3
2020-09-18 02:28:13 +00:00
Island
f54f776905
Merge branch 'bugfix/ble_mesh_check_stack_init_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Check if mesh stack initialized before init vendor client (v3.3)
See merge request espressif/esp-idf!10484
2020-09-18 09:40:14 +08:00
Michael (XIAO Xufeng)
c7a9851de0
Merge branch 'bugfix/fix_bugs_in_gpio_unit_test_v3.3' into 'release/v3.3'
...
bugfix(ut): fix gpio output and input mode test(backport v3.3)
See merge request espressif/esp-idf!10023
2020-09-18 02:17:42 +08:00
lly
1f32a8d95e
ble_mesh: stack: Check if mesh stack initialized before init vendor client
2020-09-17 11:28:02 +08:00
Ivan Grokhotkov
c3e8fb73c7
Merge branch 'bugfix/missing_regex_error_stub' into 'release/v3.3'
...
Add missing regex_error stub
See merge request espressif/esp-idf!8852
2020-09-16 04:50:54 +08:00
Ivan Grokhotkov
9dda741a99
Merge branch 'bugfix/nvs_no_throw_v3.3' into 'release/v3.3'
...
NVS: Changed all new to new (nothrow) (backport v3.3)
See merge request espressif/esp-idf!7858
2020-09-16 02:49:09 +08:00
Jakob Hasse
5d45705ca1
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-15 18:45:42 +00:00
Jakob Hasse
a7e1c144e2
Add missing regex_error stub
...
Closes IDFGH-3153
* avoids linker error
2020-09-15 18:20:09 +00:00
Angus Gratton
8a79415c2e
Merge branch 'bugfix/ulp_as_version_v3.3' into 'release/v3.3'
...
ulp: fix ULP assembler version detection for localized systems (v3.3)
See merge request espressif/esp-idf!10396
2020-09-15 15:09:30 +08:00
Wielebny666
bca1beb3f0
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
2020-09-14 11:58:10 +00:00
Island
64adabfd3a
Merge branch 'bugfix/ble_mesh_prov_iv_index_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Using the latest iv_index for provisioning (v3.3)
See merge request espressif/esp-idf!10419
2020-09-14 14:17:53 +08:00
Michael (XIAO Xufeng)
cbcb218418
Merge branch 'bugfix/fix_i2s_reset_issue_v3.3' into 'release/v3.3'
...
driver(I2S): Fix I2S reset issue for release/v3.3
See merge request espressif/esp-idf!9586
2020-09-14 10:45:50 +08:00
Jiang Jiang Jian
cec88e11ed
Merge branch 'component/seperate_bta_jv_l2c_3.3' into 'release/v3.3'
...
Component/seperate bta jv l2c 3.3
See merge request espressif/esp-idf!9651
2020-09-11 19:38:36 +08:00
lly
34f30a878e
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 07:58:20 +00:00
Jiang Jiang Jian
908938bc3c
Merge branch 'bugfix/fix_some_wifi_bugs_0907_v3.3' into 'release/v3.3'
...
bugfix: fix some wifi bugs (backport v3.3)
See merge request espressif/esp-idf!10318
2020-09-10 22:33:18 +08:00
Roland Dobai
cccdd13937
ulp: fix ULP assembler version detection for localized systems
2020-09-10 09:36:22 +02:00
Island
6c5fc42114
Merge branch 'feat/ble_mesh_use_model_c_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Use model callback for operations [Zephyr] (v3.3)
See merge request espressif/esp-idf!10365
2020-09-10 10:40:19 +08:00
Island
7514850962
Merge branch 'bugfix/ble_mesh_remove_assert_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Avoid using assert in mesh stack (v3.3)
See merge request espressif/esp-idf!10361
2020-09-10 10:39:21 +08:00
lly
9b70ddbb77
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-09-09 14:01:17 +08:00
lly
1090c12acd
ble_mesh: stack: Avoid using assert in mesh stack
2020-09-09 10:58:18 +08:00
lly
d79e95e6e0
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-09-09 10:50:40 +08:00
Michael (XIAO Xufeng)
a3ef2bbe33
Merge branch 'feature/vfs_uart_set_line_ending_v3.3' into 'release/v3.3'
...
feature: support vfs uart set line endings with specified uart number release/v3.3
See merge request espressif/esp-idf!9595
2020-09-09 10:36:59 +08:00
ronghulin
a571bc0d0a
bugfix: fix some wifi bugs
...
1. add sta connect again ap sent disconnect event
2. add set/get inactive time api
3. fix connect hidden AP doesn't update information
4. add rf test long short support
2020-09-08 14:18:00 +08:00
He Yin Ling
3b79b6b5da
Merge branch 'bugfix/remove_auto_conn_case_v3.3' into 'release/v3.3'
...
test: remove auto conn case because we do not support this anymore (v3.3)
See merge request espressif/esp-idf!9943
2020-09-07 20:45:52 +08:00
Ivan Grokhotkov
93ad53c09d
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:30:01 +02:00
Mahavir Jain
2ad0565e3a
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-09-03 05:10:30 +00:00
Michael (XIAO Xufeng)
6552aef2e7
driver test: disable the spi master performance test when psram is used
2020-09-01 16:41:59 +00:00
Jiang Jiang Jian
b2b47b4465
Merge branch 'bugfix/fix_some_wifi_bugs_0703_v3.3' into 'release/v3.3'
...
fix some wifi bugs 0703 (v3.3)
See merge request espressif/esp-idf!9537
2020-09-01 11:34:29 +08:00
Island
173c76cb04
Merge branch 'bugfix/ble_mesh_client_msg_optimize_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh client msg optimize (v3.3)
See merge request espressif/esp-idf!10207
2020-09-01 09:33:39 +08:00
Jiang Jiang Jian
c30a264d21
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v3.3' into 'release/v3.3'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v3.3)
See merge request espressif/esp-idf!10109
2020-08-31 19:23:26 +08:00
lly
31060cf42b
ble_mesh: stack: Client model related code clean
2020-08-31 13:18:53 +08:00
lly
8a19d03a1c
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-31 13:18:48 +08:00
lly
d5e9fc092c
ble_mesh: stack: Check client msg result in common func
2020-08-31 13:18:42 +08:00
lly
8ae06fde5f
ble_mesh: stack: Fix no events for some error conditions
2020-08-31 13:18:37 +08:00
lly
90e2bbe330
ble_mesh: stack: Move client role set to the msg function
2020-08-31 13:18:31 +08:00
lly
9aa33c344a
ble_mesh: stack: Remove some not used client parameters
2020-08-31 13:18:25 +08:00
lly
7cb6b85ec9
ble_mesh: stack: Remove some not used variables & functions
2020-08-31 13:18:18 +08:00
lly
f11e347e2e
ble_mesh: stack: Update client model msg send
2020-08-31 13:18:11 +08:00
Mahavir Jain
ba47806b8d
Merge branch 'bugfix/http_client_read_v3.3' into 'release/v3.3'
...
Fix error handling in esp_http_client_read and esp_https_ota_perform (v3.3)
See merge request espressif/esp-idf!9205
2020-08-31 13:04:10 +08:00
Mahavir Jain
cfcc189a89
Merge branch 'bugfix/softap_prov_session_v3.3' into 'release/v3.3'
...
protocomm_httpd: Restart security session if request is received on a new session (v3.3)
See merge request espressif/esp-idf!9118
2020-08-31 13:01:12 +08:00
lly
726c74ff39
ble_mesh: stack: Fix recv health current status incorrectly
2020-08-28 17:40:59 +08:00
lly
ff1132d2e4
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-08-28 10:51:17 +08:00
lly
6ea6de8d42
ble_mesh: stack: Make proxy server & client functions clear
2020-08-28 10:51:02 +08:00
Island
7e26c8ddda
Merge branch 'bugfix/ble_mesh_add_misc_check_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh add misc check (v3.3)
See merge request espressif/esp-idf!9633
2020-08-28 10:43:55 +08:00
Angus Gratton
f043a3da97
Merge branch 'update/release_v3.3.3' into 'release/v3.3'
...
version: Update to v3.3.3
See merge request espressif/esp-idf!10180
2020-08-27 19:38:21 +08:00
lly
f6cc9afaa9
ble_mesh: stack: Add proxy cfg pdu length check
2020-08-27 11:20:50 +00:00
lly
55489bb41a
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-08-27 11:20:50 +00:00
lly
c1c4990f75
ble_mesh: stack: Add more checks about input prov bearers
2020-08-27 11:20:50 +00:00
Island
72f029abc3
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc_v3.3' into 'release/v3.3'
...
Feat/ble mesh use diff ram for mem alloc (v3.3)
See merge request espressif/esp-idf!9619
2020-08-27 19:19:23 +08:00
Island
c902b1fa24
Merge branch 'bugfix/ble_mesh_update_send_ttl_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh update send ttl v3.3
See merge request espressif/esp-idf!9564
2020-08-27 19:19:01 +08:00
Angus Gratton
95c7b26cdd
version: Update to v3.3.3
2020-08-27 18:21:03 +10:00
lly
2a6b0d68ce
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-08-26 08:24:55 +00:00
lly
da068a639f
ble_mesh: stack: Use macros for adv task name & prio
2020-08-26 08:24:55 +00:00
lly
df8b2c5f3a
ble_mesh: stack: Make freertos static allocation visible
2020-08-26 08:24:55 +00:00
lly
a194c415a8
ble_mesh: stack: Update option of using DRAM/SPIRAM for memory allocation
2020-08-26 08:24:55 +00:00
weitianhua
8fb47ab0c2
Seperate BTA_JV_L2CAP for less bin size
2020-08-26 15:33:48 +08:00
zhangyanjiao
09113e163b
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
9. Fix WiFi fragment issue
10. Fix WiFi fragment issue
2020-08-26 14:43:53 +08:00
zhangyanjiao
85ca89ee4a
esp_wifi: Add API to get available internal heap size
2020-08-26 14:43:35 +08:00
dongyou
9825d0004f
Add IRAM_ATTR wifi_bt_common_module_enable/disable()
...
Deleted duplicated spinlock and counter.
2020-08-24 14:00:22 +08:00
houwenxiang
c7f33524b4
driver(I2S): Fix I2S reset issue for release/v3.3
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-08-24 01:25:39 +00:00
Chen Yi Qun
c2ead692aa
bugfix(ut): fix gpio output and input mode test(backport v3.3)
2020-08-20 06:25:40 +00:00
houwenxiang
a293dfea7a
feature: support vfs uart set line endings with specified uart number release/v3.3
2020-08-14 14:35:44 +08:00
Angus Gratton
9ff108dcd0
Merge branch 'fix/prov_ble_read_offset_v3.3' into 'release/v3.3'
...
BLE provisioning: Add check for valid ble read offset (v3.3)
See merge request espressif/esp-idf!9747
2020-08-13 16:29:02 +08:00
Michael (XIAO Xufeng)
0a75f2d5f8
Merge branch 'bugfix/fix_adc_dac_conflict_backportv3.3' into 'release/v3.3'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC (backport v3.3)
See merge request espressif/esp-idf!9364
2020-08-13 09:51:25 +08:00
Prasad Alatkar
fbdcfc8e4a
BLE provisioning: Add check for valid ble read offset
2020-08-12 08:46:01 +00:00
xiehang
7952bed766
lwip: fix udp tx packet loss issue
2020-08-12 10:38:42 +08:00
Li Shuai
ab63b48f6f
add soft solution for esp32 eco3 live lock issue
2020-08-12 02:16:53 +00:00
ronghulin
cb78c1083f
bugfix: fix IPv6 memory leak issue
2020-08-11 14:19:06 +08:00
Jiang Jiang Jian
7e1c529b00
Merge branch 'bugfix/param_check_instant_tx_octets_adv_ubderrun_v3.3' into 'release/v3.3'
...
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0)
See merge request espressif/esp-idf!9484
2020-08-11 14:11:03 +08:00
xueyunfei
68ecc44d34
fix bug for ipv6 fragment
2020-08-11 09:45:02 +08:00
Jiang Jiang Jian
b244afc208
Merge branch 'feature/make_tcp_rto_configurable_v3.3' into 'release/v3.3'
...
make TCP rto time configurable (backport v3.3)
See merge request espressif/esp-idf!9610
2020-08-10 21:17:45 +08:00
Wang Cheng
bfaa14bfdd
component/bt: Fix buffer count deinit crash.
2020-08-10 11:43:54 +08:00
wangcheng
12d476427f
components/bt: Add api to query the number of available buffers for the current connection
2020-08-10 11:43:54 +08:00
baohongde
debda4a63f
Fix ble disconnect due to instant of channel map update is too small
...
Set AFH in time
Fix ble connecting fail in coexist
2020-08-10 11:43:54 +08:00
baohongde
b76f5b2ef2
Coexistence: Add coexist API to enable BLE connection dynamic priority
2020-08-10 11:43:54 +08:00
wangcheng
d674016d64
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0), fix assert(512,0)
2020-08-10 11:43:17 +08:00
KonstantinKondrashov
9ce137139b
bootloader: Adds bootloader_sha256_flash_contents()
2020-08-07 23:10:29 +08:00
Piyush Shah
52c089fba7
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-08-06 18:25:53 +00:00
KonstantinKondrashov
035783039b
bootloader_support: Fix bootloader_common_get_sha256_of_partition, can handle a long image
...
Closes: IDFGH-3594
2020-08-05 23:21:52 +08:00
Hou Chen Yao
2e89f963d7
remove auto conn case because we do not support this anymore
2020-08-05 18:04:34 +08:00
Li Shuai
b1990352bb
added psram stack check in backtrace
2020-08-04 05:46:45 +00:00
Jiang Jiang Jian
593ca2255c
Merge branch 'mesh/bugfix_set_type_v3.3' into 'release/v3.3'
...
Mesh/bugfix (backport v3.3)
See merge request espressif/esp-idf!9179
2020-07-30 21:17:11 +08:00
Jiang Jiang Jian
44791067ec
Merge branch 'nimble/nrpa_support_v3.3' into 'release/v3.3'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v3.3)
See merge request espressif/esp-idf!9735
2020-07-29 16:35:25 +08:00
Michael (XIAO Xufeng)
55bb42dc63
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 19:09:38 +08:00
Wielebny666
fc8ba15b33
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-28 03:44:36 +00:00
Chinmay Chhajed
6bbb75f219
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-07-27 14:08:03 +05:30
Prasad Alatkar
7aab15f33d
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v3.3)
...
- 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:28:42 +05:30
aleks
b64f4bced8
ci: temporarily disable RS485 related tests
2020-07-22 08:46:57 +00:00
Angus Gratton
bf02206096
Merge branch 'ci/workaround_multiple_ci_failures_v3.3' into 'release/v3.3'
...
CI: workaround multiple ci failures (v3.3)
See merge request espressif/esp-idf!9687
2020-07-22 11:54:45 +08:00
yuanjm
e5066c9969
feat(lwip): make LWIP TCP rto time configurable
2020-07-20 07:58:06 +00:00
Angus Gratton
07942e3991
Merge branch 'bugfix/cmake_bugfixes_v3.3' into 'release/v3.3'
...
CMake-related bugfixes (v3.3)
See merge request espressif/esp-idf!8069
2020-07-20 08:43:52 +08:00
He Yin Ling
858e12a040
CI: do not run cases likely to fail
2020-07-19 15:30:15 +08:00
He Yin Ling
bfb7757feb
CI: disable cases with test env SSC_T5_1
2020-07-19 15:26:29 +08:00
He Yin Ling
9a205c654d
CI: remove incorrect MTU related cases
2020-07-19 15:23:21 +08:00
chenyudong
83fdac780c
mesh/ci: fix MESH_EST_0216
2020-07-10 17:57:36 +08:00
chenyudong
7c95474f6c
mesh: backport some bugfixes
...
1. If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router.
2. Release esp_mesh_recv_toDS when the root becomes non-root.
3. esp_mesh_set_type now supports MESH_IDLE and MESH_STA.
4. Fix ie.rc_rssi is not updated during scan and vote.
5. Fix ie.mesh_type do not match ie.layer caused by parent switch.
6. Fix during root switch, the original root doesn't disconnect from the router after it receives the switch request from the new voted root. (root switch happens by invoking esp_mesh_waive_root).
7. Fix the routing announce timer is not stopped immediately in a new root if the new root is transformed from non-root.
8. Choose the candidate with less ie.assoc when doing parent switch.
2020-07-10 17:57:34 +08:00
lly
28c0673376
ble_mesh: stack: Add two application macros for TTL
2020-07-10 09:15:56 +08:00
lly
9eb66d49e4
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:49 +08:00
Shubham Kulkarni
e84ad136b9
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 10:00:48 +05:30
Shubham Kulkarni
22926742be
esp_http_client.c: In esp_http_client_read, add fix to return (-1) if esp_transport_read fails
2020-07-08 10:00:48 +05:30
Angus Gratton
9d6c3632e8
bootloader: Fix regression burning efuses late in boot process
...
APB clock get functions not included in iram_loader_seg, meaning
could be overwritten by app depending on app IRAM size and linker
layout.
Regression in dd5190868a
Closes https://github.com/espressif/esp-idf/issues/5456
2020-07-06 16:42:46 +10:00
Jiang Jiang Jian
4891fcea78
Merge branch 'bugfix/beacon_security_downgrade_v3.3' into 'release/v3.3'
...
Avoid parsing RSN/WPA IE's after connection (Backport v3.3)
See merge request espressif/esp-idf!9268
2020-07-03 14:32:04 +08:00
lly
8753fb359a
ble_mesh: stack: Update some fast prov functions
2020-07-03 08:54:59 +08:00
lly
bbf4ce8d18
ble_mesh: stack: Move fast prov functions to a single file
2020-07-03 08:54:51 +08:00
Nachiket Kukade
2edc576419
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-02 04:06:35 +00:00
lly
d76a3a8372
ble_mesh: ci: Fix failing to compile when using make
2020-07-02 03:38:18 +00:00
lly
e36105156c
ble_mesh: Mark platform related default RNG as 0
2020-07-02 03:38:18 +00:00
lly
9060de827f
ble_mesh: Remove the previously added redundant aes files
2020-07-02 03:38:18 +00:00
lly
8887bd5f3c
ble_mesh: Update CMake and make files for tinycrypt
2020-07-02 03:38:18 +00:00
lly
0940f5b2c3
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:38:18 +00:00
lly
d690e52993
ble_mesh: Format source and header files of tinycrypt
2020-07-02 03:38:18 +00:00
lly
12b9f59559
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:38:18 +00:00
fuzhibo
44887f5fde
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-07-01 06:16:35 +00:00
lly
f835011e2f
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 12:32:04 +08:00
Island
021e23ebf7
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v3.3' into 'release/v3.3'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v3.3)
See merge request espressif/esp-idf!9398
2020-07-01 11:17:08 +08:00
Island
31b52a5c05
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh set recv rssi (v3.3)
See merge request espressif/esp-idf!9392
2020-07-01 11:15:48 +08:00
Jiang Jiang Jian
46bc9e5dc4
Merge branch 'feature/bt_secure_conn_downgrade_check_v3.3' into 'release/v3.3'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9332
2020-06-30 15:12:21 +08:00
lly
9f6375db50
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:23:28 +08:00
lly
96865524c7
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:06:42 +08:00
mbroek
86cad8b825
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:06:31 +08:00
Mahavir Jain
d6a63531ce
Merge branch 'bugfix/http_server_lru_v3.3' into 'release/v3.3'
...
esp_http_server: Update LRU counter on accepting a new connection (v3.3)
See merge request espressif/esp-idf!9353
2020-06-29 12:57:43 +08:00
Island
370bb55f42
Merge branch 'bugfix/ble_mesh_get_node_with_name_v3.3' into 'release/v3.3'
...
ble_mesh: Get node info with pre-configured node name (v3.3)
See merge request espressif/esp-idf!9304
2020-06-28 20:25:13 +08:00
Island
1fb6ffecad
Merge branch 'bugfix/ble_mesh_bt_hex_v3.3' into 'release/v3.3'
...
ble_mesh: Fix wrong log output with bt_hex (v3.3)
See merge request espressif/esp-idf!9311
2020-06-28 20:23:56 +08:00
Island
036828a172
Merge branch 'bugfix/ble_mesh_not_define_bool_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh not define bool (v3.3)
See merge request espressif/esp-idf!9318
2020-06-28 20:22:50 +08:00
Shubham Kulkarni
673e433281
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:42 +05:30
Chinmay Chhajed
99d572700d
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.
2020-06-25 13:59:14 +00:00
lly
ad970addf0
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 11:53:59 +00:00
lly
adbc337023
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 11:50:58 +00:00
lly
1dbbc55cc0
ble_mesh: Remove boolean type definitions
2020-06-24 11:46:51 +00:00
Nikolaos Strikos
0526de4536
ble_mesh: Do not #define bool when compiling in C++
2020-06-24 11:46:51 +00:00
lly
366dd9759d
ble_mesh: stack: Check model status with variable length
2020-06-24 11:41:58 +00:00
Jiang Jiang Jian
39e5184159
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v3.3' into 'release/v3.3'
...
Bugfix/fix event bug in GAP API [backport v3.3]
See merge request espressif/esp-idf!9195
2020-06-23 12:19:04 +08:00
David Čermák
e3f3e0ae0f
Merge branch 'feature/ws_timeout_v3.3' into 'release/v3.3'
...
websocket: add configurable timeout for PONG not received (v3.3)
See merge request espressif/esp-idf!8911
2020-06-19 02:22:08 +08:00
Island
2ea53169ad
Merge branch 'bugfix/blufi_buffer_overflow_report_v3.3' into 'release/v3.3'
...
blufi: When the format of the received data packet is wrong, reply with an error response(backport 3.3)
See merge request espressif/esp-idf!9198
2020-06-18 13:45:34 +08:00
Michael (XIAO Xufeng)
2aaf254d44
Merge branch 'bugfix/fix_fifo_cnt_bug_v3.3' into 'release/v3.3'
...
bugfix(uart): fix esp32 uart fifo_cnt bug(backport v3.3)
See merge request espressif/esp-idf!9042
2020-06-18 01:43:04 +08:00
David Čermák
e25b710a02
Merge branch 'bugfix/ws_send_abort_v3.3' into 'release/v3.3'
...
websocket client: the client now aborts the connection if send fails (v3.3)
See merge request espressif/esp-idf!8903
2020-06-17 15:05:48 +08:00
wangcheng
563c9901ca
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:32:57 +08:00
liqigan
02f9eaa31a
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-17 11:27:37 +08:00
Marius Vikhammer
b478dc4ad6
websocket: add configurable timeout for PONG not received
...
Closes IDF-1744
2020-06-17 11:13:26 +08:00
xiongyu
c9d9545310
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-15 12:22:33 +08:00
Angus Gratton
5e84ee108c
Merge branch 'bugfix/bootloader_efuse_build_regression_v3.3' into 'release/v3.3'
...
bootloader: add definition of esp_clk_apb_freq (v3.3)
See merge request espressif/esp-idf!9093
2020-06-10 16:01:35 +08:00
Angus Gratton
f17f59fb54
Merge branch 'bugfix/parttool_get_info_wo_info_option_v3.3' into 'release/v3.3'
...
partition_table: Fix parttool.py crashes when retrieving partition info (v3.3)
See merge request espressif/esp-idf!9065
2020-06-10 15:58:01 +08:00
weitianhua
282433500e
Backport MR from baid proj
2020-06-10 03:53:21 +00:00
Ivan Grokhotkov
618794e1fb
bootloader: add definition of esp_clk_apb_freq
...
Commit 8cd04c80
has added a dependency of efuse component on
esp_clk_apb_freq, however there was no definition of this function in
the bootloader context.
Reported at https://esp32.com/viewtopic.php?f=13&t=12035
Closes: https://github.com/espressif/esp-idf/issues/5396
2020-06-08 16:45:29 +08:00
Jiang Jiang Jian
eaca5a11e4
Merge branch 'bugfix/authmode_degrade_fix_v3.3' into 'release/v3.3'
...
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold (backport 3.3)
See merge request espressif/esp-idf!9058
2020-06-05 13:59:48 +08:00
Jiang Jiang Jian
b4c89c6607
Merge branch 'bugfix/add_so_linger_to_menuconfig_for_3.3' into 'release/v3.3'
...
lw-ip:add LINGER to menuconfig(backport 3.3)
See merge request espressif/esp-idf!9062
2020-06-05 13:54:22 +08:00
Jiang Jiang Jian
a5a6ba895e
Merge branch 'optimization/DNS_get_function_for_3.3' into 'release/v3.3'
...
lw-ip:optimization DNS get function(backport 3.3)
See merge request espressif/esp-idf!9061
2020-06-05 13:54:07 +08:00
Jiang Jiang Jian
b336851479
Merge branch 'workaround/wps_iot_fixes_v3.3' into 'release/v3.3'
...
wpa_supplicant: WPS Inter operatability Fixes ( backport v3.3)
See merge request espressif/esp-idf!9060
2020-06-05 13:49:24 +08:00
Michael (XIAO Xufeng)
ace2cff01a
Merge branch 'bugfix/sdmmc_check_slot_before_pullup_3.3' into 'release/v3.3'
...
sdmmc: Correctly check function parameters before using them (3.3)
See merge request espressif/esp-idf!9057
2020-06-05 07:19:11 +08:00
KonstantinKondrashov
28d3d6daac
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:43:06 +08:00
kapil.gupta
21395421d1
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-04 13:57:20 +05:30
xueyunfei
68d1afb47d
add LINGER to menuconfig
2020-06-04 16:16:03 +08:00
xueyunfei
32b3c255ac
optimization DNS get function
2020-06-04 16:05:17 +08:00
Jiang Jiang Jian
c13b946773
Merge branch 'bugfix/modify_TCP_MSS_range_v3.3' into 'release/v3.3'
...
Change the default value of TCP_MSS (backport v3.3)
See merge request espressif/esp-idf!9050
2020-06-04 15:59:17 +08:00
Jiang Jiang Jian
3838da57f0
Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled_v3.3' into 'release/v3.3'
...
Bugfix/compiler err when performance optimization enabled v3.3
See merge request espressif/esp-idf!7979
2020-06-04 15:58:34 +08:00
kapil.gupta
1625c595ff
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
2020-06-04 13:13:21 +05:30
Nachiket Kukade
c6ca42b1e7
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-04 12:18:43 +05:30
Alexander Borsuk
cccd679b3e
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-06-04 12:07:16 +08:00
xiehang
6f26e72817
Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]
2020-06-04 12:04:14 +08:00
Island
ad2447a6ea
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v3.3' into 'release/v3.3'
...
ble_mesh: Remove relay option dependency (v3.3)
See merge request espressif/esp-idf!9028
2020-06-03 15:20:56 +08:00
Island
686530d373
Merge branch 'bugfix/ble_mesh_example_nvs_store_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh example nvs store (v3.3)
See merge request espressif/esp-idf!9018
2020-06-03 15:12:28 +08:00
Island
c3902be87f
Merge branch 'bugfix/ble_mesh_model_recv_fix_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh model recv fix (v3.3)
See merge request espressif/esp-idf!9009
2020-06-03 15:11:38 +08:00
Island
88937185ac
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v3.3' into 'release/v3.3'
...
ble_mesh: Rework prov pdu length check (v3.3)
See merge request espressif/esp-idf!9005
2020-06-03 15:11:11 +08:00
lly
7937a51779
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:19:18 +08:00
Jiang Jiang Jian
a94842d8f7
Merge branch 'bugfix/fix_some_wifi_bugs_0525_v3.3' into 'release/v3.3'
...
feature: optimize some wifi API (backport v3.3)
See merge request espressif/esp-idf!8893
2020-06-02 17:39:23 +08:00
weitianhua
afae411857
Remove (x2) varible for BCM_STRNCPY_S and BCM_STRCPY_S
2020-06-02 08:30:02 +00:00
weitianhua
437bee123c
Initialize mem_start and mem_end
2020-06-02 08:30:02 +00:00
lly
cb0288d399
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:05:26 +08:00
lly
59cdd33dcf
ble_mesh: Add more checks of net_idx & app_idx
2020-06-02 14:05:19 +08:00
lly
36c476833f
ble_mesh: Optimize some send & recv logs
2020-06-02 14:05:12 +08:00
Michael (XIAO Xufeng)
13154fe5c6
Merge branch 'bugfix/fix_gpio_wake_up_disable_invalid_for_rtc_io_v3.3' into 'release/v3.3'
...
bugfix (GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/3.3)
See merge request espressif/esp-idf!7997
2020-06-02 11:16:59 +08:00
Island
bce064e655
Merge branch 'bugfix/ble_mesh_local_model_sub_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh local model sub (v3.3)
See merge request espressif/esp-idf!8985
2020-06-02 10:58:50 +08:00
lly
ac565c97a3
ble_mesh: correct the return type [Zephyr]
2020-06-02 10:33:12 +08:00
lly
8c5a8bef50
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-06-02 10:33:05 +08:00
lly
ac76870ad7
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:57 +08:00
lly
a96e1b80ac
ble_mesh: Rework prov pdu length check
2020-06-02 10:17:20 +08:00
Mahavir Jain
3f57aecabd
Merge branch 'bugfix/httpd_lru_purge_v3.3' into 'release/v3.3'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge (v3.3)
See merge request espressif/esp-idf!8834
2020-06-01 11:23:53 +08:00
houwenxiang
eab88f51e7
driver(GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/3.3)
2020-06-01 11:16:07 +08:00
lly
6abdc9e542
ble_mesh: Local model (un)subscribes group address
2020-06-01 09:13:57 +08:00
lly
0ee9227b45
ble_mesh: Define a macro for invalid company id
2020-06-01 09:13:43 +08:00
ronghulin
8f3209b7b7
feature: optimize some wifi API
...
1. optimization esp_wifi_set_max_tx_power description
2. add API esp_wifi_ap_get_sta_aid
2020-05-29 12:02:24 +08:00
zwj
38e98acca1
:add congest direct callback and modify congest evt triger threshold
2020-05-28 12:06:10 +00:00
wangcheng
340e40abbe
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-28 12:06:10 +00:00
wangcheng
ed3a172df7
fix bta_dm_deinit_cb
2020-05-28 12:06:10 +00:00
Jiang Jiang Jian
27f03b4ac0
Merge branch 'bugfix/ble_mesh_check_timer_init_v3.3' into 'release/v3.3'
...
ble_mesh: Check the result of creating timer (v3.3)
See merge request espressif/esp-idf!8960
2020-05-28 15:26:53 +08:00
Jiang Jiang Jian
706d704c08
Merge branch 'nimble/update_nimble_submodule_v3.3' into 'release/v3.3'
...
NimBLE: Include upstream fixes and use macros for log level filtering (backport v3.3)
See merge request espressif/esp-idf!8798
2020-05-28 15:23:31 +08:00
lly
b5f3f79716
ble_mesh: Check the result of creating timer
2020-05-28 10:28:36 +08:00
Island
5f43d69d21
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh sync zephyr fixes (v3.3)
See merge request espressif/esp-idf!8950
2020-05-28 10:17:29 +08:00
Island
a70c956a75
Merge branch 'bugfix/ble_mesh_not_use_same_private_key_v3.3' into 'release/v3.3'
...
ble_mesh: Not using pre-initialized private key (v3.3)
See merge request espressif/esp-idf!8947
2020-05-28 10:15:40 +08:00
Piyush Shah
8890fa98c8
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-27 17:14:12 +00:00
lly
822b20eb40
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:12 +08:00
lly
b381998a23
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:44:58 +08:00
lly
393e4e9007
ble_mesh: Not using pre-initialized private key
2020-05-27 17:38:41 +08:00
lly
4b191ac6fb
ble_mesh: Same func for storing/restoring comp data
2020-05-27 17:32:56 +08:00
Jiang Jiang Jian
221ca4b1e5
Merge branch 'bugfix/fix_some_wifi_bugs_0427_v3.3' into 'release/v3.3'
...
Bugfix/fix some wifi bugs 0427 (v3.3)
See merge request espressif/esp-idf!8573
2020-05-26 18:57:43 +08:00
David Čermák
0a558ea3c4
Merge branch 'bugfix/ws_client_fragmented_send_v3.3' into 'release/v3.3'
...
ws_client: fix fragmented send setting proper opcodes (v3.3)
See merge request espressif/esp-idf!8692
2020-05-25 17:22:02 +08:00
Marius Vikhammer
0829b5c5d5
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-05-25 17:11:23 +08:00