]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'mesh/rewrite_docs' into 'master'
Angus Gratton [Mon, 3 Sep 2018 02:52:33 +0000 (10:52 +0800)]
Merge branch 'mesh/rewrite_docs' into 'master'

docs/rewrite_mesh_docs

See merge request idf/esp-idf!2990

6 years agodocs/rewrite_mesh_docs
Darian Leung [Tue, 26 Jun 2018 12:48:47 +0000 (20:48 +0800)]
docs/rewrite_mesh_docs

The following commit rewrites the ESP-MESH docs. This commit includes
new diagrams and a structure approach to the mesh docs. Some mesh api references
have also been modified.

6 years agoMerge branch 'bugfix/fix_bt_hdr_files' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 14:04:39 +0000 (22:04 +0800)]
Merge branch 'bugfix/fix_bt_hdr_files' into 'master'

components/bt: Make a pass through Bluetooth header files

See merge request idf/esp-idf!3093

6 years agoMerge branch 'bugfix/btdm_update_private_address' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 13:33:54 +0000 (21:33 +0800)]
Merge branch 'bugfix/btdm_update_private_address' into 'master'

component/bt: Update BLE private address after it's private address interval

See merge request idf/esp-idf!2987

6 years agoMerge branch 'bugfix/btdm_rfcomm_test_command_cause_crash' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 13:33:39 +0000 (21:33 +0800)]
Merge branch 'bugfix/btdm_rfcomm_test_command_cause_crash' into 'master'

component/bt: Fix bug rfcomm test command cause crash

See merge request idf/esp-idf!3080

6 years agoMerge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success' into...
Jiang Jiang Jian [Fri, 31 Aug 2018 13:27:21 +0000 (21:27 +0800)]
Merge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success' into 'master'

component/bt: Fix bug of SDP find services by uuid always return success

See merge request idf/esp-idf!3036

6 years agoMerge branch 'feature/modify_smart_config' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 13:01:57 +0000 (21:01 +0800)]
Merge branch 'feature/modify_smart_config' into 'master'

modify smart config example

See merge request idf/esp-idf!3142

6 years agoMerge branch 'bugfix/esp_wifi_disconnect_fail' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 13:01:12 +0000 (21:01 +0800)]
Merge branch 'bugfix/esp_wifi_disconnect_fail' into 'master'

update wifi lib to fix two bugs

See merge request idf/esp-idf!3125

6 years agoMerge branch 'bugfix/tw23350_fix_brownout_reset' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 12:37:18 +0000 (20:37 +0800)]
Merge branch 'bugfix/tw23350_fix_brownout_reset' into 'master'

when brownout reset occurs, set the phy TX Power to the lowest

See merge request idf/esp-idf!2854

6 years agofix the esp_wifi_disconnect() err when wifi is not started or inited
zhangyanjiao [Tue, 28 Aug 2018 12:16:17 +0000 (20:16 +0800)]
fix the esp_wifi_disconnect() err when wifi is not started or inited

Closes: https://github.com/espressif/esp-idf/issues/2336
6 years agoMerge branch 'ci/add_check_stage' into 'master'
Angus Gratton [Fri, 31 Aug 2018 02:08:59 +0000 (10:08 +0800)]
Merge branch 'ci/add_check_stage' into 'master'

ci: Add 'check' stage, move all check-related jobs to this stage

See merge request idf/esp-idf!2986

6 years agoMerge branch 'bugfix/btdm_security_vulnerability' into 'master'
Jiang Jiang Jian [Thu, 30 Aug 2018 18:02:59 +0000 (02:02 +0800)]
Merge branch 'bugfix/btdm_security_vulnerability' into 'master'

fix bluetooth security vulnerability of ECDH public key checking

See merge request idf/esp-idf!3089

6 years agoMerge branch 'bugfix/wifi_reorder_mpdu_as_ampdu' into 'master'
Jiang Jiang Jian [Thu, 30 Aug 2018 17:59:50 +0000 (01:59 +0800)]
Merge branch 'bugfix/wifi_reorder_mpdu_as_ampdu' into 'master'

