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
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
2f22a43a5d
http_server example test: Simplify client code in the test to use ws package
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
76ca826758
https_server example: Add new WSS server example
...
Added a new https server example with WS support which runs
* keep-alive thread to send PINGs to clients
* async message to all active WS clients
Moved the existing https-server example to a subfolder
Closes https://github.com/espressif/esp-idf/issues/5733
Closes https://github.com/espressif/esp-idf/issues/5686
2020-09-09 08:00:38 +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
Island
c7b699868f
Merge branch 'bugfix/ble_mesh_nimble_ccc_handle' into 'master'
...
ble_mesh: nimble: Fix updating ccc handle with wrong value
See merge request espressif/esp-idf!10095
2020-09-08 19:56:13 +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
Krzysztof Budzynski
ba55320e1e
Merge branch 'bugfix/doc_main_readme_build' into 'master'
...
Fix the setup instructions in the main README
See merge request espressif/esp-idf!10285
2020-09-08 02:14:01 +08: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
Roland Dobai
23eadafd38
Fix the setup instructions in the main README
2020-09-07 16:06:05 +02: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
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
Island
4e27fbc99a
Merge branch 'bugfix/ble_mesh_sensor_example_fix' into 'master'
...
ble_mesh: example: Fix sensor data wrong iteration
Closes BMCI-112
See merge request espressif/esp-idf!10272
2020-09-04 16:54:26 +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
lly
01617303dd
ble_mesh: example: Fix sensor data wrong iteration
2020-09-04 11:44:59 +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
David Cermak
5dae28069f
esp-netif: Fix SLIP interface to start with correct IPv6 addr
...
Merges https://github.com/espressif/esp-idf/pull/4985
2020-09-03 18:11:09 +00:00
Ivan Grokhotkov
52d935615c
Merge branch 'bugfix/window_spill_a0_corruption' into 'master'
...
freertos: don't clobber a4 while spilling register windows
Closes IDFGH-3852 and IDF-1935
See merge request espressif/esp-idf!10252
2020-09-04 00:23:43 +08:00
Ivan Grokhotkov
7a9d2c3fb4
bootloader: fix section placement of wdt_hal
...
Regression from moving HAL and LL code into the new "hal" component.
2020-09-03 18:14:17 +02:00
Ivan Grokhotkov
66a32c1707
bootloader: fix section placement issues found by the check script
...
Summary of changes:
- bootloader_clock split into *_clock_init and *_clock_loader.
Only esp_clk_apb_freq is in *_clock_loader.
- bootloader_common moved out of loader; functions needed in loader
(or, referenced from bootloader_utility) were moved into
bootloader_common_loader.c.
- assert and abort moved into bootloader_panic, made part of the
loader
- rtc_clk and rtc_time made part of loader
2020-09-03 18:14:17 +02:00
Ivan Grokhotkov
52607063cb
ci: add script to check section references
2020-09-03 18:14:17 +02:00
Ivan Grokhotkov
6beefff725
Merge branch 'ci/not_show_error_when_checkout_ref' into 'master'
...
CI: Not showing stdout nor stderr when checkout ref
See merge request espressif/esp-idf!10258
2020-09-03 23:45:07 +08:00
Michael (XIAO Xufeng)
91af5eaf4f
Merge branch 'refactor/twai_hal_state' into 'master'
...
Refactor TWAI HAL to store state information
Closes IDF-1633
See merge request espressif/esp-idf!9789
2020-09-03 23:22:30 +08:00
Ivan Grokhotkov
277a902dec
Merge branch 'bugfix/docker_gdb_python' into 'master'
...
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies (Github PR)
See merge request espressif/esp-idf!10257
2020-09-03 20:35:56 +08:00
Ivan Grokhotkov
c3008e8ae1
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
2020-09-03 12:13:11 +02:00
Ivan Grokhotkov
390a90ff7f
Merge branch 'feature/codeowners' into 'master'
...
add initial CODEOWNERS file
Closes IDF-308
See merge request espressif/esp-idf!9928
2020-09-03 17:54:31 +08:00