]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'bugfix/btdm_a2dp_task_stack_size_for_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Sat, 24 Feb 2018 02:18:12 +0000 (10:18 +0800)]
Merge branch 'bugfix/btdm_a2dp_task_stack_size_for_v3.0' into 'release/v3.0'

component/bt: make A2DP sink task size configurable through menuconfig

See merge request idf/esp-idf!1890

6 years agoMerge branch 'bugfix/btdm_alarm_free_for_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Sat, 24 Feb 2018 02:17:15 +0000 (10:17 +0800)]
Merge branch 'bugfix/btdm_alarm_free_for_v3.0' into 'release/v3.0'

component/bt: free timer resources after using them

See merge request idf/esp-idf!1888

6 years agoMerge branch 'bugfix/realloc_corruption_bug_v30' into 'release/v3.0'
Ivan Grokhotkov [Sun, 11 Feb 2018 05:43:00 +0000 (13:43 +0800)]
Merge branch 'bugfix/realloc_corruption_bug_v30' into 'release/v3.0'

heap: Fix bug when realloc moves data between heaps (backport to v3.0)

See merge request idf/esp-idf!1934

6 years agoheap: Fix bug when realloc moves data between heaps
Angus Gratton [Fri, 9 Feb 2018 03:41:27 +0000 (11:41 +0800)]
heap: Fix bug when realloc moves data between heaps

When realloc-ing to a smaller buffer size which ends up allocated in a different heap, the heap
structure is corrupted. This can only happen:

* If heap checking is Comprehensive (meaning buffers are never shrunk in place) and the heap the buffer was originally allocated in is full.
* Calling heap_caps_realloc() to deliberately move a buffer to a different capabilities type, and shrink it at the same time.

Probable fix for https://github.com/espressif/esp-idf/issues/1582
Probably the same issue:
https://www.esp32.com/viewtopic.php?f=2&t=4583
https://www.esp32.com/viewtopic.php?f=13&t=3717

6 years agoMerge branch 'bugfix/cjson_171_backport_v30' into 'release/v3.0'
Angus Gratton [Mon, 5 Feb 2018 14:30:07 +0000 (22:30 +0800)]
Merge branch 'bugfix/cjson_171_backport_v30' into 'release/v3.0'

Update cJSON to v1.7.1 (backport to v3.0)

See merge request idf/esp-idf!1907

6 years agocomponent/bt: make A2DP sink task size configurable through menuconfig
wangmengyang [Mon, 5 Feb 2018 11:47:58 +0000 (19:47 +0800)]
component/bt: make A2DP sink task size configurable through menuconfig

1. make the A2DP sink task stack size configurable through menuconfig

# Conflicts:
# components/bt/Kconfig
# components/bt/bluedroid/api/include/esp_a2dp_api.h
# components/bt/bluedroid/btc/profile/std/a2dp/btc_a2dp_sink.c
# components/bt/bluedroid/btc/profile/std/a2dp/btc_a2dp_source.c
# components/bt/bluedroid/osi/include/thread.h

6 years agoUpdate cJSON to v1.7.1
Angus Gratton [Mon, 5 Feb 2018 03:31:02 +0000 (11:31 +0800)]
Update cJSON to v1.7.1

* Fix buffer overflow issue in cJSON 1.6.0
* Change cJSON structure to git submodule

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

7 years agoMerge branch 'bugfix/btdm_fix_stop_adv_no_callback_when_adv_has_been_stoped_for_v30...
Jiang Jiang Jian [Thu, 1 Feb 2018 12:15:51 +0000 (20:15 +0800)]
Merge branch 'bugfix/btdm_fix_stop_adv_no_callback_when_adv_has_been_stoped_for_v30' into 'release/v3.0'

Component/bt: fix stop adv no callback when adv has been stoped for v3.0

See merge request idf/esp-idf!1857

7 years agocomponent/bt: free timer resources after using them
wangmengyang [Thu, 1 Feb 2018 05:52:19 +0000 (13:52 +0800)]
component/bt: free timer resources after using them

Bluedroid use a set of timer function pairs such as btu_start_timer/btu_stop_timer, btu_sys_start_timer/btu_sys_stop_timer for use, in a lack of timer release functions. Thus the timers may be exhausted after some event sequence such as repetition of connection/reconnection with different devices. The maximum timer number used in bluedroid is given by ALARM_CBS_NUM which is 30 for now. This bugfix borrowed some update from bluedroid in Andoroid 7.0, which add timer release functions which promote the recycle of timer resources.