esp32: reorder MPDU as AMPDU

See merge request idf/esp-idf!3108

6 years agoesp32: reorder MPDU as AMPDU
XiaXiaotian [Mon, 27 Aug 2018 09:17:34 +0000 (17:17 +0800)]
esp32: reorder MPDU as AMPDU

    Some APs transmit AMPDU and MPDU by turns. Moreover, the sequence
    numbers of AMPDU and MPDU are out of order, e.g. MPDU(1253) -
    AMPDU(1251, 1252) - MPDU(1254) - AMPDU(1255, 1256). In order to
    receive both AMPDU and MPDU in order, MPDU must be reordered with
    AMPDU.

6 years agoMerge branch 'bugfix/py3_error_code_generator_from_docs' into 'master'
Ivan Grokhotkov [Thu, 30 Aug 2018 12:25:09 +0000 (20:25 +0800)]
Merge branch 'bugfix/py3_error_code_generator_from_docs' into 'master'

Docs: Check Python packages

See merge request idf/esp-idf!3135

6 years agomodify static variables and README file
zhangyanjiao [Wed, 29 Aug 2018 12:48:16 +0000 (20:48 +0800)]
modify static variables and README file

6 years agoDocs: Check Python packages
Roland Dobai [Tue, 28 Aug 2018 18:01:25 +0000 (20:01 +0200)]
Docs: Check Python packages

6 years agoMerge branch 'feature/emmc_ddr' into 'master'
Angus Gratton [Thu, 30 Aug 2018 10:14:35 +0000 (18:14 +0800)]
Merge branch 'feature/emmc_ddr' into 'master'

sdmmc: eMMC support, command layer refactoring

See merge request idf/esp-idf!3062

6 years agoMerge branch 'feature/py3_idf_size' into 'master'
Angus Gratton [Thu, 30 Aug 2018 10:12:17 +0000 (18:12 +0800)]
Merge branch 'feature/py3_idf_size' into 'master'

tools: Support Python 3 in idf_size.py

See merge request idf/esp-idf!2849

6 years agowhen brownout reset occurs,set the phy TX Power to the lowest
zhangyanjiao [Wed, 25 Jul 2018 09:28:56 +0000 (17:28 +0800)]
when brownout reset occurs,set the phy TX Power to the lowest

6 years agoci: Add 'check' stage, move all check-related jobs to this stage
Angus Gratton [Mon, 13 Aug 2018 02:35:11 +0000 (12:35 +1000)]
ci: Add 'check' stage, move all check-related jobs to this stage

Allows us to prevent pushing to GitHub if a check fails on master/release branch.

6 years agosdmmc: document eMMC support, host features
Ivan Grokhotkov [Mon, 13 Aug 2018 17:01:12 +0000 (20:01 +0300)]
sdmmc: document eMMC support, host features

6 years agosdmmc: update unit tests for ESP_eMMC_TestBoard_V1
Ivan Grokhotkov [Mon, 4 Jun 2018 14:00:26 +0000 (22:00 +0800)]
sdmmc: update unit tests for ESP_eMMC_TestBoard_V1

1. New tests for SD card on slot 0. Currently frequency for 4-bit mode
has to be reduced in the test.

2. Change pin for CD/WP tests, re-enable CD tests.

6 years agosdmmc: implement partial DDR support
Ivan Grokhotkov [Wed, 22 Aug 2018 10:16:32 +0000 (18:16 +0800)]
sdmmc: implement partial DDR support

Works for 3.3V eMMC in 4 line mode.
Not implemented:
- DDR mode for SD cards (UHS-I) also need voltage to be switched to 1.8V.
- 8-line DDR mode for eMMC to be implemented later.

6 years agosdmmc: command layer refactoring
Ivan Grokhotkov [Wed, 20 Jun 2018 11:59:11 +0000 (19:59 +0800)]
sdmmc: command layer refactoring

