]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoFix "undefined variable which git" warning when submodules not initialized
Angus Gratton [Mon, 14 May 2018 08:07:27 +0000 (16:07 +0800)]
Fix "undefined variable which git" warning when submodules not initialized

6 years agombedtls: Add mbedtls submodule check to build system
Angus Gratton [Mon, 14 May 2018 08:07:18 +0000 (16:07 +0800)]
mbedtls: Add mbedtls submodule check to build system

6 years agoMerge branch 'bugfix/bluedroid_const_char' into 'master'
Jiang Jiang Jian [Mon, 14 May 2018 07:25:45 +0000 (15:25 +0800)]
Merge branch 'bugfix/bluedroid_const_char' into 'master'

Bluedroid: remove warnings about discarding "const" for "const char*"

See merge request idf/esp-idf!2387

6 years agoMerge branch 'test/add_unit_test_jobs' into 'master'
He Yin Ling [Mon, 14 May 2018 06:06:05 +0000 (14:06 +0800)]
Merge branch 'test/add_unit_test_jobs' into 'master'

ci: increase number of unit test jobs, temporarily disable light sleep test for short durations

See merge request idf/esp-idf!2386

6 years agoMerge branch 'bugfix/ledc_error' into 'master'
Angus Gratton [Mon, 14 May 2018 01:16:02 +0000 (09:16 +0800)]
Merge branch 'bugfix/ledc_error' into 'master'

ledc driver: Clarify logging of function argument errors

See merge request idf/esp-idf!2380

6 years agoMerge branch 'feature/mbedtls_2_9_0' into 'master'
Angus Gratton [Mon, 14 May 2018 01:15:44 +0000 (09:15 +0800)]
Merge branch 'feature/mbedtls_2_9_0' into 'master'

Re-add mbedTLS as a submodule, update to 2.9.0

See merge request idf/esp-idf!2367

6 years agoMerge branch 'bugfix/add_comments_for_adc' into 'master'
Angus Gratton [Fri, 11 May 2018 10:54:40 +0000 (18:54 +0800)]
Merge branch 'bugfix/add_comments_for_adc' into 'master'

driver(adc): Add descriptions that starting ADC can trigger interrupt of GPIO36…

See merge request idf/esp-idf!1910

6 years agoesp32/test: temporarily disable test for light sleep duration
Ivan Grokhotkov [Fri, 11 May 2018 10:14:13 +0000 (18:14 +0800)]
esp32/test: temporarily disable test for light sleep duration

Until the issue in CI is debugged

6 years agoMerge branch 'bugfix/vfs_append' into 'master'
Angus Gratton [Fri, 11 May 2018 10:12:47 +0000 (18:12 +0800)]
Merge branch 'bugfix/vfs_append' into 'master'

VFS: use O_APPEND flag of open() correctly

See merge request idf/esp-idf!2382

6 years agoBluedroid: remove warnings about discarding "const" for "const char*"
Roland Dobai [Fri, 11 May 2018 09:08:58 +0000 (11:08 +0200)]
Bluedroid: remove warnings about discarding "const" for "const char*"

6 years agodriver(adc): add descriptions for the issue that starting ADC can trigger interrupt...
kooho [Mon, 5 Feb 2018 13:51:32 +0000 (21:51 +0800)]
driver(adc): add descriptions for the issue that starting ADC can trigger interrupt of GPIO36 and GPIO39.

6 years agoci: increase number of unit test jobs
Ivan Grokhotkov [Fri, 11 May 2018 08:42:52 +0000 (16:42 +0800)]
ci: increase number of unit test jobs

6 years agoMerge branch 'feature/wifi_refactor_smartconfig' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 08:23:22 +0000 (16:23 +0800)]
Merge branch 'feature/wifi_refactor_smartconfig' into 'master'

refactor smartconfig

See merge request idf/esp-idf!2205

6 years agoMerge branch 'bugfix/i2s_dma_buf_alloc' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 08:03:40 +0000 (16:03 +0800)]
Merge branch 'bugfix/i2s_dma_buf_alloc' into 'master'

i2s: fix issue in dma descriptor allocation if SPIRAM is enabled

See merge request idf/esp-idf!2383

6 years agoMerge branch 'bugfix/upate_ble_a2dsink_example' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 07:59:14 +0000 (15:59 +0800)]
Merge branch 'bugfix/upate_ble_a2dsink_example' into 'master'