# Conflicts:
# components/bt/bluedroid/stack/btu/btu_task.c
# components/bt/bluedroid/stack/gatt/gatt_main.c
# components/bt/bluedroid/stack/rfcomm/port_utils.c
# components/bt/bluedroid/stack/rfcomm/rfc_utils.c

7 years agoComponent/bt: fix stop adv no callback when adv has been stoped
zhiweijian [Tue, 23 Jan 2018 11:48:02 +0000 (19:48 +0800)]
Component/bt: fix stop adv no callback when adv has been stoped

7 years agoMerge branch 'bugfix/btdm_fix_BT_load_boned_in_smp_for_v30' into 'release/v3.0'
Jiang Jiang Jian [Wed, 31 Jan 2018 08:45:58 +0000 (16:45 +0800)]
Merge branch 'bugfix/btdm_fix_BT_load_boned_in_smp_for_v30' into 'release/v3.0'

Component/bt: fix bt loads all the bonded devices in smp for v3.0

See merge request idf/esp-idf!1856

7 years agoMerge branch 'cherry-pick-0f22a53f' into 'release/v3.0'
Ivan Grokhotkov [Mon, 29 Jan 2018 14:33:36 +0000 (22:33 +0800)]
Merge branch 'cherry-pick-0f22a53f' into 'release/v3.0'

sysview: fix compilation in 1 core mode, refactor timer choices (cherry-pick for 3.0)

See merge request idf/esp-idf!1873

7 years agoMerge branch 'bugfix/sysview_timer_1core' into 'master'
Ivan Grokhotkov [Mon, 29 Jan 2018 09:28:59 +0000 (17:28 +0800)]
Merge branch 'bugfix/sysview_timer_1core' into 'master'

sysview: fix compilation in 1 core mode, refactor timer choices

See merge request idf/esp-idf!1822

(cherry picked from commit 0f22a53fc22798dfcfa12fe491e5dc0e714ff227)

c3d82157 sysview: fix compilation in 1 core mode, refactor timer choices

7 years agoComponent/bt: fix bt load boned in smp
zhiweijian [Fri, 26 Jan 2018 06:45:36 +0000 (14:45 +0800)]
Component/bt: fix bt load boned in smp

7 years agoMerge branch 'bugfix/btdm_fix_bonded_device_list_error_after_reboot_v30' into 'releas...
Jiang Jiang Jian [Fri, 26 Jan 2018 03:38:19 +0000 (11:38 +0800)]
Merge branch 'bugfix/btdm_fix_bonded_device_list_error_after_reboot_v30' into 'release/v3.0'

Component/bt: fix bonded device list error after reboot for v3.0

See merge request !1849

7 years agoComponent/bt: fix bonded device list error after reboot
zhiweijian [Fri, 5 Jan 2018 09:57:40 +0000 (17:57 +0800)]
Component/bt: fix bonded device list error after reboot

7 years agoMerge branch 'cherry-pick-c25be19e' into 'release/v3.0'
Jiang Jiang Jian [Thu, 25 Jan 2018 15:12:56 +0000 (23:12 +0800)]
Merge branch 'cherry-pick-c25be19e' into 'release/v3.0'

Merge branch 'bugfix/multi_ping_crash' into 'release/v3.0'

See merge request !1851

7 years agoMerge branch 'bugfix/fix_uart_related_bug' into 'release/v3.0'
Jiang Jiang Jian [Thu, 25 Jan 2018 11:34:04 +0000 (19:34 +0800)]
Merge branch 'bugfix/fix_uart_related_bug' into 'release/v3.0'

driver(uart): merge uart related bugfixes into v3.0

See merge request !1845

7 years agoMerge branch 'bugfix/multi_ping_crash' into 'master'
Wu Jian Gang [Tue, 16 Jan 2018 01:05:32 +0000 (09:05 +0800)]
Merge branch 'bugfix/multi_ping_crash' into 'master'

fix(ping): fix crash when multi-ping

See merge request !1768

7 years agoMerge branch 'cherry-pick-02821571' into 'release/v3.0'
Jiang Jiang Jian [Thu, 25 Jan 2018 08:13:46 +0000 (16:13 +0800)]
Merge branch 'cherry-pick-02821571' into 'release/v3.0'

Merge branch 'bugfix/xRingbufferSend_timeout_bug' into 'release/v3.0'

See merge request !1843