6 years agoMerge branch 'bugfix/http_server_example_tests' into 'master'
Angus Gratton [Thu, 30 Aug 2018 04:46:29 +0000 (12:46 +0800)]
Merge branch 'bugfix/http_server_example_tests' into 'master'

http_server : Fix and enable example tests

See merge request idf/esp-idf!2960

6 years agofix bluetooth security vulnerability of ECDH publick key checking
Tian Hao [Fri, 24 Aug 2018 12:01:01 +0000 (20:01 +0800)]
fix bluetooth security vulnerability of ECDH publick key checking

6 years agoeMMC/MMC support for ESP32
sergiu2014 [Wed, 9 May 2018 17:12:00 +0000 (13:12 -0400)]
eMMC/MMC support for ESP32

Merges https://github.com/espressif/esp-idf/pull/1941
Previous work in https://github.com/espressif/esp-idf/pull/590

6 years agosdmmc host: minor cleanup
Ivan Grokhotkov [Fri, 22 Jun 2018 12:11:30 +0000 (20:11 +0800)]
sdmmc host: minor cleanup

Code style, comments

6 years agoMerge branch 'fix/spi_example_wait_gpio' into 'master'
Angus Gratton [Thu, 30 Aug 2018 03:29:38 +0000 (11:29 +0800)]
Merge branch 'fix/spi_example_wait_gpio' into 'master'

spi: fix the misleading example, letting the master wait until slave is ready

See merge request idf/esp-idf!3136

6 years agoMerge branch 'test/bugfix_BTSTK_GATT_25007' into 'master'
He Yin Ling [Thu, 30 Aug 2018 03:19:04 +0000 (11:19 +0800)]
Merge branch 'test/bugfix_BTSTK_GATT_25007' into 'master'

test: fix bug of BTSTK_GATT_25007

See merge request idf/esp-idf!3096

6 years agoMerge branch 'bugfix/btdm_get_acl_num' into 'master'
Jiang Jiang Jian [Thu, 30 Aug 2018 03:12:46 +0000 (11:12 +0800)]
Merge branch 'bugfix/btdm_get_acl_num' into 'master'

component/bt : fix get acl number incorrect due to memory release

See merge request idf/esp-idf!3090

6 years agoMerge branch 'doc/python_sphinx_build' into 'master'
Angus Gratton [Thu, 30 Aug 2018 03:02:35 +0000 (11:02 +0800)]
Merge branch 'doc/python_sphinx_build' into 'master'

docs: Call 'python -m sphinx' instead of sphinx-build

See merge request idf/esp-idf!3127

6 years agoMerge branch 'bugfix/hwcrypto_mpi_ecp' into 'master'
Angus Gratton [Thu, 30 Aug 2018 02:00:07 +0000 (10:00 +0800)]
Merge branch 'bugfix/hwcrypto_mpi_ecp' into 'master'

mbedtls: Don't unnecessarily grow the result of a hardware bignum operation

See merge request idf/esp-idf!3041

6 years agoTemporary : Disable leak tests
Anurag Kar [Wed, 29 Aug 2018 21:00:41 +0000 (02:30 +0530)]
Temporary : Disable leak tests

6 years agohttp_server : Fix and enable example tests
Anurag Kar [Fri, 10 Aug 2018 18:28:38 +0000 (23:58 +0530)]
http_server : Fix and enable example tests
This introduces the following changes in the example test scripts :
* Dependency on python requests library removed in favor of httplib
* Bug fixed in the logic responsible for receiving and processing http chunked responses
* Default timeouts increased Note : Due to connectivity issues (between runner host and DUT) in the runner environment, some of the advanced_tests are being ignored. These tests are intended for verifying the expected limits of the http_server capabilities, and implement sending and receiving of large HTTP packets and malformed requests, running multiple parallel sessions, etc. It is advised that all these tests be run locally, when making changes or adding new features to this component.

