weitianhua
87bf47bd90
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-11 14:31:18 +08:00
Island
9ac8b8739b
Merge branch 'bugfix/ble_mesh_prov_iv_index' into 'master'
...
ble_mesh: stack: Using the latest iv_index for provisioning
See merge request espressif/esp-idf!10074
2020-09-11 10:51:45 +08:00
lly
1037736300
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 00:47:43 +00:00
suren.gabrielyan
a43c06a592
mdns, dns, dhcp, dhcps: update fuzzer test to work in CI
...
Closes: IDF-1861 and IDF-1990
2020-09-10 18:17:30 +00:00
Ivan Grokhotkov
5a8e2c1f52
Merge branch 'bugfix/esp32_light_sleep_duration' into 'master'
...
sleep: fix esp32 light sleep duration
See merge request espressif/esp-idf!10377
2020-09-10 18:08:57 +08:00
Michael (XIAO Xufeng)
1cab54ff8d
Merge branch 'test/esp_flash_performance_thr_s2' into 'master'
...
esp_flash: decrease performance threshold of ESP32-S2
See merge request espressif/esp-idf!10367
2020-09-10 17:56:20 +08:00
Michael (XIAO Xufeng)
37e3f20252
Merge branch 'bugfix/esp_flash_write_temp_buffer_lifetime' into 'master'
...
esp_flash: fix write issue using buffer on stack out of lifetime
See merge request espressif/esp-idf!9932
2020-09-10 17:49:04 +08:00
Jiang Jiang Jian
74e932c73f
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory' into 'master'
...
components/bt: Fix SPP using NULL point with dynamic memory
Closes BT-1024
See merge request espressif/esp-idf!10188
2020-09-10 17:38:53 +08:00
Ivan Grokhotkov
b6467257b9
Merge branch 'feature/cmock_component' into 'master'
...
cmock as component replacing unity
See merge request espressif/esp-idf!9859
2020-09-10 16:06:20 +08:00
Michael (XIAO Xufeng)
baab55e230
esp_flash: decrease performance threshold of ESP32-S2
...
The data is based on 95% of minimal performance value from CI failure in the past 30 days.
2020-09-10 12:25:40 +08:00
Michael (XIAO Xufeng)
233b4720b4
esp_flash: fix write issue using buffer on stack out of lifetime
2020-09-10 03:17:39 +00:00
Ivan Grokhotkov
77afbd51ae
sleep: fix esp32 light sleep duration
...
Commit aa43ed8
was fixing the light sleep overhead calculation for
ESP32-S2. However it also changed the overhead values for ESP32,
resulting in incorrect light sleep time. This caused regression in
light sleep example test.
Revert the original values for the ESP32, keep different set of values
for each chip.
2020-09-09 23:34:54 +02:00
Ivan Grokhotkov
3e6d1804a3
Merge branch 'bugfix/ulp_as_version' into 'master'
...
ulp: fix ULP assembler version detection for localized systems
See merge request espressif/esp-idf!10366
2020-09-10 04:24:51 +08:00
Ivan Grokhotkov
287bfeb7fd
Merge branch 'bugfix/parttool_example_test_fail' into 'master'
...
fix multiple example test failures
Closes IDFCI-39 and IDFCI-124
See merge request espressif/esp-idf!10350
2020-09-10 00:27:07 +08:00
Roland Dobai
edd7c1a2ee
ulp: fix ULP assembler version detection for localized systems
2020-09-09 16:56:15 +02:00
David Čermák
e6f0087448
Merge branch 'bugfix/httpd_ws_sock_type' into 'master'
...
https_server: Added WSS server example and some http(s)+ws updates
Closes IDFGH-3822, IDFGH-3668, IDFGH-3766, and IDFGH-3444
See merge request espressif/esp-idf!10262
2020-09-09 20:57:11 +08:00
David Čermák
13d265e4d3
Merge branch 'bugfix/wifi_create_and_start_ap' into 'master'
...
Set default AP handlers in wifi_create_and_start_ap()
See merge request espressif/esp-idf!10343
2020-09-09 20:51:05 +08:00
Jiang Jiang Jian
b5e9047e47
Merge branch 'bugfix/lightsleep_reslove_crash' into 'master'
...
Fix reboot or crash when enable lightsleep on esp32s2
Closes WIFI-2248
See merge request espressif/esp-idf!10327
2020-09-09 18:39:42 +08:00
Ivan Grokhotkov
26016534d8
bootloader: move rtc_retain_mem functions back into .iram_loader.text
...
Introduced 66a32c17
when bootloader_common was moved out of the loader
section.
Also add a test for this configuration.
2020-09-09 10:35:29 +02:00
David Cermak
6f3fa81863
http_server: Simplified httpd_get_client_list() to return clients in int array
2020-09-09 08:00:20 +02:00
David Cermak
5e1e5f8be9
http_server: Add a flag to enable using control frames in user handlers
2020-09-09 08:00:20 +02:00
David Cermak
fe862f413f
https_server: Fix use of open_fn from application level
...
https-server uses the open_fn() callback and potentially overwrites user defined callback. This commit adds the user defined open_fn() to https-server's context and calls it upon openning a session
2020-09-09 08:00:20 +02:00
David Cermak
fbf2680427
esp_http_server: Add Websocket API to return list of active clients
...
Closes https://github.com/espressif/esp-idf/issues/5406
2020-09-09 08:00:20 +02:00
Ivan Grokhotkov
5db977c512
Merge branch 'bugfix/cxx_flag_operators' into 'master'
...
esp_eth: moved extern "C" after includes
See merge request espressif/esp-idf!10345
2020-09-08 23:42:55 +08:00
Ivan Grokhotkov
fa8e0438b4
Merge branch 'bugfix/deepsleep_flush_uarts_correct' into 'master'
...
esp32s2/soc: Fix periph_ll_periph_enabled
See merge request espressif/esp-idf!10083
2020-09-08 23:21:43 +08:00
Jakob Hasse
f7f46905ec
esp_eth: moved extern "C" after includes
2020-09-08 17:44:57 +08:00
Hrishikesh Dhayagude
edb8b91efc
Set default AP handlers in wifi_create_and_start_ap()
2020-09-08 11:36:07 +05:30
lly
8a3ccd855f
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-09-08 00:47:42 +00:00
Ivan Grokhotkov
3a51584fbb
Merge branch 'bugfix/uart_read_o2' into 'master'
...
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
Closes IDFCI-97
See merge request espressif/esp-idf!10263
2020-09-08 00:01:48 +08:00
Island
122874bf86
Merge branch 'bugfix/ble_mesh_remove_assert' into 'master'
...
ble_mesh: stack: Avoid unnecessary assert in mesh stack
See merge request espressif/esp-idf!10118
2020-09-07 21:45:27 +08:00
Anton Maklakov
2b7e02c9ed
Merge branch 'revert-983220e2' into 'master'
...
ci: enable RS485 related tests again
See merge request espressif/esp-idf!10277
2020-09-07 20:47:04 +08:00
KonstantinKondrashov
0319eb5984
esp32s2/soc: Fix periph_ll_periph_enabled
...
Logs, before to go the deepsleep, were not completely flushed.
2020-09-07 08:32:18 +00:00
baohongde
898baf20f8
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:41:30 +08:00
ninh
aa43ed8bb8
fix reboot or crash when enable lightsleep on esp32s2
2020-09-07 15:38:00 +08:00
David Čermák
8ff8a05334
Merge branch 'bugfix/switch_icmp_unit_test_from_baidu_to_taobao' into 'master'
...
unit_test: increase icmp unit test timeout configuration
See merge request espressif/esp-idf!10284
2020-09-07 14:54:01 +08:00
Jiang Jiang Jian
472c40f84e
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd' into 'master'
...
Bugfix/l2cap link timeout llcp prog btu wtd
Closes BT-941 and BT-973
See merge request espressif/esp-idf!10119
2020-09-07 14:10:46 +08:00
morris
31aa16bbe6
unit_test: switch icmp test server to taobao
2020-09-06 09:42:44 +08:00
Jiang Jiang Jian
b89d1a47f0
Merge branch 'bugfix/change_pcm_config_position' into 'master'
...
bugfix/ Change PCM config to the right position
See merge request espressif/esp-idf!10185
2020-09-05 13:48:04 +08:00
Mahavir Jain
228adfa6b1
Merge branch 'feature/ota_incremental_erase_during_write' into 'master'
...
Feature/ota incremental erase during write
See merge request espressif/esp-idf!9726
2020-09-04 20:00:07 +08:00
David Čermák
ddd8ca6671
Merge branch 'bugfix/fix_transport_ssl_blocking' into 'master'
...
transport: fix transport ssl blocking
See merge request espressif/esp-idf!10120
2020-09-04 17:47:14 +08:00
wangcheng
d635320871
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:21:40 +08:00
Mahavir Jain
70ddae41a8
Merge branch 'bugfix/empty_algorithm_header' into 'master'
...
esp_http_client: Adds http_auth empty algorithm header check
Closes IDFGH-3569
See merge request espressif/esp-idf!10047
2020-09-04 16:03:24 +08:00
Mahavir Jain
33d0024034
esp_https_ota: change erase to incremental during flash write
2020-09-04 12:05:06 +05:30
Peter Hoddie
3a768f51c3
app_update: add support for incremental flash erase
...
This patch modifies the OTA implementation to incremental erase flash sectors
as they are written, rather than bulk erasing them all at once when OTA begins.
This solves several problems:
- The bulk flash erase can take so long that it triggers the watchdog timer.
Disabling the watchdog is an undesirable risk.
- The bulk erase interferes with the responsiveness of the system to user input.
- Incremental erasing eliminates the need to pass the firmware image size to
esp_ota_begin to avoid erasing more flash sectors than required.
- When installing an OTA received via HTTP, the size of the firmware image is
known when the content-length header is received. Calling esp_ota_begin at that
time causes a long delay to do the bulk erase which causes the TCP transfer
speed to be measurably slowed when the transfer resumes after the erase.
Incremental erasing eliminates this TCP slowdown.
Update:
Rework so erase optimization is only applied when image_size is set to
OTA_WITH_SEQUENTIAL_WRITES #5246
Merges https://github.com/espressif/esp-idf/pull/5246
2020-09-04 12:05:02 +05:30
Ivan Grokhotkov
9d3add538b
Merge branch 'feature/toolchain_2020r3' into 'master'
...
Update toolchain to esp-2020r3
See merge request espressif/esp-idf!10250
2020-09-04 14:07:24 +08:00
David Čermák
fdd40b0d9e
Merge branch 'bugfix/slip_ipv6_fix' into 'master'
...
esp-netif: Fix SLIP interface to start with correct IPv6 addr
Closes IDFGH-2952
See merge request espressif/esp-idf!10116
2020-09-04 13:55:32 +08:00
Michael (XIAO Xufeng)
4941cf58d0
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2020-09-04 12:57:08 +08:00
Mahavir Jain
cec605f74d
Merge branch 'bugfix/espcommon_reqs_cmake' into 'master'
...
esp_common: Add required missing components to CMakelists
Closes IDFGH-3373
See merge request espressif/esp-idf!10122
2020-09-04 12:54:47 +08:00
Ivan Grokhotkov
ab0fc70104
Merge branch 'feature/check_section_references' into 'master'
...
ci: add script to check section references
See merge request espressif/esp-idf!9513
2020-09-04 06:19:13 +08:00
David Cermak
d3801be6d9
esp_http_server: Add httpd_ws_get_fd_info() API to check active WS clients
...
Added a new API to WebSocket server to test provided socket descriptor if it belongs to active clients for this server and if websocket handshake has been performed
Closes https://github.com/espressif/esp-idf/issues/5602
2020-09-03 20:40:11 +02:00