Anurag Kar
639502ed5d
esp_http_server example tests : updated advanced_tests as per API changes
2018-11-19 04:00:21 +00:00
Anurag Kar
aa6066a197
esp_https_server : Docs and API references fixed
2018-11-19 04:00:21 +00:00
Ondřej Hruška
4dd0fa61e9
Add a 'esp_https_server' component allowing to use http_server with OpenSSL
2018-11-19 04:00:21 +00:00
Ondřej Hruška
a10fc02dd9
esp_http_server improvements to allow adding transport layer encryption
...
Changes:
- renamed `httpd_free_sess_ctx_fn_t` to `httpd_free_ctx_fn_t`
- added a `httpd_handle_t` argument to `httpd_send_func_t` and `httpd_recv_func_t`
- internal function `httpd_sess_get()` is no longer static, as it's used in other
files besides httpd_sess.c
Bug fixes:
- removed a trailing semicolon from `HTTPD_DEFAULT_CONFIG()`
- fixed issue with failed `select()`, now it automatically closes invalid sockets
instead of shutting down the entire server
New features:
- `httpd_resp_send()` and `httpd_resp_send_chunk()` now accept -1 as length to use
`strlen()` internally
- added `httpd_sess_set_ctx()` to accompany `httpd_sess_get_ctx()`
- added a "transport context" to the session structure (next to user context)
- added `httpd_sess_{get,set}_transport_ctx()` to work with this transport context
- added "global user context" and "global transport context" stored in the server
config (and then the handle); supports a user-provided free_fn
- added a "pending func" to e.g. check for data in the transport layer receive
buffer
- added functions `httpd_set_sess_{send,recv,pending}_override()` that target
a session by ID (i.e. not using a request object)
- added `httpd_set_pending_override()`
- added a "open_fn" and "close_fn" - functions called when creating and closing
a session. These may be used to set up transport layer encryption or some other
session-wide feature
2018-11-19 04:00:21 +00:00
Jiang Jiang Jian
26bcb7f2cf
Merge branch 'bugfix/wifi_sta_sniffer_phy_config_bug' into 'master'
...
wifi: fix wifi sta and sniffer phy config bug
See merge request idf/esp-idf!3566
2018-11-19 10:11:23 +08:00
Ivan Grokhotkov
960c240578
Merge branch 'bugfix/cmake_ut_parsing' into 'master'
...
cmake: fix for parsing unit test config
See merge request idf/esp-idf!3696
2018-11-16 22:11:14 +08:00
Ivan Grokhotkov
8c9407f22f
Merge branch 'bugfix/fat_lock_log' into 'master'
...
fatfs: Do not log from critical sections
See merge request idf/esp-idf!3683
2018-11-16 21:29:56 +08:00
Renz Christian Bagaporo
364f98b67e
cmake: fix for parsing unit test config
2018-11-16 12:00:39 +00:00
Ivan Grokhotkov
96f152341a
esp_timer: improve unit test robustness
...
1. call esp_timer_get_time and ref_clock_get in the same order on
start and in the loop
2. disable interrupts when calculating delta between ref_clock
and esp_timer
3. ensure both functions are in cache before calculating the delta
2018-11-16 12:00:39 +00:00
Ivan Grokhotkov
0db8c2e618
Merge branch 'feature/ut_filter_test_groups' into 'master'
...
unit test: allow filtering tests using TEST_GROUPS
See merge request idf/esp-idf!3695
2018-11-16 19:31:47 +08:00
Ivan Grokhotkov
a55d350f43
Merge branch 'bugfix/adjtime_test2' into 'master'
...
Resolve ""test for thread safety adjtime and gettimeofday functions" fails randomly"
Closes #37
See merge request idf/esp-idf!3657
2018-11-16 19:21:45 +08:00
Roland Dobai
ad2cdeb476
fatfs: Do not log from critical sections
...
Logging in the critical section can result in a deadlock when the logger
is redirected to FATFS.
Closes https://github.com/espressif/esp-idf/issues/1693
2018-11-16 11:19:01 +00:00
zhangyanjiao
8be8ea2488
wifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the same time,
...
when disable sniffer, station will never enable phy and rf again.
Closes: https://github.com/espressif/esp-idf/issues/2545
2018-11-16 11:16:37 +00:00
Jiang Jiang Jian
6fa2f388ef
Merge branch 'bugfix/btdm_controller_disable' into 'master'
...
Fix two bugs when disable bluetooth controller
See merge request idf/esp-idf!3692
2018-11-16 17:10:37 +08:00
Ivan Grokhotkov
43936ab48a
Merge branch 'bugfix/mdns_query_failed_after_init' into 'master'
...
Fixed: mdns query failed after init
See merge request idf/esp-idf!3480
2018-11-16 16:37:11 +08:00
David Cermak
6309643c1d
mdns: added example test for ci runners
2018-11-16 07:22:29 +00:00
David Cermak
d16762a036
mdns: sending search packets also in probing and announcing state
...
mdns queries did not work properly when send imeadiately after set_hostname, which cuased reinit of pcb and therefore restarted probing, so search packets were blocked until probing finished
closes #2507 , closes #2593
2018-11-16 07:22:29 +00:00
Angus Gratton
f2de7602e3
Merge branch 'feature/docs_wireshark_trubleshooting_guide' into 'master'
...
Added wireshark instruction to provide a common workflow for users submitting diagnostic data for Wi-Fi troubleshooting
See merge request idf/esp-idf!3497
2018-11-16 14:44:58 +08:00
Krzysztof Budzynski
6fbc3c4361
Added wireshark instruction to provide a common workflow for users submitting diagnostic data for Wi-Fi troubleshooting
2018-11-16 14:44:58 +08:00
Konstantin Kondrashov
b00be955ee
newlib: Fix UT adjtime
2018-11-16 04:11:55 +00:00
Angus Gratton
b6d7c70238
Merge branch 'doc/console_zh_CN' into 'master'
...
doc/console: translate console.rst into zh_CN
See merge request idf/esp-idf!3320
2018-11-16 11:21:16 +08:00
Tian Hao
9c9aa4ea4c
Fix two bugs when disable bluetooth controller
...
1. Fix the bug that disable controller suddenly cause crash when ble is working. (585cfba1)
2. Fix the bug that when disable controller, it will cause wifi cannot RX, TX timeout, buffer lack and etc. (f8546145)
2018-11-16 02:42:38 +00:00
Ivan Grokhotkov
7b86247428
unit-test: use TEST_GROUPS to filter tests for psram_vspi and psram_hspi
2018-11-15 12:27:05 +00:00
Ivan Grokhotkov
09e4321e97
unit test: allow filtering tests for configs using TEST_GROUPS
2018-11-15 12:27:05 +00:00
Ivan Grokhotkov
fb56ce7d5c
Merge branch 'feature/core_dump_crc' into 'master'
...
Core Dump CRC
See merge request idf/esp-idf!1290
2018-11-15 15:05:43 +08:00
Alexey Gerenkov
78a7a152d1
esp32: Fixes freezing core dump process when flash write address checks are enabled
2018-11-15 06:13:48 +00:00
Alexey Gerenkov
b152c1020c
esp32: Adds logging level to core dump script
2018-11-15 06:13:48 +00:00
Alexey Gerenkov
76e02cadcc
esp32: Adds support for core dump format version
2018-11-15 06:13:48 +00:00
Alexey Gerenkov
181a40ae30
esp32: Adds menuconfig option for max tasks number in core dump
2018-11-15 06:13:48 +00:00
Alexey Gerenkov
30e766ee6b
esp32: Core dump API to retrieve current core data layout in flash
2018-11-15 06:13:48 +00:00
Alexey Gerenkov
a55cc99f50
esp32: Replaces magic numbers with CRC for core dump in flash
2018-11-15 06:13:48 +00:00
Ivan Grokhotkov
8b5f61eb35
Merge branch 'bugfix/ethernet_fail_twice_init' into 'master'
...
fix bug of multi-call failure in esp_eth_init
See merge request idf/esp-idf!3673
2018-11-15 12:35:55 +08:00
Jiang Jiang Jian
bbdcff1f45
Merge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash' into 'master'
...
fix the crash bug caused by sys_mbox_free
See merge request idf/esp-idf!3654
2018-11-15 10:31:35 +08:00
Anton Maklakov
e677bdf5c9
Merge branch 'bugfix/app_template_build' into 'master'
...
esp-idf-template app: some fixes for the updated template app
See merge request idf/esp-idf!3698
2018-11-15 09:51:00 +08:00
Mahavir Jain
79043882d9
tools: fix cmake build script for sdkconfig test
2018-11-14 22:50:12 +08:00
Anton Maklakov
8e1c91ac7d
cmake: fix the creation dummy main to avoid rebuilding
2018-11-14 22:39:54 +08:00
Anton Maklakov
fe5b2c56a4
ci: If there is no sdkconfig, we have to generate one
2018-11-14 19:46:03 +08:00
Ivan Grokhotkov
f1949a59b6
Merge branch 'bugfix/readdir_ut_timeout' into 'master'
...
spiffs: increase timeout in readdir test
Closes #41
See merge request idf/esp-idf!3687
2018-11-13 22:54:21 +08:00
morris
eec6de57ff
ethernet: multi-call failure in esp_eth_init
...
Because of incomplete state machine, ethernet driver will broken if esp_eth_init is called twice.
Detailed information here: https://ezredmine.espressif.cn:8765/issues/27332
2018-11-13 16:38:45 +08:00
Ivan Grokhotkov
bd34ae0409
Merge branch 'bugfix/ethernet_memory_leak' into 'master'
...
fix potential memory leak in ethernet driver
See merge request idf/esp-idf!3646
2018-11-13 15:53:47 +08:00
Ivan Grokhotkov
356fe47ce1
spiffs: increase timeout in readdir test
...
Timeout of 15 seconds is not sufficient if SPIFFS partition needs to
be formatted, on some of the boards.
2018-11-13 11:41:19 +08:00
morris
5fccb73f86
ethernetif: fix potential memory leak
...
1. If L2_TO_L3_RX_BUF_MODE is not selected, we must assign l2_owner explictly before we call pbuf_free.
2. free intr resource in esp_eth_deinit
Closes https://github.com/espressif/esp-idf/issues/2670
2018-11-13 10:11:48 +08:00
Angus Gratton
beada90b06
Merge branch 'bugfix/cmake_utf_decode' into 'master'
...
tools: Fix Unicode decode error & indentation error
See merge request idf/esp-idf!3669
2018-11-13 09:54:28 +08:00
Jiang Jiang Jian
ef4a87d62e
Merge branch 'bugfix/http_literal_caseinsensitive' into 'master'
...
Compare case-insensitive URI schemes
See merge request idf/esp-idf!3558
2018-11-12 17:03:06 +08:00
Ivan Grokhotkov
7efb3926c5
Merge branch 'feature/build_system_multi_target' into 'master'
...
build system: support for multiple targets (CMake only)
See merge request idf/esp-idf!3499
2018-11-12 15:30:36 +08:00
Jiang Jiang Jian
c7fb749b84
Merge branch 'bugfix/btdm_fix_memory_leak_in_v3.2' into 'master'
...
Component/bt: fix memory leak in service change char
See merge request idf/esp-idf!3631
2018-11-12 11:27:00 +08:00
Jiang Jiang Jian
ccb3841a9e
Merge branch 'feature/btdm_add_vendor_hci_cmd' into 'master'
...
component/bt: add vendor hci cmd
See merge request idf/esp-idf!3577
2018-11-12 11:26:35 +08:00
Angus Gratton
1e99e61c33
Merge branch 'bugfix/uart_examples_match_template' into 'master'
...
examples: Fix UART examples to match the template
See merge request idf/esp-idf!3642
2018-11-12 09:19:14 +08:00
Angus Gratton
521fb5d906
Merge branch 'feature/update_board_guides_for_headers' into 'master'
...
Feature/update board guides for headers
See merge request idf/esp-idf!3590
2018-11-12 09:15:29 +08:00
Natasha
be0123e10e
Feature/update board guides for headers
2018-11-12 09:15:29 +08:00