6 years agoMerge branch 'bugfix/mesh_fix_hard_to_find_parent' into 'master'
Jiang Jiang Jian [Wed, 29 Aug 2018 15:05:32 +0000 (23:05 +0800)]
Merge branch 'bugfix/mesh_fix_hard_to_find_parent' into 'master'

mesh: bugfix and add two APIs

See merge request idf/esp-idf!3107

6 years agospi: fix the misleading example, letting the master wait until slave is ready
Michael (XIAO Xufeng) [Wed, 29 Aug 2018 10:40:21 +0000 (18:40 +0800)]
spi: fix the misleading example, letting the master wait until slave is ready

6 years agoMerge branch 'bugfix/gcc8_warnings' into 'master'
Ivan Grokhotkov [Wed, 29 Aug 2018 07:53:28 +0000 (15:53 +0800)]
Merge branch 'bugfix/gcc8_warnings' into 'master'

Fix or silence warnings found by GCC 8

See merge request idf/esp-idf!3130

6 years agodocs: Call 'python -m sphinx' instead of sphinx-build
Angus Gratton [Wed, 29 Aug 2018 04:00:41 +0000 (12:00 +0800)]
docs: Call 'python -m sphinx' instead of sphinx-build

Fixes mismatches where default Python interpreter may not match the most recently
installed sphinx-build wrapper script (if sphinx 2 & 3 both installed, pip will
clobber any previous copy of /bin/sphinx-build when it installs the new one.)

6 years agoexamples/bluetooth: add fallthrough annotations
Ivan Grokhotkov [Wed, 29 Aug 2018 04:59:30 +0000 (12:59 +0800)]
examples/bluetooth: add fallthrough annotations

6 years agobluetooth: fix format overflow warnings
Anton Maklakov [Wed, 29 Aug 2018 04:55:28 +0000 (12:55 +0800)]
bluetooth: fix format overflow warnings

6 years agobluetooth: fix incorrect memset size
Anton Maklakov [Wed, 29 Aug 2018 04:55:07 +0000 (12:55 +0800)]
bluetooth: fix incorrect memset size

6 years agobluetooth: fix missing braces and indentation
Anton Maklakov [Wed, 29 Aug 2018 04:54:29 +0000 (12:54 +0800)]
bluetooth: fix missing braces and indentation

6 years agoheap: test: don’t warn about oversized mallocs
Ivan Grokhotkov [Wed, 29 Aug 2018 04:52:03 +0000 (12:52 +0800)]
heap: test: don’t warn about oversized mallocs

6 years agobt/a2dp: fix incorrect return type
Ivan Grokhotkov [Tue, 28 Aug 2018 09:31:18 +0000 (17:31 +0800)]
bt/a2dp: fix incorrect return type

res was declared as “bool” so expression

((count == 0) ? A2D_SET_ONE_BIT : A2D_SET_MULTL_BIT)

always evaluated to “true”, and was implicitly converted to
A2D_SET_ONE_BIT.

6 years agobt/bta: fix returning value from function returning void
Ivan Grokhotkov [Tue, 28 Aug 2018 10:18:31 +0000 (18:18 +0800)]
bt/bta: fix returning value from function returning void

6 years agobt/btm: fix misplaced debug statement
Ivan Grokhotkov [Tue, 28 Aug 2018 10:21:44 +0000 (18:21 +0800)]
bt/btm: fix misplaced debug statement

6 years agoexamples/bluetooth: Fix incompatible cast
Anton Maklakov [Tue, 28 Aug 2018 17:54:41 +0000 (00:54 +0700)]
examples/bluetooth: Fix incompatible cast

6 years agoexamples/spi_slave: check for truncation in snprintf call
Ivan Grokhotkov [Tue, 28 Aug 2018 13:34:44 +0000 (21:34 +0800)]
examples/spi_slave: check for truncation in snprintf call

Also fix character array initializer