7 years agoMerge branch 'bugfix/wifi_fix_espnow_mem_leak_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Wed, 24 Jan 2018 13:44:27 +0000 (21:44 +0800)]
Merge branch 'bugfix/wifi_fix_espnow_mem_leak_v3.0' into 'release/v3.0'

fix espnow memory leak

See merge request !1842

7 years agodriver(uart):merge branch into v3.0 which fixed three bug related with uart
kooho [Wed, 24 Jan 2018 13:27:12 +0000 (21:27 +0800)]
driver(uart):merge branch into v3.0 which fixed three bug related with uart
    1. uart fifo reset
    2. uart pattern interrupt
    3. uart buffered_len error.

7 years agoMerge branch 'bugfix/xRingbufferSend_timeout_bug' into 'master'
Ivan Grokhotkov [Tue, 23 Jan 2018 07:37:13 +0000 (15:37 +0800)]
Merge branch 'bugfix/xRingbufferSend_timeout_bug' into 'master'

bugfix(ringbuffer): Fix ringbuffer_send timeout bug

See merge request !1823

7 years agofix espnow memory leak
XiaXiaotian [Wed, 24 Jan 2018 08:20:20 +0000 (16:20 +0800)]
fix espnow memory leak

7 years agoMerge branch 'cherry-pick-ce2e4cbc' into 'release/v3.0'
Jiang Jiang Jian [Wed, 24 Jan 2018 07:55:46 +0000 (15:55 +0800)]
Merge branch 'cherry-pick-ce2e4cbc' into 'release/v3.0'

Merge branch 'bugfix/log_hex_buffer_pr1519' into 'release/v3.0'

See merge request !1839

7 years agoMerge branch 'bugfix/wifi_fix_sniffer_rx_misc_data_assert_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Tue, 23 Jan 2018 14:52:10 +0000 (22:52 +0800)]
Merge branch 'bugfix/wifi_fix_sniffer_rx_misc_data_assert_v3.0' into 'release/v3.0'

Fix the bug that in sniffer mode it asserts when receive misc data at first

See merge request !1833

7 years agoMerge branch 'bugfix/log_hex_buffer_pr1519' into 'master'
Jiang Jiang Jian [Tue, 23 Jan 2018 14:45:41 +0000 (22:45 +0800)]
Merge branch 'bugfix/log_hex_buffer_pr1519' into 'master'

Fix hexdump comment and array size. See issue #1518.

See merge request !1832

7 years agoMerge branch 'bugfix/btdm_classicbt_pscan_assert_for_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Tue, 23 Jan 2018 14:39:28 +0000 (22:39 +0800)]
Merge branch 'bugfix/btdm_classicbt_pscan_assert_for_v3.0' into 'release/v3.0'

component/bt : fix the bug of pscan when interrupt react slowly

See merge request !1835

7 years agoFix the bug that in sniffer mode it asserts when receive misc data at first.
XiaXiaotian [Mon, 22 Jan 2018 13:36:42 +0000 (21:36 +0800)]
Fix the bug that in sniffer mode it asserts when receive misc data at first.

    close github issue#1037 WiFi Promiscuous filter breaks w/
WIFI_PROMIS_FILTER_MASK_ALL and issue#1404
esp_wifi_set_promiscuous_filter set WIFI_PROMIS_FILTER_MASK_ALL error

7 years agocomponent/bt : fix the bug of pscan when interrupt react slowly
Tian Hao [Tue, 23 Jan 2018 06:16:02 +0000 (14:16 +0800)]
component/bt : fix the bug of pscan when interrupt react slowly

7 years agoMerge branch 'feature/mdns_3.0' into 'release/v3.0'
Ivan Grokhotkov [Tue, 23 Jan 2018 05:54:28 +0000 (13:54 +0800)]
Merge branch 'feature/mdns_3.0' into 'release/v3.0'

New mDNS implementation, cherry-pick for 3.0

See merge request !1834

7 years agomdns: Fix case where service is NULL and that will cause exception
me-no-dev [Mon, 22 Jan 2018 12:17:59 +0000 (13:17 +0100)]
mdns: Fix case where service is NULL and that will cause exception

7 years agomdns: Fix issue with some mDNS parsers
me-no-dev [Wed, 17 Jan 2018 17:06:42 +0000 (19:06 +0200)]
mdns: Fix issue with some mDNS parsers

Some mDNS parser have issue with zero terminated TXT lists. This fix targets to overcome this issue. Found and tested with jmdns.

7 years agoImport mDNS changes
me-no-dev [Thu, 7 Dec 2017 13:21:40 +0000 (14:21 +0100)]
Import mDNS changes