example(ble):  Update ble a2d_sink example

See merge request idf/esp-idf!2105

6 years agoMerge branch 'bugfix/dhcp_server_max_limit' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 07:50:38 +0000 (15:50 +0800)]
Merge branch 'bugfix/dhcp_server_max_limit' into 'master'

dhcp/dhcpserver Fix max station limit check in dhcp server

See merge request idf/esp-idf!2298

6 years agoMerge branch 'bugfix/btdm_conn_fail_after_deinit_and_init_spp' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 07:38:03 +0000 (15:38 +0800)]
Merge branch 'bugfix/btdm_conn_fail_after_deinit_and_init_spp' into 'master'

component/bt: Fix can't be connected if init SPP again after SPP deinit

See merge request idf/esp-idf!2369

6 years agoMerge branch 'bugfix/btdm_fix_service_change_write_busy' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 07:20:04 +0000 (15:20 +0800)]
Merge branch 'bugfix/btdm_fix_service_change_write_busy' into 'master'

Component/bt: fix service change write busy

See merge request idf/esp-idf!2359

6 years agoMerge branch 'bugfix/btdm_a2dp_disconn_state_when_connecting_with_iphone' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 06:59:34 +0000 (14:59 +0800)]
Merge branch 'bugfix/btdm_a2dp_disconn_state_when_connecting_with_iphone' into 'master'

component/bt: Fix bug a2dp have disconnect state when connecting with iphone 7

See merge request idf/esp-idf!2288

6 years agoMerge branch 'bugfix/light_sleep_wdt_fix' into 'master'
Ivan Grokhotkov [Fri, 11 May 2018 06:55:51 +0000 (14:55 +0800)]
Merge branch 'bugfix/light_sleep_wdt_fix' into 'master'

Fix occasional WDT reset in light sleep test

See merge request idf/esp-idf!2374

6 years agorefactor smartconfig
XiaXiaotian [Mon, 9 Apr 2018 06:29:53 +0000 (14:29 +0800)]
refactor smartconfig

    move wifi part to wifi lib and lwip part to idf

6 years agoVFS: use O_APPEND flag of open() correctly
Roland Dobai [Thu, 10 May 2018 12:26:47 +0000 (14:26 +0200)]
VFS: use O_APPEND flag of open() correctly

Closes https://github.com/espressif/esp-idf/pull/1455

6 years agoMerge branch 'bugfix/tw18980_fix_some_potential_thread_safe_issue' into 'master'
Jiang Jiang Jian [Fri, 11 May 2018 02:25:58 +0000 (10:25 +0800)]
Merge branch 'bugfix/tw18980_fix_some_potential_thread_safe_issue' into 'master'

wifi: fix some potential thread safe issue

See merge request idf/esp-idf!2366

6 years agoi2s: fix issue in dma descriptor allocation if SPIRAM is enabled
Mahavir Jain [Thu, 10 May 2018 12:30:11 +0000 (18:00 +0530)]
i2s: fix issue in dma descriptor allocation if SPIRAM is enabled

It has been observed that, if external SPIRAM is enabled, then under
certain scenarios (e.g. internal memory being too much fragmented),
I2S tx/rx descriptors can land in external SPIRAM and hence resulting
in failure in DMA. Adding explicit capability to allocate in only DMA
capable memory.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoledc driver: Clarify logging of function argument errors
Angus Gratton [Thu, 10 May 2018 09:18:17 +0000 (17:18 +0800)]
ledc driver: Clarify logging of function argument errors

Some parameter errors did not specify which parameter was invalid.

Adds a new macro to name the invalid param.

6 years agowifi: fix some potential thread safe issue
zhangyanjiao [Thu, 10 May 2018 08:22:43 +0000 (16:22 +0800)]
wifi: fix some potential thread safe issue

change some API function to throw event:

esp_wifi_deauth_sta
esp_wifi_get_country
esp_wifi_ap_get_sta_list
esp_wifi_sta_get_ap_info
esp_wifi_stop
esp_wifi_get_channel
esp_wifi_get_protocol
esp_wifi_get_bandwidth