6 years agospiffs: test: check for truncation in snprintf call
Ivan Grokhotkov [Tue, 28 Aug 2018 04:23:27 +0000 (12:23 +0800)]
spiffs: test: check for truncation in snprintf call

6 years agodriver, ethernet: fix non-static inline functions
Ivan Grokhotkov [Wed, 29 Aug 2018 03:26:44 +0000 (11:26 +0800)]
driver, ethernet: fix non-static inline functions

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81734

6 years agodriver: test: fix memset out of bounds in spi_master test
Ivan Grokhotkov [Tue, 28 Aug 2018 04:22:40 +0000 (12:22 +0800)]
driver: test: fix memset out of bounds in spi_master test

6 years agosyscalls: fix type conversion for _raise_r stub
Ivan Grokhotkov [Tue, 7 Aug 2018 20:26:05 +0000 (23:26 +0300)]
syscalls: fix type conversion for _raise_r stub

6 years agoapp_trace: Fix tmo initialization
Alexey Gerenkov [Thu, 14 Jun 2018 16:11:21 +0000 (19:11 +0300)]
app_trace: Fix tmo initialization

6 years agoMerge branch 'feature/add_deinit_to_emac_driver' into 'master'
Angus Gratton [Tue, 28 Aug 2018 10:09:55 +0000 (18:09 +0800)]
Merge branch 'feature/add_deinit_to_emac_driver' into 'master'

ethernet: support esp_eth_deinit

See merge request idf/esp-idf!3059

6 years agombedtls: Don't unnecessarily grow the result of a hardware bignum operation
Angus Gratton [Thu, 9 Aug 2018 05:13:43 +0000 (15:13 +1000)]
mbedtls: Don't unnecessarily grow the result of a hardware bignum operation

Avoids growing the result of hardware bignum operations
(particularly for multiplication)

Fixes bugs where some Elliptic Curve operations fail or corrupt memory,
as they assume length of the number is never greater than the number of
non-zero limbs.

Includes some general refactoring to standardize terminology.

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

Fixes TW12984

Adds test cases for both these issues.

6 years agocomponent/bt : fix get acl number incorrect due to memory release
Tian Hao [Fri, 24 Aug 2018 12:09:54 +0000 (20:09 +0800)]
component/bt : fix get acl number incorrect due to memory release

1. after memory release MR merged, due to the get acl number condition is not completed, it will cause get acl number value incorrect
2. It may cause set Security Mode (BR/EDR) enable failed

6 years agoMerge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test' into...
Jiang Jiang Jian [Tue, 28 Aug 2018 05:40:20 +0000 (13:40 +0800)]
Merge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test' into 'master'

component/bt: fix crash when BLE do SMP connect and disconnect stress test

See merge request idf/esp-idf!3077

6 years agoethernet: support esp_eth_deinit
morris [Wed, 22 Aug 2018 09:46:14 +0000 (17:46 +0800)]
ethernet: support esp_eth_deinit

1. change static emac-dma memory to dynamic
2. add esp_eth_deinit
3. modify ethernet example
4. add testcase for ethernet deinit function
5. GPIO0 could not output the 50MHz clock to PHY, so remove this configuration

6 years agoMerge branch 'bugfix/rtc_wdt_interval_overflow' into 'master'
Angus Gratton [Tue, 28 Aug 2018 04:12:21 +0000 (12:12 +0800)]
Merge branch 'bugfix/rtc_wdt_interval_overflow' into 'master'

rtc_wdt: fix overflow issue with setting wdt interval

See merge request idf/esp-idf!3110

6 years agotest: fix bug of BTSTK_GATT_25007
chensheng [Sun, 26 Aug 2018 05:03:11 +0000 (13:03 +0800)]
test: fix bug of BTSTK_GATT_25007

6 years agoMerge branch 'bugfix/deep_sleep_stub_ptr_check' into 'master'
Ivan Grokhotkov [Tue, 28 Aug 2018 03:01:22 +0000 (11:01 +0800)]
Merge branch 'bugfix/deep_sleep_stub_ptr_check' into 'master'