7 years agoMerge branch 'feature/btdm_ble_spp_docs_for_3.0' into 'release/v3.0'
Jiang Jiang Jian [Wed, 17 Jan 2018 02:19:43 +0000 (10:19 +0800)]
Merge branch 'feature/btdm_ble_spp_docs_for_3.0' into 'release/v3.0'

component/bt: add ble spp readme for 3.0

See merge request !1769

7 years agoMerge branch 'cherry-pick-f0ed4044' into 'release/v3.0'
Jiang Jiang Jian [Tue, 16 Jan 2018 11:43:52 +0000 (19:43 +0800)]
Merge branch 'cherry-pick-f0ed4044' into 'release/v3.0'

Merge branch 'bugfix/btdm_pair_fail_with_random_address' into 'master'

See merge request !1819

7 years agoMerge branch 'bugfix/btdm_pair_fail_with_random_address' into 'master'
Jiang Jiang Jian [Tue, 16 Jan 2018 10:17:45 +0000 (18:17 +0800)]
Merge branch 'bugfix/btdm_pair_fail_with_random_address' into 'master'

component/bt: Fix bug when pair with random address

See merge request !1784

7 years agoMerge branch 'bugfix/fix_rare_ci_example_build_errors' into 'release/v3.0'
Jiang Jiang Jian [Tue, 16 Jan 2018 09:13:08 +0000 (17:13 +0800)]
Merge branch 'bugfix/fix_rare_ci_example_build_errors' into 'release/v3.0'

cherry-pick fix rare ci example build errors to release v3.0

See merge request !1813

7 years agoMerge branch 'bugfix/btdm_discon_when_upd_conn_params_in_smp_for_v3.0' into 'release...
Jiang Jiang Jian [Tue, 16 Jan 2018 08:41:26 +0000 (16:41 +0800)]
Merge branch 'bugfix/btdm_discon_when_upd_conn_params_in_smp_for_v3.0' into 'release/v3.0'

component/bt: fix disconnect after connection params update in smp for v3.0

See merge request !1805

7 years agoMerge branch 'bugfix/btdm_fix_conn_params_update_failed_in_SMP_for_v3.0' into 'releas...
Jiang Jiang Jian [Tue, 16 Jan 2018 08:38:36 +0000 (16:38 +0800)]
Merge branch 'bugfix/btdm_fix_conn_params_update_failed_in_SMP_for_v3.0' into 'release/v3.0'

Component/bt: fix update connection params error in smp for v3.0

See merge request !1809

7 years agoCI: Fix an occasional error caused by reordering the commands along with 'tee' in...
Anton Maklakov [Fri, 5 Jan 2018 04:38:44 +0000 (12:38 +0800)]
CI: Fix an occasional error caused by reordering the commands along with 'tee' in the script