6 years agocomponent/bt: Fix can't be connected if init SPP again after SPP deinit
baohongde [Thu, 10 May 2018 08:16:25 +0000 (16:16 +0800)]
component/bt: Fix can't be connected if init SPP again after SPP deinit

6 years agoMerge branch 'feature/vfs_small_fds' into 'master'
Ivan Grokhotkov [Thu, 10 May 2018 06:29:34 +0000 (14:29 +0800)]
Merge branch 'feature/vfs_small_fds' into 'master'

Use smaller numbers as file descriptors

See merge request idf/esp-idf!2300

6 years agoci: add extra UT test job
Ivan Grokhotkov [Fri, 4 May 2018 07:53:59 +0000 (15:53 +0800)]
ci: add extra UT test job

6 years agombedtls: enable deprecation warnings when building unit tests
Ivan Grokhotkov [Tue, 8 May 2018 15:51:23 +0000 (23:51 +0800)]
mbedtls: enable deprecation warnings when building unit tests

6 years agombedtls: update usage of mbedtls_aes_encrypt/decrypt
Ivan Grokhotkov [Tue, 8 May 2018 15:50:22 +0000 (23:50 +0800)]
mbedtls: update usage of mbedtls_aes_encrypt/decrypt

6 years agombedtls/port: don’t re-declare mbedtls_shaX functions
Ivan Grokhotkov [Tue, 8 May 2018 15:22:57 +0000 (23:22 +0800)]
mbedtls/port: don’t re-declare mbedtls_shaX functions

ALT header files for sha1, sha256, sha512 are only supposed to declare
mbedtls_sha1_context data structure. Function prototypes should come
from original header files.

6 years agombedtls: update usage of deprecated mbedtls_shaX APIs
Ivan Grokhotkov [Tue, 8 May 2018 15:21:01 +0000 (23:21 +0800)]
mbedtls: update usage of deprecated mbedtls_shaX APIs

The following mbedTLS APIs have been deprecated and replaced with the
new ones which return error codes:

mbedtls_shaX_starts -> mbedtls_shaX_starts_ret
mbedtls_shaX_update -> mbedtls_shaX_update_ret
mbedtls_shaX_finish -> mbedtls_shaX_finish_ret
mbedtls_shaX_process -> mbedtls_shaX_internal_process

Update hardware implementations of SHA functions, and other IDF
components which used above functions, to use new versions.

6 years agombedtls: re-add version 2.9.0 as a submodule
Ivan Grokhotkov [Tue, 8 May 2018 13:45:10 +0000 (21:45 +0800)]
mbedtls: re-add version 2.9.0 as a submodule

6 years agosleep: fix deadlock in esp_timer_impl_advance after light sleep
Ivan Grokhotkov [Fri, 4 May 2018 04:50:39 +0000 (12:50 +0800)]
sleep: fix deadlock in esp_timer_impl_advance after light sleep

When light sleep is started, the other CPU gets halted using DPORT
stall mechanism. This can happen while it is inside an esp_timer
critical section, which may lead to a deadlock. This change adds
functions to take and release esp_timer lock before entering
DPORT critical section, preventing the deadlock.

6 years agoesp_timer: fix esp_timer_impl_advance not triggering expired timers
Ivan Grokhotkov [Thu, 3 May 2018 16:57:24 +0000 (00:57 +0800)]
esp_timer: fix esp_timer_impl_advance not triggering expired timers

6 years agoComponent/bt: fix service change write busy
zhiweijian [Fri, 4 May 2018 13:11:13 +0000 (21:11 +0800)]
Component/bt: fix service change write busy

6 years agoMerge branch 'feature/put_supplicant_source_code_from_VNC_to_IDF' into 'master'
Jiang Jiang Jian [Wed, 9 May 2018 07:19:37 +0000 (15:19 +0800)]
Merge branch 'feature/put_supplicant_source_code_from_VNC_to_IDF' into 'master'

wpa_supplicant: move part of codes to IDF

See merge request idf/esp-idf!2272

6 years agowpa_supplicant:move part of codes to IDF
Deng Xin [Fri, 20 Apr 2018 03:33:04 +0000 (11:33 +0800)]
wpa_supplicant:move part of codes to IDF

6 years agoMerge branch 'bugfix/uart_fix_get_baudrate_error_bug' into 'master'
Ivan Grokhotkov [Tue, 8 May 2018 12:25:13 +0000 (20:25 +0800)]
Merge branch 'bugfix/uart_fix_get_baudrate_error_bug' into 'master'