reset_reason: fix setting wake stub entry point to 0x80000000

See merge request idf/esp-idf!3101

6 years agoMerge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size' into 'master'
Jiang Jiang Jian [Tue, 28 Aug 2018 02:42:36 +0000 (10:42 +0800)]
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size' into 'master'

bugfix/btdm_a2dp_sink_pcm_buffer_size

See merge request idf/esp-idf!3052

6 years agoMerge branch 'bugfix/idf_app_assert_print' into 'master'
Ivan Grokhotkov [Tue, 28 Aug 2018 02:00:44 +0000 (10:00 +0800)]
Merge branch 'bugfix/idf_app_assert_print' into 'master'

tiny-test-fw: Print more useful info when download.config doesn't exist

See merge request idf/esp-idf!3112

6 years agoMerge branch 'doc/custom_app_flash_map_off' into 'master'
Ivan Grokhotkov [Tue, 28 Aug 2018 01:59:36 +0000 (09:59 +0800)]
Merge branch 'doc/custom_app_flash_map_off' into 'master'

docs: Adds description of OpenOCD command to configure custom app image location

See merge request idf/esp-idf!3030

6 years agoMerge branch 'bugfix/disable_fuzzer_host_test_by_default' into 'master'
He Yin Ling [Mon, 27 Aug 2018 14:28:44 +0000 (22:28 +0800)]
Merge branch 'bugfix/disable_fuzzer_host_test_by_default' into 'master'

CI: disable fuzzer host test by default

See merge request idf/esp-idf!3115

6 years agoCI: disable fuzzer host test by default:
He Yin Ling [Mon, 27 Aug 2018 13:41:52 +0000 (21:41 +0800)]
CI: disable fuzzer host test by default:

Same key in YAML file will overwrite the key introduced by anchor

6 years agotools: Support Python 3 in idf_size.py
Roland Dobai [Mon, 23 Jul 2018 09:46:59 +0000 (11:46 +0200)]
tools: Support Python 3 in idf_size.py

6 years agomesh: bugfix and add two APIs
qiyuexia [Mon, 27 Aug 2018 07:08:54 +0000 (15:08 +0800)]
mesh: bugfix and add two APIs

1. new APIs: esp_mesh_get_subnet_nodes_num() and esp_mesh_get_subnet_nodes_list().
2. fix hard to find the parent during connect.
3. disable Wi-Fi channel switch function.
4. fix a typo of MESH_EVENT_NO_PARENT_FOUND.

6 years agodocs: Adds description of OpenOCD command to configure custom app image location
Alexey Gerenkov [Thu, 16 Aug 2018 18:33:23 +0000 (21:33 +0300)]
docs: Adds description of OpenOCD command to configure custom app image location

6 years agoreset_reason: fix setting wake stub entry point to 0x80000000
Ivan Grokhotkov [Mon, 27 Aug 2018 00:12:28 +0000 (08:12 +0800)]
reset_reason: fix setting wake stub entry point to 0x80000000

esp_reset_reason_init would check for reset reason hint, and
unconditionally set RTC_RESET_CAUSE_REG (which is also
RTC_ENTRY_ADDR_REG) to hint value 0, i.e. 0x80000000. However the ROM
code treats this value as valid deep sleep wake stub entry point, and
tries to jump to it.

Clear RTC_RESET_CAUSE_REG only if it contained a valid reset reason
hint, and simply set the register value to 0 when doing so. Also add
a check to esp_get_deep_sleep_wake_stub function that deep sleep wake
stub entry address must be in IRAM.

Reported in https://esp32.com/viewtopic.php?f=13&t=6919.

6 years agotiny-test-fw: Print more useful info when download.config doesn't exist
Roland Dobai [Mon, 27 Aug 2018 10:43:37 +0000 (12:43 +0200)]
tiny-test-fw: Print more useful info when download.config doesn't exist