7 years agobuild system: Fix undefined variables
Anton Maklakov [Fri, 20 Oct 2017 04:14:41 +0000 (12:14 +0800)]
build system: Fix undefined variables

    make/project.mk:315: warning: undefined variable `CC'
    make/project.mk:316: warning: undefined variable `LD'
    make/project.mk:317: warning: undefined variable `AR'
    make/project.mk:62: warning: undefined variable `MAKECMDGOALS'
    components/partition_table/Makefile.projbuild:24: warning: undefined variable `quote'
    components/bootloader/Makefile.projbuild:123: warning: undefined variable 'BOOTLOADER_DIGEST_BIN'
    components/bootloader/Makefile.projbuild:123: warning: undefined variable 'SECURE_BOOTLOADER_KEY'

7 years agoCI: Fix a sporadic bug when building of the examples. Add logs to the artifacts
Anton Maklakov [Thu, 28 Dec 2017 10:20:14 +0000 (18:20 +0800)]
CI: Fix a sporadic bug when building of the examples. Add logs to the artifacts

7 years agoMerge branch 'bugfix/wifi_cal_real_rx_bcn_time_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Mon, 15 Jan 2018 14:30:54 +0000 (22:30 +0800)]
Merge branch 'bugfix/wifi_cal_real_rx_bcn_time_v3.0' into 'release/v3.0'

Fix two wifi bugs

See merge request !1798

7 years agoFix two wifi bugs
XiaXiaotian [Mon, 15 Jan 2018 06:16:42 +0000 (14:16 +0800)]
Fix two wifi bugs

1. Fix the bug that receiving beacon time is not correct.

2. close github issue#233 esp_wifi_restore() bug.

7 years agoComponent/bt: fix update connection params error in smp for v3.0
zhiweijian [Mon, 15 Jan 2018 11:55:50 +0000 (19:55 +0800)]
Component/bt: fix update connection params error in smp for v3.0

7 years agoMerge branch 'cherry-pick-c401a74b' into 'release/v3.0'
Jiang Jiang Jian [Mon, 15 Jan 2018 10:49:25 +0000 (18:49 +0800)]
Merge branch 'cherry-pick-c401a74b' into 'release/v3.0'

Merge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master'

See merge request !1800

7 years agoMerge branch 'cherry-pick-0cd97cec' into 'release/v3.0'
Jiang Jiang Jian [Mon, 15 Jan 2018 10:49:11 +0000 (18:49 +0800)]
Merge branch 'cherry-pick-0cd97cec' into 'release/v3.0'

Merge branch 'bugfix/btdm_error_when_add_device_to_whitelist_twice' into 'master'

See merge request !1799

7 years agoMerge branch 'bugfix/fix_qos_bug_in_11g_mode_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Mon, 15 Jan 2018 10:26:30 +0000 (18:26 +0800)]
Merge branch 'bugfix/fix_qos_bug_in_11g_mode_v3.0' into 'release/v3.0'

Bugfix/fix qos bug in 11g mode v3.0

See merge request !1790

7 years agocomponent/bt: fix disconnect after connection params update in smp
zhiweijian [Mon, 15 Jan 2018 09:12:23 +0000 (17:12 +0800)]
component/bt: fix disconnect after connection params update in smp

7 years agoMerge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master'
Jiang Jiang Jian [Tue, 2 Jan 2018 08:15:39 +0000 (16:15 +0800)]
Merge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master'

component/bt: disable Secure Connections to workaround AES encryption issue

See merge request !1719

7 years agoMerge branch 'bugfix/btdm_error_when_add_device_to_whitelist_twice' into 'master'
Jiang Jiang Jian [Mon, 8 Jan 2018 11:16:34 +0000 (19:16 +0800)]
Merge branch 'bugfix/btdm_error_when_add_device_to_whitelist_twice' into 'master'

component/bt: Fix bug when add device to whitelist twice

See merge request !1700

7 years agocomponent/bt: add ble spp readme for 3.0
xiewenxiang [Tue, 9 Jan 2018 09:32:56 +0000 (17:32 +0800)]
component/bt: add ble spp readme for 3.0

7 years agoesp32: fix qos bug in 11g mode
Liu Zhi Fu [Fri, 12 Jan 2018 06:14:20 +0000 (14:14 +0800)]
esp32: fix qos bug in 11g mode

Fix qos bug in 11g mode (release/v3.0 - 8e861901)

7 years agoMerge branch 'feature/toolchain-80-g6c4433a-v30' into 'release/v3.0'
Ivan Grokhotkov [Thu, 11 Jan 2018 13:45:11 +0000 (21:45 +0800)]
Merge branch 'feature/toolchain-80-g6c4433a-v30' into 'release/v3.0'

Toolchain: Update to version 1.22.0-80-g6c4433a (v3.0 backport)

See merge request !1772

7 years agobuild: Remove explict -lstdc++-psram-workaround
Angus Gratton [Wed, 10 Jan 2018 23:30:36 +0000 (10:30 +1100)]
build: Remove explict -lstdc++-psram-workaround

This is now handled internally to the toolchain.

7 years agoMerge branch 'cherry-pick-675844c4' into 'release/v3.0'
Jiang Jiang Jian [Wed, 10 Jan 2018 12:58:47 +0000 (20:58 +0800)]
Merge branch 'cherry-pick-675844c4' into 'release/v3.0'

Merge branch 'bugfix/assert_in_PSRAM_WIFI' into 'master'

See merge request !1773

7 years agoMerge branch 'cherry-pick-16391c27' into 'release/v3.0'
Jiang Jiang Jian [Wed, 10 Jan 2018 12:58:33 +0000 (20:58 +0800)]
Merge branch 'cherry-pick-16391c27' into 'release/v3.0'

Merge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'

See merge request !1774

7 years agoMerge branch 'bugfix/btdm_fix_cant_remove_boned_device_if_its_connected_v30' into...
Jiang Jiang Jian [Wed, 10 Jan 2018 12:49:24 +0000 (20:49 +0800)]
Merge branch 'bugfix/btdm_fix_cant_remove_boned_device_if_its_connected_v30' into 'release/v3.0'

Component/bt: fix can not remove boned device if it is connected for v3.0

See merge request !1770

7 years agoMerge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'
Jiang Jiang Jian [Wed, 10 Jan 2018 09:01:53 +0000 (17:01 +0800)]
Merge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'

Fix bug that when we do full calibration init data bin is not used

See merge request !1746

7 years agoMerge branch 'bugfix/assert_in_PSRAM_WIFI' into 'master'
Jiang Jiang Jian [Wed, 10 Jan 2018 08:47:40 +0000 (16:47 +0800)]
Merge branch 'bugfix/assert_in_PSRAM_WIFI' into 'master'

bug fix of assert happen in PSRAM

See merge request !1745

7 years agoToolchain: Update to version 1.22.0-80-g6c4433a
Angus Gratton [Wed, 10 Jan 2018 03:29:10 +0000 (14:29 +1100)]
Toolchain: Update to version 1.22.0-80-g6c4433a

Includes updated prebuilt Windows MSYS2 environment.

7 years agoComponent/bt: fix can not remove boned device if it is connected
zhiweijian [Wed, 10 Jan 2018 02:46:11 +0000 (10:46 +0800)]
Component/bt: fix can not remove boned device if it is connected

7 years agoMerge branch 'bugfix/BLE_SM_Security_Flags_pr1320_v30' into 'release/v3.0'
Jiang Jiang Jian [Tue, 9 Jan 2018 07:49:04 +0000 (15:49 +0800)]
Merge branch 'bugfix/BLE_SM_Security_Flags_pr1320_v30' into 'release/v3.0'

bt: Fix ble sm security flags (v3.0 backport)

See merge request !1754

7 years agoMerge branch 'bugfix/btdm_avrc_connect_state_evt_for_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Tue, 9 Jan 2018 07:39:02 +0000 (15:39 +0800)]
Merge branch 'bugfix/btdm_avrc_connect_state_evt_for_v3.0' into 'release/v3.0'

component/bt: add AVRC event for remote features indication

See merge request !1734

7 years agocomponent/bt: add AVRC event for remote features indication
wangmengyang [Mon, 8 Jan 2018 11:43:54 +0000 (19:43 +0800)]
component/bt: add AVRC event for remote features indication

1. remove the feature mask parameter from AVRC connection state event, as the AVCTP connection can be initiated by remote device before service discovery to remote device is performed. \
In this case, AVRCP connection state event may not be reported after connection initated by remote device is established.
2. remove ESP_AVRC_CT_MAX_EVT
3. add more documentations to AVRC APIs

7 years agoMerge branch 'bugfix/btdm_standardize_code_3.0' into 'release/v3.0'
Jiang Jiang Jian [Mon, 8 Jan 2018 11:24:26 +0000 (19:24 +0800)]
Merge branch 'bugfix/btdm_standardize_code_3.0' into 'release/v3.0'

component/bt: Standardize code

See merge request !1751

7 years agon btm_sec_save_le_key() set BTM_SEC_LE_LINK_KEY_KNOWN (and BTM_SEC_LE_LINK_KEY_AUTHED...
Tim Cook [Sun, 26 Nov 2017 21:25:46 +0000 (16:25 -0500)]
n btm_sec_save_le_key() set BTM_SEC_LE_LINK_KEY_KNOWN (and BTM_SEC_LE_LINK_KEY_AUTHED if MITM was used) when process a local Long Term Key (key type BTM_LE_KEY_LENC). This is because these flags share bits with the BTM_SEC_FLAG_LKEY_KNOWN (and BTM_SEC_FLAG_LKEY_AUTHED) flag in btm_api.h. Without this code a link that is encrypted via SM pairing where only the local device exchanges the LTK (peer does not send its LTK) will not allow GATT operations that require encryption (request will be incorrectly rejected with insufficient authentication reason, regardless of if MITM is required).

Merges https://github.com/espressif/esp-idf/pull/1320

7 years agoset ble_rsp_key member of structure bte_appl_cfg in function bta_dm_co_ble_set_rsp_ke...
Tim Cook [Sun, 26 Nov 2017 21:24:21 +0000 (16:24 -0500)]
set ble_rsp_key member of structure bte_appl_cfg in function bta_dm_co_ble_set_rsp_key_req (function incorrectly uses ble_init_key member).

Merges https://github.com/espressif/esp-idf/pull/1320

7 years agocomponent/bt: Standardize code
baohongde [Wed, 3 Jan 2018 02:31:30 +0000 (10:31 +0800)]
component/bt: Standardize code

Reported from github:
https://github.com/espressif/esp-idf/issues/1402
https://github.com/espressif/esp-idf/issues/1403

7 years agoMerge branch 'feature/btdm_add_bluetooth_examples_tutorials_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Wed, 3 Jan 2018 05:06:13 +0000 (13:06 +0800)]
Merge branch 'feature/btdm_add_bluetooth_examples_tutorials_v3.0' into 'release/v3.0'

Feature/btdm add bluetooth examples tutorials v3.0

See merge request !1709

7 years agocomponent/bt: change pictures from .pdf to .png
island [Wed, 3 Jan 2018 03:11:44 +0000 (11:11 +0800)]
component/bt: change pictures from .pdf to .png

7 years agocomponent/bt: Modify docs to be compatible with "Github Standard Markdown"
island [Wed, 3 Jan 2018 03:07:55 +0000 (11:07 +0800)]
component/bt: Modify docs to be compatible with "Github Standard Markdown"

7 years agocomponent/bt: add link of tutorial in README.rst
island [Wed, 29 Nov 2017 07:40:55 +0000 (15:40 +0800)]
component/bt: add link of tutorial in README.rst

7 years agocomponent/bt: Add bluetooth example tutorials
island [Fri, 24 Nov 2017 02:42:08 +0000 (10:42 +0800)]
component/bt: Add bluetooth example tutorials

7 years agoMerge branch 'bugfix/i2c_regression_v30' into 'release/v3.0'
Angus Gratton [Tue, 2 Jan 2018 23:27:11 +0000 (07:27 +0800)]
Merge branch 'bugfix/i2c_regression_v30' into 'release/v3.0'

Fix regression in i2c_master_read() which rejected all data lengths (v3.0 backport)

See merge request !1731

7 years agoFix regression in i2c_master_read() which rejected all data lenths.
Per Malmberg [Thu, 28 Dec 2017 13:54:15 +0000 (14:54 +0100)]
Fix regression in i2c_master_read() which rejected all data lenths.

7 years agoMerge branch 'bugfix/recompile_with_new_psram_toolchain_v3.0' into 'release/v3.0'
Jiang Jiang Jian [Fri, 29 Dec 2017 10:33:46 +0000 (18:33 +0800)]
Merge branch 'bugfix/recompile_with_new_psram_toolchain_v3.0' into 'release/v3.0'

recompile wifi lib with new toolchain 1.22.0-78-g4b87650

See merge request !1729

7 years agoMerge branch 'bugfix/build_bt_lib_with_updated_toolchain' into 'release/v3.0'
Jiang Jiang Jian [Fri, 29 Dec 2017 10:26:41 +0000 (18:26 +0800)]
Merge branch 'bugfix/build_bt_lib_with_updated_toolchain' into 'release/v3.0'

component/bt: build libbtdm_app.a with updated toolchain for ESP-IDF v3.0

See merge request !1727

7 years agorecompile wifi lib with new toolchain 1.22.0-78-g4b87650
XiaXiaotian [Fri, 29 Dec 2017 08:42:05 +0000 (16:42 +0800)]
recompile wifi lib with new toolchain 1.22.0-78-g4b87650

7 years agocomponent/bt: build libbtdm_app.a with updated toolchain for ESP-IDF v3.0
wangmengyang [Fri, 29 Dec 2017 07:24:02 +0000 (15:24 +0800)]
component/bt: build libbtdm_app.a with updated toolchain for ESP-IDF v3.0

7 years agoMerge branch 'bugfix/static_mem_workaround_v30' into 'release/v3.0'
Ivan Grokhotkov [Fri, 29 Dec 2017 04:56:39 +0000 (12:56 +0800)]
Merge branch 'bugfix/static_mem_workaround_v30' into 'release/v3.0'

esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround

See merge request !1724

7 years agoesp32: Change 192KB runtime static limit workaround to a 176KB link time workaround
Angus Gratton [Fri, 22 Dec 2017 07:36:12 +0000 (18:36 +1100)]
esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround

Turns out some app memory around 0x3ffdc000 is also used by APP CPU.

This is a workaround until code to remove the 176KB limit is committed.

7 years agoMerge branch 'cherry-pick-13a087a3' into 'release/v3.0'
Jiang Jiang Jian [Thu, 28 Dec 2017 14:07:55 +0000 (22:07 +0800)]
Merge branch 'cherry-pick-13a087a3' into 'release/v3.0'

Merge branch 'bugfix/iperf_example_bugfix' into 'master'

See merge request !1720

7 years agoMerge branch 'cherry-pick-566fab02' into 'release/v3.0'
Jiang Jiang Jian [Thu, 28 Dec 2017 14:07:46 +0000 (22:07 +0800)]
Merge branch 'cherry-pick-566fab02' into 'release/v3.0'

Merge branch 'bugfix/btdm_disconnect_fail_during_pairing' into 'master'

See merge request !1716

7 years agoMerge branch 'cherry-pick-7d0d2854' into 'release/v3.0'
Jiang Jiang Jian [Thu, 28 Dec 2017 14:07:27 +0000 (22:07 +0800)]
Merge branch 'cherry-pick-7d0d2854' into 'release/v3.0'

Merge branch 'bugfix/btdm_error_when_white_list_is_full' into 'master'

See merge request !1715

7 years agoMerge branch 'cherry-pick-into-3.0' into 'release/v3.0'
Jiang Jiang Jian [Thu, 28 Dec 2017 09:58:35 +0000 (17:58 +0800)]
Merge branch 'cherry-pick-into-3.0' into 'release/v3.0'

Cherry pick into 3.0

See merge request !1714

7 years agoMerge branch 'bugfix/iperf_example_bugfix' into 'master'
Angus Gratton [Wed, 27 Dec 2017 01:01:21 +0000 (09:01 +0800)]
Merge branch 'bugfix/iperf_example_bugfix' into 'master'

example: some modification about iperf example

See merge request !1603

7 years agoMerge branch 'bugfix/btdm_disconnect_fail_during_pairing' into 'master'
Jiang Jiang Jian [Wed, 27 Dec 2017 10:03:13 +0000 (18:03 +0800)]
Merge branch 'bugfix/btdm_disconnect_fail_during_pairing' into 'master'

component/bt: Fix bug of disconnected fail during pairing

See merge request !1672

7 years agoMerge branch 'bugfix/btdm_error_when_white_list_is_full' into 'master'
Jiang Jiang Jian [Wed, 27 Dec 2017 10:03:38 +0000 (18:03 +0800)]
Merge branch 'bugfix/btdm_error_when_white_list_is_full' into 'master'

component/bt: Fix bug of adding device to white list has no callback when while list is full

See merge request !1689

7 years agofreertos: prvCheckTasksWaitingTermination bugfix
Darian Leung [Mon, 18 Dec 2017 13:58:15 +0000 (21:58 +0800)]
freertos: prvCheckTasksWaitingTermination bugfix

Bugfix to prevent a self deleting no affinity task's memory from being freed by the
idle task of the other core before the self deleting no affinity task is able to context
switch out.  prvCheckTasksWaitingTermination now checks if the task is still on
pxCurrentTCB before freeing task memory.

7 years agoReview comments implemented
krzychb [Fri, 1 Dec 2017 06:29:54 +0000 (07:29 +0100)]
Review comments implemented

7 years agoRMT transmitter and receiver overview pictures
krzychb [Thu, 23 Nov 2017 22:53:06 +0000 (23:53 +0100)]
RMT transmitter and receiver overview pictures

7 years agoImplement review comments
krzychb [Wed, 22 Nov 2017 06:07:49 +0000 (07:07 +0100)]
Implement review comments

7 years agoRMT API docs update, new example
krzychb [Mon, 20 Nov 2017 03:51:30 +0000 (04:51 +0100)]
RMT API docs update, new example

7 years agoA workaround for MSYS2 / Windows system to be able to install 'blockdiag'
krzychb [Mon, 18 Dec 2017 04:31:39 +0000 (05:31 +0100)]
A workaround for MSYS2 / Windows system to be able to install 'blockdiag'

7 years agoadd NACK for the last byte to read
kooho [Tue, 21 Nov 2017 13:10:17 +0000 (21:10 +0800)]
add NACK for the last byte to read

7 years agoAdd support for Makefile.componentbuild files
Jeroen Domburg [Wed, 13 Dec 2017 07:48:49 +0000 (15:48 +0800)]
Add support for Makefile.componentbuild files

7 years agoAdd .editorconfig file
Tuan PM [Fri, 15 Dec 2017 16:37:10 +0000 (23:37 +0700)]
Add .editorconfig file

remove newlinet in binary file

editorconfig style guide

correct format for rst hyperlinks

7 years agoFix the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams...
Jeroen Domburg [Tue, 19 Dec 2017 11:12:58 +0000 (19:12 +0800)]
Fix the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams the enable/reset bits of SPI3 in when 80MHz mode is selected anymore