driver(uart):   Fix uart_get_baudrate incorrect return value when using ref_tick

See merge request idf/esp-idf!2295

6 years agoMerge branch 'feature/psram_configure_in_runtime' into 'master'
Angus Gratton [Tue, 8 May 2018 07:23:47 +0000 (15:23 +0800)]
Merge branch 'feature/psram_configure_in_runtime' into 'master'

feature(psram): update psram and flash SPI frequency in runtime

See merge request idf/esp-idf!1776

6 years agoMerge branch 'bugfix/optimize_coexist_performance' into 'master'
Jiang Jiang Jian [Tue, 8 May 2018 03:11:03 +0000 (11:11 +0800)]
Merge branch 'bugfix/optimize_coexist_performance' into 'master'

component/esp32 : improve wifi and bluetooth coexistence performance

See merge request idf/esp-idf!2349

6 years agocomponent/esp32 : improve wifi and bluetooth coexistence performance
Tian Hao [Sat, 5 May 2018 04:50:13 +0000 (12:50 +0800)]
component/esp32 : improve wifi and bluetooth coexistence performance

1. update coexistence and wifi libraries. Coexist version update to
v0.9.2
2. Cancel the restriction of use AMPDU when SW_COEXIST_ENABLE is y.

6 years agoMerge branch 'bugfix/docs_nvs_example_link' into 'master'
Ivan Grokhotkov [Mon, 7 May 2018 09:13:07 +0000 (17:13 +0800)]
Merge branch 'bugfix/docs_nvs_example_link' into 'master'

docs: Fix broken link in nvs examples

See merge request idf/esp-idf!2360

6 years agoMerge branch 'bugfix/update_emac_h' into 'master'
Jiang Jiang Jian [Mon, 7 May 2018 08:16:52 +0000 (16:16 +0800)]
Merge branch 'bugfix/update_emac_h' into 'master'

update emac_reg_v2.h

See merge request idf/esp-idf!2050

6 years agodocs: Fix broken link in nvs and jtag example
Anuj Deshpande [Mon, 7 May 2018 06:54:20 +0000 (12:24 +0530)]
docs: Fix broken link in nvs and jtag example

- Closes https://github.com/espressif/esp-idf/issues/1922

6 years agobluedroid: use the new socket registering API
Roland Dobai [Mon, 7 May 2018 07:01:56 +0000 (09:01 +0200)]
bluedroid: use the new socket registering API

6 years agoVFS: Use smaller numbers as file descriptors
Roland Dobai [Mon, 7 May 2018 07:01:56 +0000 (09:01 +0200)]
VFS: Use smaller numbers as file descriptors

6 years agoMerge branch 'doc/spi_master_thread_safety' into 'master'
Angus Gratton [Mon, 7 May 2018 06:49:41 +0000 (14:49 +0800)]
Merge branch 'doc/spi_master_thread_safety' into 'master'

driver: Add notes to SPI driver docs about thread safety

See merge request idf/esp-idf!2354

6 years agoMerge branch 'bugfix/fix_two_wifi_bugs' into 'master'
Jiang Jiang Jian [Mon, 7 May 2018 06:00:24 +0000 (14:00 +0800)]
Merge branch 'bugfix/fix_two_wifi_bugs' into 'master'

esp32: fix two wifi bugs

See merge request idf/esp-idf!2352

6 years agoMerge branch 'bugfix/mdns_print_results' into 'master'
Ivan Grokhotkov [Mon, 7 May 2018 05:50:52 +0000 (13:50 +0800)]
Merge branch 'bugfix/mdns_print_results' into 'master'

mdns: fix potential NULL pointer dereference in mdns_print_results

See merge request idf/esp-idf!2353

6 years agoMerge branch 'bugfix/nvs_page_compaction' into 'master'
Ivan Grokhotkov [Mon, 7 May 2018 01:08:23 +0000 (09:08 +0800)]
Merge branch 'bugfix/nvs_page_compaction' into 'master'

nvs: Fix recovery from power-off while page is being freed

See merge request idf/esp-idf!2327

6 years agoMerge branch 'bugfix/docs_conf_py3_compat' into 'master'
Ivan Grokhotkov [Mon, 7 May 2018 01:07:44 +0000 (09:07 +0800)]
Merge branch 'bugfix/docs_conf_py3_compat' into 'master'

docs: make conf.py python3 compatible

See merge request idf/esp-idf!2344

6 years agodriver: Add notes to SPI driver docs about thread safety
Angus Gratton [Mon, 7 May 2018 01:03:48 +0000 (09:03 +0800)]
driver: Add notes to SPI driver docs about thread safety

6 years agoesp32: fix two wifi bugs
Liu Zhi Fu [Sun, 6 May 2018 09:29:06 +0000 (17:29 +0800)]
esp32: fix two wifi bugs

1. Fix the bug that WiFi receives duplicate MPDU
2. Deauth the station if soft-AP already has max WiFi connections

6 years agocomponent/bt: Fix bug a2dp have disconnect state when connecting with iphone 7
baohongde [Fri, 4 May 2018 11:44:40 +0000 (19:44 +0800)]
component/bt: Fix bug a2dp have disconnect state when connecting with iphone 7

6 years agoMerge branch 'feature/btdm_get_end_handle_when_get_include_service' into 'master'
Jiang Jiang Jian [Fri, 4 May 2018 11:31:43 +0000 (19:31 +0800)]
Merge branch 'feature/btdm_get_end_handle_when_get_include_service' into 'master'

Component/bt: get end_handle when get include services

See merge request idf/esp-idf!2319

6 years agoMerge branch 'bugfix/btdm_fix_version_excahnge_issue' into 'master'
Jiang Jiang Jian [Fri, 4 May 2018 11:30:03 +0000 (19:30 +0800)]
Merge branch 'bugfix/btdm_fix_version_excahnge_issue' into 'master'

Component/bt: fix version exchange issue

See merge request idf/esp-idf!2329

6 years agoMerge branch 'bugfix/tw12351_wifi_lock_op' into 'master'
Jiang Jiang Jian [Fri, 4 May 2018 11:27:14 +0000 (19:27 +0800)]
Merge branch 'bugfix/tw12351_wifi_lock_op' into 'master'

esp32: optimize wifi lock

See merge request idf/esp-idf!2345

6 years agoMerge branch 'bugfix/modify_default_flash_freq_to_40M_for_iperf_example' into 'master'
Jiang Jiang Jian [Fri, 4 May 2018 11:25:20 +0000 (19:25 +0800)]
Merge branch 'bugfix/modify_default_flash_freq_to_40M_for_iperf_example' into 'master'

example: set default SPI flash mode to 40Mhz for iperf example

See merge request idf/esp-idf!1928

6 years agoMerge branch 'bugfix/tw20575_fix_potential_phy_calibration_bug' into 'master'
Jiang Jiang Jian [Fri, 4 May 2018 11:24:05 +0000 (19:24 +0800)]
Merge branch 'bugfix/tw20575_fix_potential_phy_calibration_bug' into 'master'

esp32: fix potential PHY calibration bug

See merge request idf/esp-idf!2339

6 years agoesp32: optimize wifi lock
Liu Zhi Fu [Fri, 4 May 2018 02:36:04 +0000 (10:36 +0800)]
esp32: optimize wifi lock

Replace portENTER_CRITICAL/portEXIT_CRITICAL with semaphore lock if
the protected resource is only accessed by different tasks

6 years agodriver(uart): Fix uart_get_baudrate incorrect return value when using ref_tick
kooho [Tue, 24 Apr 2018 08:11:02 +0000 (16:11 +0800)]
driver(uart): Fix uart_get_baudrate incorrect return value when using ref_tick

6 years agoMerge branch 'bugfix/fix_typos_in_docs' into 'master'
Angus Gratton [Fri, 4 May 2018 00:40:44 +0000 (08:40 +0800)]
Merge branch 'bugfix/fix_typos_in_docs' into 'master'

Fix few typos in the docs

See merge request idf/esp-idf!2343

6 years agodocs: make conf.py python3 compatible
Ivan Grokhotkov [Thu, 3 May 2018 18:06:04 +0000 (02:06 +0800)]
docs: make conf.py python3 compatible

6 years agoMerge branch 'feature/btdm_get_and_remove_bond_device' into 'master'
Jiang Jiang Jian [Thu, 3 May 2018 12:58:51 +0000 (20:58 +0800)]
Merge branch 'feature/btdm_get_and_remove_bond_device' into 'master'

component/bt: Add APIs of get and remove bond device

See merge request idf/esp-idf!2323

6 years agoFix few typos in the docs
Hrishikesh Dhayagude [Thu, 3 May 2018 12:49:57 +0000 (18:19 +0530)]
Fix few typos in the docs

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
6 years agocomponent/bt: Add APIs of get and remove bond device
baohongde [Thu, 3 May 2018 11:05:57 +0000 (19:05 +0800)]
component/bt: Add APIs of get and remove bond device

1. Add APIs of get and remove bond device
2. Add ESP_BT_GAP_AUTH_CMPL_EVT

6 years agoesp32: fix potential PHY calibration bug
Liu Zhi Fu [Thu, 3 May 2018 07:48:14 +0000 (15:48 +0800)]
esp32: fix potential PHY calibration bug

1. Add error log if failed to store calibration version/mac/data
2. Change the NVS calibration version/mac/data store sequence
3. Pass the init_data instead of NULL to esp_phy_rf_init() in esp_phy_load_cal_and_init()

6 years agoMerge branch 'example/spi_ili_document' into 'master'
Jeroen Domburg [Thu, 3 May 2018 04:39:34 +0000 (12:39 +0800)]
Merge branch 'example/spi_ili_document' into 'master'

example(spi_master): add documentation for LCD commands

See merge request idf/esp-idf!2269

6 years agoexample(spi_master): add descriptions about LCD example
Michael (XIAO Xufeng) [Wed, 18 Apr 2018 06:36:26 +0000 (14:36 +0800)]
example(spi_master): add descriptions about LCD example

6 years agoexample: set default SPI flash mode to 40Mhz for iperf example
Liu Zhi Fu [Thu, 8 Feb 2018 07:25:34 +0000 (15:25 +0800)]
example: set default SPI flash mode to 40Mhz for iperf example

Set default SPI flash frequency to 40Mhz for iperf example to avoid random crash for ESP32-WROVER-KIT (v3).

6 years agoMerge branch 'bugfix/mark_auto_connect_api_as_obsolete' into 'master'
Jiang Jiang Jian [Thu, 3 May 2018 02:40:27 +0000 (10:40 +0800)]
Merge branch 'bugfix/mark_auto_connect_api_as_obsolete' into 'master'

esp32: mark WiFi auto connect API as deprecated

See merge request idf/esp-idf!1970

6 years agoMerge branch 'bugfix/wifi_log_level' into 'master'
Angus Gratton [Thu, 3 May 2018 02:21:19 +0000 (10:21 +0800)]
Merge branch 'bugfix/wifi_log_level' into 'master'

wifi: Set default wifi library log level based on sdkconfig

See merge request idf/esp-idf!2334

6 years agoMerge branch 'bugfix/light_sleep_fixes' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 12:09:36 +0000 (20:09 +0800)]
Merge branch 'bugfix/light_sleep_fixes' into 'master'

light sleep fixes

See merge request idf/esp-idf!2242

6 years agoMerge branch 'bugfix/free_mem_console' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 07:48:31 +0000 (15:48 +0800)]
Merge branch 'bugfix/free_mem_console' into 'master'

Free allocations in command.c after error conditions

See merge request idf/esp-idf!2332

6 years agoMerge branch 'feature/aws_iot_mqtt_on_443' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 07:43:29 +0000 (15:43 +0800)]
Merge branch 'feature/aws_iot_mqtt_on_443' into 'master'

aws_iot: add support for MQTT TLS over port 443

See merge request idf/esp-idf!2292

6 years agoMerge branch 'bugfix/cjson_include_objs' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 07:42:59 +0000 (15:42 +0800)]
Merge branch 'bugfix/cjson_include_objs' into 'master'

cJSON : Include only source file objects

See merge request idf/esp-idf!2326

6 years agonvs: Fix recovery from power-off while page is being freed
Sagar Bijwe [Fri, 27 Apr 2018 07:10:29 +0000 (12:40 +0530)]
nvs: Fix recovery from power-off while page is being freed

Currently when page is being freed, items are individually moved from
FREEING page to ACTIVE page and erased. If power-off happens during the
process, the remaining entries are moved to ACTIVE page during recovery.
The problem with this approach is there may not be enough space on
ACTIVE page for all items if an item was partially written before
power-off and erased during recovery. This change moves all the items
from FREEING to ACTIVE page and then erased the FREEING page, If
power-off happens during the process, then ACTIVE page is erased and the
process is restarted.

6 years agowifi: Set default wifi library log level based on sdkconfig
Angus Gratton [Wed, 2 May 2018 05:11:21 +0000 (15:11 +1000)]
wifi: Set default wifi library log level based on sdkconfig

Has to be set at runtime, due to precompiled wifi libraries.

Prompted by discussion on forum: https://esp32.com/viewtopic.php?f=2&t=5570&p=24216#p24216

6 years agoMerge branch 'feature/mfg_bin_create_utility' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 03:58:38 +0000 (11:58 +0800)]
Merge branch 'feature/mfg_bin_create_utility' into 'master'

nvs_flash: Add external binary creation support for NVS partition.

See merge request idf/esp-idf!2031

6 years agoesp32: mark WiFi auto connect API as obsolete
Liu Zhi Fu [Thu, 22 Feb 2018 12:52:01 +0000 (20:52 +0800)]
esp32: mark WiFi auto connect API as obsolete

Mark esp_wifi_set/get_auto_connect as obsolete

6 years agoMerge branch 'bugfix/gap_appearance_fixes' into 'master'
Jiang Jiang Jian [Tue, 1 May 2018 15:00:24 +0000 (23:00 +0800)]
Merge branch 'bugfix/gap_appearance_fixes' into 'master'

components/bt: Make modifications to the support of GAP appearance/icon characteristic

See merge request idf/esp-idf!2249

6 years agoMerge branch 'bugfix/btdm_prepare_write_status_correct' into 'master'
Jiang Jiang Jian [Tue, 1 May 2018 14:57:20 +0000 (22:57 +0800)]
Merge branch 'bugfix/btdm_prepare_write_status_correct' into 'master'

component/bt: Check the value received from the peer device when sent the data used prepare write.

See merge request idf/esp-idf!2320

6 years agoMerge branch 'feature/btdm_read_bredr_rssi' into 'master'
Jiang Jiang Jian [Tue, 1 May 2018 14:55:50 +0000 (22:55 +0800)]
Merge branch 'feature/btdm_read_bredr_rssi' into 'master'

component/bt : add class bt read RSSI delta (golden range)

See merge request idf/esp-idf!2325

6 years agoconsole: Fix formatting
Anuj Deshpande [Mon, 30 Apr 2018 08:52:45 +0000 (14:22 +0530)]
console: Fix formatting

6 years agoconsole: Free alloc'd memory after error conditions
Anuj Deshpande [Mon, 30 Apr 2018 08:51:03 +0000 (14:21 +0530)]
console: Free alloc'd memory after error conditions

Closes https://github.com/espressif/esp-idf/issues/1901

6 years agocJSON : Include only source file objects
Anuj Deshpande [Fri, 27 Apr 2018 09:55:07 +0000 (15:25 +0530)]
cJSON : Include only source file objects

- test.c can cause issues if there is another main function
- Closes https://github.com/espressif/esp-idf/issues/1883

6 years agoFix potential NULL pointer dereference crash.
Wayne Keenan [Mon, 30 Apr 2018 07:03:35 +0000 (08:03 +0100)]
Fix potential NULL pointer dereference crash.

6 years agoMerge branch 'bugfix/btdm_genrate_hash_key_by_bluedroid' into 'master'
Jiang Jiang Jian [Sat, 28 Apr 2018 08:42:27 +0000 (16:42 +0800)]
Merge branch 'bugfix/btdm_genrate_hash_key_by_bluedroid' into 'master'

component/bt: Added the hash key generated directly in the bluedroid module.

See merge request idf/esp-idf!2321

6 years agoComponent/bt: fix version exchange issue
zhiweijian [Sat, 28 Apr 2018 08:22:38 +0000 (16:22 +0800)]
Component/bt: fix version exchange issue
- Android 7.0 version issue
- version exchange late in some phones
- can not get version in smp

6 years agocomponents/bt: Make modifications to the support of GAP appearance/icon
Hrishikesh Dhayagude [Mon, 16 Apr 2018 06:53:16 +0000 (12:23 +0530)]
components/bt: Make modifications to the support of GAP appearance/icon
characateristic

1. In addition to mentioning in the documentation, use the standard appearance
   values already present and return appropriate error in case an incorrect
   value is passed
2. Add ESP_BLE_APPEARANCE* macros corresponding to BTM_BLE_APPEARANCE*
and use them from the API instead
3. Add the missing appearance parameter values from
https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml
4. Fix some minor typos

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
6 years agoComponent/bt: get end_handle when get include services
zhiweijian [Thu, 26 Apr 2018 09:17:35 +0000 (17:17 +0800)]
Component/bt: get end_handle when get include services

6 years agocomponent/bt: Added the hash key generated directly in the bluedroid module.
Yulong [Thu, 26 Apr 2018 13:44:12 +0000 (09:44 -0400)]
component/bt: Added the hash key generated directly in the bluedroid module.

1. Change all the hash used from the coap module to generated by the bluedroid module directly.

component/bt: Added the <string.h> include file to the gattc_co module to avoid compile error.

6 years agoMerge branch 'feature/btdm_bt_spp_vfs' into 'master'
Jiang Jiang Jian [Sat, 28 Apr 2018 07:10:07 +0000 (15:10 +0800)]
Merge branch 'feature/btdm_bt_spp_vfs' into 'master'

component/bt: Add SPP profile with VFS

See merge request idf/esp-idf!1883

6 years agoMerge branch 'feature/btdm_ble_throughput_optimiz' into 'master'
Jiang Jiang Jian [Sat, 28 Apr 2018 07:01:39 +0000 (15:01 +0800)]
Merge branch 'feature/btdm_ble_throughput_optimiz' into 'master'

Feature/btdm ble throughput optimiz

See merge request idf/esp-idf!2265

6 years agocomponent/bt: Add SPP profile with VFS
baohongde [Sat, 28 Apr 2018 03:36:22 +0000 (11:36 +0800)]
component/bt: Add SPP profile with VFS

6 years agocomponent/bt: Added the server test for the bit rate test.
Yulong [Thu, 7 Dec 2017 08:07:36 +0000 (03:07 -0500)]
component/bt: Added the server test for the bit rate test.

component/bt: optimiz the code
component/bt: optimiz the code.
component/bt: added the l2c change.
component/bt: Added the modified.
component/bt: change the indicate callback function.

component/bt: added the BLE throughput test gattc & gatts example.

component/bt: Change the sdkconfig.default CONFIG_GATTS_NOTIFY_THROUGHPUT setting.

component/bt: Change the throughput_client_task delay method.

component/bt: change the btu task size from 4096 to 5096

comonent/bt: close the print when congest.

component/bt: Added the CPU frequency set method to the readme file.

component/bt: Change the gatts_demo_char1_val to gl_profile_tab[PROFILE_A_APP_ID].char_handle to avoid make error.

example/ble_throughput: Added the Readme explanation.

component/bt: Added the bt lib change.

component/bt: Update the bt lib & Change the LOG level from ERROR to DEBUG when congest.

component/bt: Fixed the bug of timer start assign error.

component/bt: Change back the gattc & gatts demo with same as the master.

example/ble_throughput: Fixed the bug when prepare write of the ble throughput.

component/bt: Update the check_sum algorithm.

component/bt: Change Added the path when used the include file of "l2cdefs.h" & "l2c_api.h".

example/throughput_client: Added the Freertos related header files to ble throughput client demo to avoid compile error.

6 years agoMerge branch 'bugfix/tw19728_support_static_allocation_of_freertos_queue_used_by_isr_...
Jiang Jiang Jian [Fri, 27 Apr 2018 12:31:51 +0000 (20:31 +0800)]
Merge branch 'bugfix/tw19728_support_static_allocation_of_freertos_queue_used_by_isr_v3.1' into 'master'

esp32/bt/driver: support static allocation of FreeRTOS queues used by ISR routine (merged from v3.0)

See merge request idf/esp-idf!2317

6 years agocomponent/bt: Check the value received from the peer device when sent the data used...
Yulong [Thu, 26 Apr 2018 13:01:53 +0000 (09:01 -0400)]
component/bt: Check the value received from the peer device when sent the data used prepare write.

component/bt: Fix misspellings of "corret" in comments in bta_gattc_write_cmpl function.