6 years agoMerge branch 'feature/ci_fuzzer_tests_lwip' into 'master'
Angus Gratton [Mon, 27 Aug 2018 08:25:21 +0000 (16:25 +0800)]
Merge branch 'feature/ci_fuzzer_tests_lwip' into 'master'

ci jobs running fuzz tests on dns, dhcp, dhcps + removed unnecessary references (libexpat)

See merge request idf/esp-idf!2866

6 years agoMerge branch 'bugfix/fix_several_wifi_bugs' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 06:24:04 +0000 (14:24 +0800)]
Merge branch 'bugfix/fix_several_wifi_bugs' into 'master'

esp32: update wifi lib to fix several WiFi bugs

See merge request idf/esp-idf!3095

6 years agoMerge branch 'bugfix/fix_probable_mem_leak' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 06:10:22 +0000 (14:10 +0800)]
Merge branch 'bugfix/fix_probable_mem_leak' into 'master'

components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event

See merge request idf/esp-idf!2962

6 years agoMerge branch 'feature/py3_idf_monitor' into 'master'
Angus Gratton [Mon, 27 Aug 2018 04:29:38 +0000 (12:29 +0800)]
Merge branch 'feature/py3_idf_monitor' into 'master'

tools: Support Python3 in idf_monitor

See merge request idf/esp-idf!2930

6 years agoMerge branch 'feature/py3_for_gen_esp_err_to_name' into 'master'
Angus Gratton [Mon, 27 Aug 2018 04:29:03 +0000 (12:29 +0800)]
Merge branch 'feature/py3_for_gen_esp_err_to_name' into 'master'

tools: support python3 in gen_esp_err_to_name.py

See merge request idf/esp-idf!2827

6 years agoMerge branch 'doc/addition_translation_in_get_started' into 'master'
Angus Gratton [Mon, 27 Aug 2018 04:21:36 +0000 (12:21 +0800)]
Merge branch 'doc/addition_translation_in_get_started' into 'master'

doc: additional translation in get_started

See merge request idf/esp-idf!3087

6 years agoMerge branch 'bugfix/btdm_fix_get_error_adv_sometimes' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 04:17:23 +0000 (12:17 +0800)]
Merge branch 'bugfix/btdm_fix_get_error_adv_sometimes' into 'master'

Component/bt: fix get error adv packet sometimes

See merge request idf/esp-idf!3035

6 years agocomponent/bt: fix crash when BLE do SMP connect and disconnect stress test
zwj [Fri, 24 Aug 2018 04:54:20 +0000 (12:54 +0800)]
component/bt: fix crash when BLE do SMP connect and disconnect stress test

6 years agocomponent/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
wangmengyang [Tue, 21 Aug 2018 11:27:04 +0000 (19:27 +0800)]
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink

6 years agodoc: additional translation in get_stated
morris [Fri, 24 Aug 2018 08:50:34 +0000 (16:50 +0800)]
doc: additional translation in get_stated

6 years agoMerge branch 'bugfix/btdm_fix_memory_leak_in_security_server' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 02:19:27 +0000 (10:19 +0800)]
Merge branch 'bugfix/btdm_fix_memory_leak_in_security_server' into 'master'

component/bt: fix memory leak in security server

See merge request idf/esp-idf!3014

6 years agocomponent/bt: Fix bug of SDP find services by uuid always return success
baohongde [Mon, 20 Aug 2018 08:30:08 +0000 (16:30 +0800)]
component/bt: Fix bug of SDP find services by uuid always return success

6 years agoMerge branch 'doc/build_system_zh_CN' into 'master'
Angus Gratton [Mon, 27 Aug 2018 01:40:40 +0000 (09:40 +0800)]
Merge branch 'doc/build_system_zh_CN' into 'master'

doc: translate build-system from en to zh_CN

See merge request idf/esp-idf!3067

6 years agoMerge branch 'bugfix/app_update_test' into 'master'
Angus Gratton [Mon, 27 Aug 2018 00:46:02 +0000 (08:46 +0800)]
Merge branch 'bugfix/app_update_test' into 'master'

app_update: Change NUM_PIN_APP_TEST for unit test

See merge request idf/esp-idf!3050

6 years agoMerge branch 'bugfix/btdm_check_slave_feats_before_set_afh' into 'master'
Jiang Jiang Jian [Sun, 26 Aug 2018 08:19:48 +0000 (16:19 +0800)]
Merge branch 'bugfix/btdm_check_slave_feats_before_set_afh' into 'master'

bugfix/btdm_check_slave_feature_before_set_afh

See merge request idf/esp-idf!2972

6 years agoesp32: update wifi lib to fix several WiFi bugs
Liu Zhi Fu [Sun, 26 Aug 2018 04:38:06 +0000 (12:38 +0800)]
esp32: update wifi lib to fix several WiFi bugs

Fix following WiFi bugs:
1. Shouldn't scan when connect
2. Check beacon length in modem sleep
3. Fix the bug that AP may deauth wrong station when inactivity timer expires
4. Fix the bug that WiFi assert the system when receiving empty MCS in association response frame

6 years agocomponents/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event
Hrishikesh Dhayagude [Wed, 8 Aug 2018 08:46:03 +0000 (14:16 +0530)]
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event

Multiple modules register their callback BTA_GATTS_AppRegister().

If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.

So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
6 years agocomponents/bt: Make a pass through Bluetooth header files
Hrishikesh Dhayagude [Sat, 25 Aug 2018 15:51:42 +0000 (21:21 +0530)]
components/bt: Make a pass through Bluetooth header files

This is just a quick glance at all the header files exposed to the
users from cleanup point of view.

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
6 years agoComponent/bt: fix memory leak in security server
zhiweijian [Tue, 14 Aug 2018 12:35:43 +0000 (20:35 +0800)]
Component/bt: fix memory leak in security server

6 years agoMerge branch 'test/fix_test_summary_duplicate' into 'master'
He Yin Ling [Sat, 25 Aug 2018 02:22:40 +0000 (10:22 +0800)]
Merge branch 'test/fix_test_summary_duplicate' into 'master'

fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary

See merge request idf/esp-idf!3079

6 years agortc_wdt: fix overflow issue with setting wdt interval
Mahavir Jain [Fri, 24 Aug 2018 12:28:22 +0000 (17:58 +0530)]
rtc_wdt: fix overflow issue with setting wdt interval

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'bugfix/multi_case_test' into 'master'
He Yin Ling [Fri, 24 Aug 2018 11:54:34 +0000 (19:54 +0800)]
Merge branch 'bugfix/multi_case_test' into 'master'

test: fix the multi device stop thread bug

See merge request idf/esp-idf!3039

6 years agocomponent/bt: check support of AFH in remote slave device's LM feature then determine...
wangmengyang [Tue, 21 Aug 2018 11:41:10 +0000 (19:41 +0800)]
component/bt: check support of AFH in remote slave device's LM feature then determine whether to send LMP_set_AFH

6 years agoComponent/bt: fix get error adv packet sometimes
zhiweijian [Fri, 17 Aug 2018 03:54:45 +0000 (11:54 +0800)]
Component/bt: fix get error adv packet sometimes

6 years agoapp_update: Change NUM_PIN_APP_TEST for unit test
Konstantin Kondrashov [Tue, 21 Aug 2018 09:55:49 +0000 (17:55 +0800)]
app_update: Change NUM_PIN_APP_TEST for unit test

Fixed error when `make TESTS_ALL=1`

6 years agocomponent/bt: Fix bug rfcomm test command cause crash
baohongde [Fri, 24 Aug 2018 06:49:33 +0000 (14:49 +0800)]
component/bt: Fix bug rfcomm test command cause crash

find when BQB

6 years ago fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
chensheng [Fri, 24 Aug 2018 06:25:24 +0000 (14:25 +0800)]
 fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary