Jiang Jiang Jian
e6d6deebc7
Merge branch 'bugfix/btdm_fix_connect_fail_when_remote_addr_is_random' into 'master'
...
Component/bt: modify open API params
See merge request idf/esp-idf!2116
2018-03-30 17:00:19 +08:00
Jiang Jiang Jian
6ffd089c97
Merge branch 'bugfix/btdm_fix_no_set_rand_addr_event_callback' into 'master'
...
Component/bt: fix no set rand add callback
See merge request idf/esp-idf!2140
2018-03-30 16:05:32 +08:00
Jiang Jiang Jian
b26ab188af
Merge branch 'bugfix/btdm_fix_service_change_event_param_error' into 'master'
...
Component/bt: fix service change event params error
See merge request idf/esp-idf!2150
2018-03-30 14:57:13 +08:00
Jiang Jiang Jian
fc5b15173e
Merge branch 'bugfix/btdm_add_some_comment' into 'master'
...
Component/bt: add some comments
See merge request idf/esp-idf!1949
2018-03-30 14:07:30 +08:00
Jiang Jiang Jian
713529e464
Merge branch 'bugfix/btdm_xQueueGenericSend_assertion' into 'master'
...
component/bt: Fix xQueueGenericSend assertion
See merge request idf/esp-idf!2130
2018-03-30 14:02:24 +08:00
zhiweijian
109a93bf8c
Component/bt: fix get PID key error
2018-03-30 11:31:15 +08:00
zhiweijian
e6262375a3
Component/bt: fix connect fail when remote addr type is random
2018-03-29 20:55:31 +08:00
zhiweijian
aa236809ad
Component/bt: fix no set rand add callback event
2018-03-29 20:17:14 +08:00
zhiweijian
8a78860b16
Component/bt: add esp_ble_gap_get_local_used_addr() API
2018-03-29 19:47:08 +08:00
zhiweijian
f5d581421e
Component/bt: fix service change event params error
2018-03-29 16:11:16 +08:00
baohongde
e1b419fb6d
component/bt: Fix xQueueGenericSend assertion
2018-03-28 20:25:57 +08:00
Tian Hao
3843bff97b
component/bt : fix interrupt slow reaction cause assert(interrupt wdt)
...
Some application lock interrupt(portENTER_CRITICAL) too long time,
it will cause bluetooth cannot react interrupt in time, then t will
cause some assert, assert info following:
1. ld_acl.c 1900
2. ld_fm.c 340
3. other assert reference to this.
2018-03-28 12:04:16 +08:00
Tian Hao
4b1ef083ee
component/bt : add bluetooth controller library compile version
2018-03-27 16:35:00 +08:00
wangmengyang
fd8c484b33
component/bt: bugfix for no link key notification event on repairing for initiating side of simple pairing
...
In response to: https://github.com/espressif/esp-idf/issues/1275
2018-03-27 11:22:47 +08:00
Jiang Jiang Jian
0a83733d2d
Merge branch 'bugfix/btdm_spp_handle_error' into 'master'
...
component/bt: Fix bug of SPP handle error
See merge request idf/esp-idf!2026
2018-03-22 10:08:47 +08:00
zhiweijian
064c274bd6
Component/bt: fix build error when close SMP
2018-03-21 15:21:30 +08:00
Jiang Jiang Jian
c45170cb66
Merge branch 'bugfix/btdm_fix_reconnect_fail_in_smp_v30' into 'release/v3.0'
...
Component/bt: fix reconnect fail in smp for v3.0
See merge request idf/esp-idf!2075
(cherry picked from commit 7f2a9f0359
)
d0e55335
Component/bt: fix reconnect fail in smp
2018-03-20 18:49:22 +08:00
Jiang Jiang Jian
0f6f762be0
Merge branch 'bugfix/btdm_add_char_descr_uuid_error' into 'master'
...
component/bt: Change the char_uuid to descr_uuid in the add descriptor callback params.
See merge request idf/esp-idf!2065
2018-03-20 18:43:42 +08:00
baohongde
2531975ca0
component/bt: Fix bug: AVRC remote_bda error when disconnect
2018-03-20 15:12:36 +08:00
zhiweijian
7c777f40aa
Component/bt: add some comment
2018-03-19 21:19:21 +08:00
Jiang Jiang Jian
259220f33d
Merge branch 'bugfix/btdm_spp_invalid_handle_path' into 'master'
...
component/bt: Fix bug of SPP invalid handle path
See merge request idf/esp-idf!2056
2018-03-19 18:40:47 +08:00
Ivan Grokhotkov
e784df60cc
Merge branch 'bugfix/fix_param_name_comments_bt' into 'master'
...
components/bt: Fix parameter name and print statements
See merge request idf/esp-idf!2032
2018-03-19 16:59:09 +08:00
Ivan Grokhotkov
85c9164f50
Merge branch 'bugfix/fix_bt_typos' into 'master'
...
components/bt examples/bluetooth: Fix typographical errors
See merge request idf/esp-idf!1950
2018-03-19 16:58:55 +08:00
baohongde
1c48b4f01e
component/bt: Fix bug of SPP invalid handle path
2018-03-19 02:22:45 +00:00
baohongde
b9ea6a2067
component/bt: Fix bug of a2dp source cleanup bug when connected
2018-03-19 02:21:12 +00:00
zwj
d1405183a5
component/bt: fix gattc open api
2018-03-16 19:17:55 +08:00
Jiang Jiang Jian
7e268adaf5
Merge branch 'bugfix/btdm_mem_leak_of_bt_dynamic_memory' into 'master'
...
component/bt: Fix bug of bt dynamic memory
See merge request idf/esp-idf!2053
2018-03-15 17:01:20 +08:00
Jiang Jiang Jian
dc66940f82
Merge branch 'bugfix/btdm_a2dp_disc_rsn_error_when_as_master' into 'master'
...
component/bt: Fix bug: a2dp disc_rsn error when as master
See merge request idf/esp-idf!1995
2018-03-15 15:28:11 +08:00
Jiang Jiang Jian
488268d58b
Merge branch 'bugfix/btdm_a2dp_sink_cleanup_bug' into 'master'
...
component/bt: Fix bug of a2dp sink cleanup bug when connected
See merge request idf/esp-idf!2041
2018-03-15 15:04:39 +08:00
baohongde
3ee5b49575
component/bt: Fix bug of bt dynamic memory
2018-03-15 14:36:49 +08:00
Yulong
c802ea842d
component/bt: Change the char_uuid to descr_uuid in the add descriptor callback params.
2018-03-15 02:29:11 -04:00
Jiang Jiang Jian
047870fd80
Merge branch 'bugfix/btdm_string_to_bdaddr_error_when_opening_nano' into 'master'
...
component/bt: Fix bug: string_to_bdaddr() error when opening nano
See merge request idf/esp-idf!1981
2018-03-15 14:14:47 +08:00
baohongde
c0eadc514f
component/bt: Fix bug of a2dp sink cleanup bug when connected
2018-03-14 06:27:26 +00:00
Hrishikesh Dhayagude
9831eca4b2
components/bt: Fix parameter name and print statement
...
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-03-09 13:53:27 +05:30
baohongde
d082316507
component/bt: Fix bug of SPP handle error
2018-03-09 11:46:30 +08:00
Jiang Jiang Jian
a54b413367
Merge branch 'bugfix/btdm_clear_start_stop_adv_callback_when_complete' into 'master'
...
Component/bt: clear start/stop adv callback when complete
See merge request idf/esp-idf!1938
2018-03-08 20:22:10 +08:00
Jiang Jiang Jian
702b46108c
Merge branch 'bugfix/btdm_fix_set_error_channel_map_in_adv_params' into 'master'
...
Component/bt: fix set error params and return callback when start adv
See merge request idf/esp-idf!1943
2018-03-08 20:18:30 +08:00
Jiang Jiang Jian
d3d3a6fc39
Merge branch 'feature/btdm_blufi_add_custom_data_cmd' into 'master'
...
Component/bt: blufi add custom data cmd
See merge request idf/esp-idf!2017
2018-03-08 20:15:27 +08:00
Jiang Jiang Jian
db690e3f85
Merge branch 'bugfix/btdm_add_param_check_in_gap_set_prefer_conn_params' into 'master'
...
Component/bt: add_params_check_in_prefer_conn_params()
See merge request idf/esp-idf!1944
2018-03-08 20:08:33 +08:00
Jiang Jiang Jian
bcfbb6154c
Merge branch 'bugfix/btdm_fix_get_attr_value_error_after_prepare_write' into 'master'
...
Component/bt: fix get attr value error after prepare write
See merge request idf/esp-idf!1976
2018-03-08 20:06:47 +08:00
zhiweijian
b1d8ea84c3
Component/bt: blufi add custom data cmd
2018-03-08 17:38:44 +08:00
Jiang Jiang Jian
983e9f854d
Merge branch 'bugfix/btdm_error_log' into 'master'
...
component/bt: remove some error logs which are not error
See merge request idf/esp-idf!1826
2018-03-06 19:37:16 +08:00
baohongde
3824f0eb8f
component/bt: Fix spp lock error
2018-03-06 14:57:08 +08:00
baohongde
f1d3f689e8
component/bt: Fix bug: a2dp disc_rsn error when as master
2018-03-06 14:11:28 +08:00
baohongde
569b9d592e
component/bt: remove some error logs which are not error
2018-03-05 19:22:21 +08:00
Jiang Jiang Jian
17e8d49f26
Merge branch 'bugfix/btdm_update_pktLen_have_no_callback' into 'master'
...
component/bt: Fix bug:update pktlen have no callback
See merge request idf/esp-idf!1913
2018-03-05 16:14:48 +08:00
Jiang Jiang Jian
275fa2cc36
Merge branch 'bugfix/btdm_add_lock_for_spp_without_VFS' into 'master'
...
component/bt: Add lock for SPP slot
See merge request idf/esp-idf!2002
2018-03-05 16:06:16 +08:00
baohongde
c4cdb66947
component/bt: Add lock for SPP slot
2018-03-02 18:11:47 +08:00
zhiweijian
1e6f52fb6f
Component/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option
2018-02-28 16:44:05 +08:00
baohongde
54320d5f7b
component/bt: Fix bug: string_to_bdaddr() error when opening nano
2018-02-26 15:09:03 +08:00
zhiweijian
6a9c99a414
Component/bt: fix get attr value error after prepare write
2018-02-24 16:39:00 +08:00
Jiang Jiang Jian
165e3edd49
Merge branch 'bugfix/btdm_mem_leak_of_bt' into 'master'
...
component/bt: Fix mem leak of bt
See merge request idf/esp-idf!1924
2018-02-24 10:25:13 +08:00
Ing. Jaroslav Šafka
475e3cc43e
Fix function name typo. Closes https://github.com/espressif/esp-idf/issue/1572
2018-02-13 15:05:56 +01:00
Hrishikesh Dhayagude
4a7d445301
components/bt examples/bluetooth: Fix typographical errors
...
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-02-13 13:25:33 +05:30
zhiweijian
b09d681da6
Component/bt: add_params_check_in_prefer_conn_params()
2018-02-12 17:43:38 +08:00
zhiweijian
4056878c69
Component/bt: fix set error params and add callback in adv params
2018-02-12 16:34:30 +08:00
zhiweijian
b5c2356528
Component/bt: clear start/stop adv callback when complete
2018-02-11 15:21:51 +08:00
baohongde
0519a73334
component/bt: Fix mem leak of bt
2018-02-08 16:26:12 +08:00
baohongde
acdad3237c
component/bt: Fix bug:update pktlen have no callback
2018-02-06 14:54:05 +08:00
baohongde
79fd3f4f10
component/bt: Fix bug:scan result of adv type is wrong
2018-02-02 19:17:39 +08:00
Jiang Jiang Jian
9ecd718f72
Merge branch 'bugfix/btdm_modify_set_mtu_call_handler' into 'master'
...
Component/bt: modify set mtu call handler
See merge request idf/esp-idf!1850
2018-02-01 20:19:52 +08:00
Jiang Jiang Jian
afe9a5d3ae
Merge branch 'bugfix/btdm_fix_adv_pending_in_smp' into 'master'
...
Component/bt: fix stop adv failed in smp
See merge request idf/esp-idf!1881
2018-02-01 20:17:02 +08:00
Jiang Jiang Jian
dc11c88a57
Merge branch 'bugfix/btdm_ble_mutil_connect_performance_optimiz' into 'master'
...
component/bt: Fixed the bug of ble multi connection not stable issue.
See merge request idf/esp-idf!1868
2018-02-01 20:11:51 +08:00
Jiang Jiang Jian
6595d5392e
Merge branch 'bugfix/btdm_alarm_free' into 'master'
...
component/bt: free timer resources after using them
See merge request idf/esp-idf!1863
2018-02-01 11:01:08 +08:00
Jiang Jiang Jian
0f7d9cf7d3
Merge branch 'bugfix/btdm_a2dp_task_stack_size' into 'master'
...
component/bt: make A2DP source and sink task size configurable through menuconfig
See merge request idf/esp-idf!1825
2018-02-01 10:58:40 +08:00
zhiweijian
e64d78dc57
Component/bt: fix stop adv failed in smp
2018-01-31 16:06:22 +08:00
zhiweijian
b06ea40f66
Component/bt: modify set mtu call handler
2018-01-31 11:28:05 +08:00
wangmengyang
00db39ee1b
component/bt: make A2DP source and sink task size configurable through menuconfig
...
1. use different set of parameters for A2DP source/sink tasks
2. make the task stack size configurable through menuconfig
2018-01-30 14:26:53 +08:00
yulong
06dcca0fcd
component/bt: Fixed the bug of ble multi connection not stable issue.
2018-01-29 14:27:03 +08:00
wangmengyang
90c9ffa975
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.
2018-01-27 19:03:06 +08:00
Jiang Jiang Jian
daa8cfa800
Merge branch 'bugfix/btdm_fix_stop_adv_no_callback_when_adv_has_been_stoped' into 'master'
...
Component/bt: fix stop adv no callback when adv has already stoped
See merge request !1838
2018-01-26 20:37:12 +08:00
zhiweijian
41f338d23c
Component/bt: fix bt load boned in smp
2018-01-26 14:38:54 +08:00
Jiang Jiang Jian
5b1f869880
Merge branch 'feature/btdm_bluedroid_env_dynomic_malloc_enable' into 'master'
...
This MR added the bluedroid env variable can dynamic malloc and BT variable use psram malloc supported
See merge request !1698
2018-01-26 10:06:43 +08:00
zhiweijian
d54e188e61
Component/bt: fix stop adv no callback when adv has been stoped
2018-01-25 15:31:17 +08:00
Jiang Jiang Jian
b98da5da97
Merge branch 'bugfix/btdm_classicbt_pscan_assert' into 'master'
...
component/bt : fix the bug of pscan when interrupt react slowly
See merge request !1816
2018-01-25 13:52:00 +08:00
Jiang Jiang Jian
62fade9970
Merge branch 'bugfix/btdm_fix_bonded_device_list_error_after_reboot' into 'master'
...
component/bt: fix bonded device list error after reboot
See merge request !1750
2018-01-25 12:05:58 +08:00
Yulong
63e5cbbd66
component/bt: Added the bluedroid environment variable dynomic malloc support & support to malloc the memory to the psram.
...
component/bt: Added the Macro for the classic BT support.
component/bt: added the bluedroid deinit method.
component/bt: allow more classic BT global variables to use dynamic allocation scheme
1. allocate memory for AVDT, AVCT control blocks when dynamic memory is used
2. allow SBC decoder buffer to use dynamic allocation scheme
component/bt: Remove the wrong changes in bt/Kconfig & Added the GATTS_INCLUDED in the gatt_free function when gatt service close.
component/bt: Shorten the abbreviation BT_ALLOCATION_FROM_SPIRAM_FIRST and BT_BLE_DYNAMIC_ENV_MEMORY two macros.
2018-01-24 15:18:02 +08:00
Jiang Jiang Jian
84b92a4ead
Merge branch 'feature/btdm_add_get_error_enent_for_blufi' into 'master'
...
component/bt: add error report event for blufi
See merge request !1702
2018-01-22 19:48:29 +08:00
zhiweijian
1861d6e137
Component/bt: fix bonded device list error after reboot
2018-01-17 19:54:49 +08:00
Tian Hao
b617118df3
component/bt : fix the bug of pscan when interrupt react slowly
2018-01-17 11:48:23 +08:00
Jiang Jiang Jian
f0ed404448
Merge branch 'bugfix/btdm_pair_fail_with_random_address' into 'master'
...
component/bt: Fix bug when pair with random address
See merge request !1784
2018-01-16 18:17:45 +08:00
zhiweijian
cf91ad32dc
Component/bt: add get error event for blufi
2018-01-16 17:29:48 +08:00
Jiang Jiang Jian
f2e51bc08a
Merge branch 'bugfix/btdm_discon_when_upd_conn_params_in_smp' into 'master'
...
component/bt: fix disconnect after connection params update in smp
See merge request !1804
2018-01-16 16:41:18 +08:00
Jiang Jiang Jian
ee0af80843
Merge branch 'bugfix/btdm_fix_conn_params_update_failed_in_SMP' into 'master'
...
component/bt: fix conn params update failed in smp
See merge request !1796
2018-01-16 16:38:22 +08:00
baohongde
088dc40e48
component/bt: Fix bug when pair with random address
2018-01-16 08:35:26 +00:00
zhiweijian
4d2c3edc07
Component/bt: add get wifi list cmd for blufi
2018-01-15 12:16:19 +00:00
Jiang Jiang Jian
cd54a95a7f
Merge branch 'feature/btdm_a2dp_src' into 'master'
...
Feature/btdm a2dp src
See merge request !1190
2018-01-15 18:55:01 +08:00
zhiweijian
0891ec35c7
component/bt: fix disconnect after connection params update in smp
2018-01-15 17:03:56 +08:00
zhiweijian
f165927272
Component/bt: fix update connection params error in smp
2018-01-15 15:38:08 +08:00
wangmengyang
f360fe5b3e
component/bt: implement A2DP source
...
1. Modified symbol names of A2DP sink APIs include:
- esp_a2d_data_cb_t --> esp_a2d_sink_data_cb_t
- esp_a2d_register_data_callback --> esp_a2d_sink_register_data_callback
2018-01-09 20:20:52 +08:00
Jiang Jiang Jian
3452845063
Merge branch 'bugfix/btdm_avrc_connect_state_evt' into 'master'
...
Bugfix/btdm avrc connect state evt
See merge request !1717
2018-01-09 19:33:06 +08:00
Jiang Jiang Jian
6daa52d2ca
Merge branch 'bugfix/update_bt_lib_with_updated_toolchain_for_master' into 'master'
...
component/bt: build libbtdm_app.a with updated toolchain
See merge request !1728
2018-01-09 16:55:45 +08:00
wangmengyang
e07b43e924
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
2018-01-09 16:33:48 +08:00
Jiang Jiang Jian
ff726b4c79
Merge branch 'bugfix/btdm_fix_cant_remove_boned_device_if_its_connected' into 'master'
...
Component/bt: fix can not remove boned device if it is connected
See merge request !1758
2018-01-09 11:42:45 +08:00
Jiang Jiang Jian
c147d7b03e
Merge branch 'feature/btdm_bt_spp' into 'master'
...
component/bt: Add bt spp profile
See merge request !1593
2018-01-09 10:44:46 +08:00
Jiang Jiang Jian
0cd97cecb2
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
2018-01-08 19:16:34 +08:00
zhiweijian
831b2c0441
Component/bt: fix can not remove boned device if it is connected
2018-01-08 17:55:00 +08:00
Angus Gratton
f9ad17eee4
Merge branch 'bugfix/BLE_SM_Security_Flags_pr1320' into 'master'
...
bt: Fix ble sm security flags (Github PR 1320)
See merge request !1740
2018-01-08 07:35:19 +08:00
Jiang Jiang Jian
a1b59679f9
Merge branch 'bugfix/btdm_standardize_code' into 'master'
...
component/bt: Standardize code
See merge request !1696
2018-01-05 18:56:08 +08:00
baohongde
d2663c866e
component/bt: Add SPP profile
2018-01-05 16:48:29 +08:00
Tim Cook
2b24177d2b
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
2018-01-03 14:14:24 +11:00
Tim Cook
5b87177831
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
2018-01-03 14:14:24 +11:00
baohongde
2530e0aeb9
component/bt: Standardize code
...
Reported from github:
https://github.com/espressif/esp-idf/issues/1402
https://github.com/espressif/esp-idf/issues/1403
2018-01-03 10:31:30 +08:00
baohongde
e55b5433aa
component/bt: Fix bug when add device to whitelist twice
2018-01-02 17:20:34 +08:00
wangmengyang
ba06683834
component/bt: build libbtdm_app.a with updated toolchain
2017-12-29 15:31:11 +08:00
wangmengyang
1bbd67f7d7
component/bt: disable Secure Connections(Host Supported) of classic Bluetooth to workaround AES encryption issue in controller
...
1. ESP32 is found to suffer from AES encryption start/resume failure with specific device. Therefore temporarily disable BR/EDR Secure Connections for a workaround
2. BR/EDR Secure Connections is a feature for BT Classic introduced in Bluetooth 4.1. This change disables the setting of Secure Connections(Host Supported), and will result in the use of legacy authentication instead of secure authentication, and E0 encryption(legacy) instead of AES-CCM encryption. BLE security procedures are not affected.
2017-12-28 14:51:19 +08:00
Jiang Jiang Jian
7d0d2854d3
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
2017-12-27 18:03:38 +08:00
Jiang Jiang Jian
566fab02df
Merge branch 'bugfix/btdm_disconnect_fail_during_pairing' into 'master'
...
component/bt: Fix bug of disconnected fail during pairing
See merge request !1672
2017-12-27 18:03:13 +08:00
Jiang Jiang Jian
d31b654f3f
Merge branch 'bugfix/btdm_fix_memory_leak_for_SMP' into 'master'
...
component/bt: fix memory leak in SMP
See merge request !1690
2017-12-27 11:43:18 +08:00
baohongde
1de63e9d90
component/bt: Fix bug of disconnected fail during pairing
2017-12-25 19:24:06 +08:00
baohongde
f5f8dda8a2
component/bt: Fix bug of adding device to white list has no callback when while list is full
2017-12-25 17:45:12 +08:00
Jiang Jiang Jian
a567de1576
Merge branch 'feature/btdm_classic_discovery' into 'master'
...
component/bt: implement Classic Bluetooth GAP APIs for device and service discovery
See merge request !1576
2017-12-20 13:30:31 +08:00
zhiweijian
763406b4cc
Component/bt: fix memory leak in SMP
2017-12-20 10:30:31 +08:00
Jiang Jiang Jian
04e1195f41
Merge branch 'bugfix/btdm_send_data_length_req_after_read_feature_complete' into 'master'
...
component/bt: send data length request by host after read feature complete
See merge request !1639
2017-12-19 20:18:50 +08:00
Jiang Jiang Jian
9c2db2ea7a
Merge branch 'bugfix/btdm_optimiz_adv_cb_func' into 'master'
...
Bugfix/btdm optimiz adv cb func
See merge request !1619
2017-12-19 17:35:00 +08:00
Yulong
967ff895e7
component/bt: Optimized broadcast callback function, send the callback function to the application after the controller confirms receipt of the broadcast start.
...
1. optimiz the ble stop adv callback function.
2. added the osi_mutex_unlock in the bta_gattc_wait4_service_change_ccc_cback function when the p_timer_param == NULL || p_conn == NULL.
2017-12-15 18:16:23 +08:00
Tian Hao
65bdb2d7ff
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.
...
1. fix the bug. Modify the condition that esp_bt_controller_mem_release() shoud be only called before esp_bt_controller_init() or after esp_bt_controller_deinit()
2. modify the example to use esp_bt_controller_mem_release()
2017-12-13 11:38:39 +08:00
zhiweijian
6b6e0410f8
Component/bt: send data length request by host after read feature complete
2017-12-12 18:28:59 +08:00
Tian Hao
583dceb69b
component/btdm : change bt.h name to esp_bt.h to form the name prefix
2017-12-08 10:33:50 +08:00
wangmengyang
c23af0b5bb
component/bt: implement Classic Bluetooth GAP APIs for device and service discovery
2017-12-06 10:52:06 +08:00
Jiang Jiang Jian
c44487143d
Merge branch 'bugfix/btdm_connect_stable_optimiz' into 'master'
...
component/bt: Optimiz the ble connection performance.
See merge request !1618
2017-12-01 21:35:17 +08:00
Ivan Grokhotkov
08048ff76a
Merge branch 'feature/btdm_avrc_metadata' into 'master'
...
Feature/btdm avrc metadata: implemented AVRCP metadata and notification register commands
See merge request !1624
2017-12-01 20:31:25 +08:00
yulong
96f120c0d4
component/bt: Optimiz the ble connection performance.
2017-12-01 20:02:14 +08:00
Jiang Jiang Jian
7702e0f45b
Merge branch 'bugfix/btdm_con_discon_test_crash_#16055' into 'master'
...
component/bt: Fix the bug when write ccc sometimes will lead to repeatedly release the memory.
See merge request !1599
2017-12-01 19:32:39 +08:00
pufstudio
86fa1820b7
component/bt: Add AVRCP medadata attribute support so A2DP can show track title, album, etc.
...
Merges https://github.com/espressif/esp-idf/pull/1078
2017-12-01 19:28:52 +08:00
Jiang Jiang Jian
015233d2dc
Merge branch 'bugfix/btdm_mem_leak_lead_to_WDT_#16592' into 'master'
...
compoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will appear WDT.
See merge request !1610
2017-12-01 12:24:04 +08:00
yulong
a0992ad442
component/bt: Remove the p_tle->param reset to 0 when free the p_timer_param pointer.
2017-11-30 16:15:22 +08:00
Yulong
5b243b1d01
component/bt: Added the mutex lock protect the ccc free when disconnect.
2017-11-30 02:45:26 -05:00
yulong
7353307ca5
component/bt: reset the p_cmd_list pointer after release the mem.
2017-11-29 10:50:03 +08:00
Tian Hao
59931cd63b
component/bt : fix actvie scan cannot send scan_req in a certain case
2017-11-28 20:11:40 +08:00
yulong
5b9131cc60
compoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will appear WDT.
2017-11-28 15:43:33 +08:00
Jiang Jiang Jian
7980255498
Merge branch 'bugfix/btdm_scan_lead_to_conn_error' into 'master'
...
component/bt: Fixed the bug when stop scan if not set back the scan params will …
See merge request !1590
2017-11-27 21:21:13 +08:00
Yulong
c71318ce88
component/bt: Fix the bug when write ccc sometimes will lead to repeatedly release the memory.
2017-11-25 05:06:14 -05:00
Yulong
177c92f15e
component/bt: Change the code format.
2017-11-23 06:42:04 -05:00
Yulong
2458d15d2d
component/bt: recovery the scan parameter to the controller before start scan.
2017-11-23 06:36:00 -05:00
Yulong
f14699068d
component/bt: Fixed the bug when stop scan if not set back the scan params will lead to connection request sent the empty packet to the peer device.
2017-11-23 03:54:29 -05:00
Yulong
729e0c2544
component/bt: Correct the SP_BLE_PWR_TYPE_CONN_HDL0-9 comment in the bt.h file to ESP_BLE_PWR_TYPE_CONN_HDL0-8
2017-11-20 08:05:35 -05:00
island
7bd8133639
component/bt: delete api bta_gattc_cache_write
2017-11-16 16:40:18 +08:00
island
5789a8a6e9
component/bt: delete gattc cache write operation
2017-11-16 11:18:17 +08:00
Jiang Jiang Jian
ec9d93f4fc
Merge branch 'bugfix/btdm_gattc_command_queue_fix' into 'master'
...
Bugfix/btdm gattc command queue fix
See merge request !1317
2017-11-15 10:54:02 +08:00
Jiang Jiang Jian
41272c5b94
Merge branch 'bugfix/btdm_modify_logs' into 'master'
...
component/bt: modify some log
See merge request !1485
2017-11-14 21:13:00 +08:00
Jiang Jiang Jian
a2194ec665
Merge branch 'bugfix/btdm_remove_redundant_open_evt_for_same_app' into 'master'
...
component/bt: remove redundant open evt while calling gattc_open twice in the same app_id
See merge request !1526
2017-11-14 21:12:05 +08:00
Yulong
b07a5f03cf
component/bt: Change the gattc prepare write callback params.
2017-11-14 07:00:45 -05:00
island
2a4af8b83c
component/bt: remove redundant open evt while calling gattc_open twice in the same app_id
2017-11-14 17:11:34 +08:00
Yulong
1d13b58c62
component/bt: Added the queue event when the gattc command is full.
2017-11-13 22:44:27 -05:00
island
38b287593c
component/bt: fix not send indication confirm in case of server only
2017-11-14 11:43:57 +08:00
Yulong
2be5e73090
rebase the origin to the local
2017-11-13 02:20:02 -05:00
Yulong
8352eb6fa2
component/bt: Added the prepare write check.
2017-11-13 02:12:33 -05:00
wangmengyang
53273172fe
component/bt: modify the implementation and interface of osi_alarm module
...
1. use esp_timer instead of FreeRTOS timer to implement osi_alarm in bluedroid
2. Remove two APIs: osi_alarm_now() and osi_alarm_time_diff() and modify the hci layer logic that use them
3. Implement osi_alarm_get_remaining_ms()
4. Move the definition of struct alarm_t in source file "alarm.c"
5. Add definition of module error code
2017-11-10 11:53:55 +08:00
Yulong
ee43527108
compoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when a write event occurs.
2017-11-09 14:47:11 +08:00
Yulong
e6b2c19eea
component/bt: Fix the write value not store in the queue command bug.
2017-11-09 14:47:11 +08:00
Yulong
68833fe94c
component/bt: Change the bta_gattc_pop_command_to_send function to static.
2017-11-09 14:47:11 +08:00
Yulong
0ae5320f50
component/bt: Added the gattc command queue support.
2017-11-09 14:47:11 +08:00
Yulong
7a27e3c74d
component/bt: added the queue to store the gattc commands.
2017-11-09 14:47:11 +08:00
Yulong
1ceef12238
compoent/bt: Modify bta_gattc_utils.c The value pointer copy is overwritten when a write event occurs.
2017-11-09 01:44:16 -05:00
Yulong
8ca40818eb
component/bt: Fix the write value not store in the queue command bug.
2017-11-08 04:23:12 -05:00
wangmengyang
016a49f8e3
component/bt: update toolchain and add compile options to build libbtdm_app.a to support PSRAM
2017-11-07 16:08:47 +08:00
Jiang Jiang Jian
b13cd4adf8
Merge branch 'feature/btdm_add_value_callback_when_send_notification_or_indicate_failed' into 'master'
...
component/bt: add value callback when send notification or indicate failed
See merge request !1457
2017-11-03 10:05:29 +08:00
zhiweijian
9a96187655
Component/bt: modify some log
2017-11-02 19:45:13 +08:00
Jiang Jiang Jian
1de3fc4a2c
Merge branch 'bugfix/btdm_master_dont_send_pair_req_#13686' into 'master'
...
component/bt: Fix the bug of master don't send pair request to the slave when the sec_act set to the value of ESP_BLE_SEC_ENCRYPT.
See merge request !1376
2017-11-02 15:49:27 +08:00
wangmengyang
bd6394db92
component/bt: clean up WIFI_CLK_EN_REG settings for Bluetooth
...
1. move settings of WIFI_CLK_EN_REG for bluetooth into controller init/deinit APIs
2. modify the bit mask used in phy_rf init/deinit to use WIFI-BT shared bits
2017-11-02 15:24:21 +08:00
zhiweijian
e7020460c6
Component/bt: add value callback when send notification or indicate failed
2017-11-01 11:00:08 +08:00
zhiweijian
481e436587
Component/bt: modify close event and disconnection event params
...
- modify close event params
- modify disconnection event params
- modify connect event params
2017-11-01 10:40:03 +08:00
Jiang Jiang Jian
939b46596f
Merge branch 'bugfix/btdm_unable_use_esp_ble_gatts_get_attr_value_after_long_write' into 'master'
...
component/bt: Fix the bug cann't use esp_ble_gatts_get_attr_value to get the att…
See merge request !1381
2017-10-31 14:45:17 +08:00
Jiang Jiang Jian
07f92f0bd1
Merge branch 'bugfix/btdm_smp_decide_association_model' into 'master'
...
component/bt: Fix bug of function smp_decide_association_model
See merge request !1377
2017-10-31 14:34:41 +08:00
Jiang Jiang Jian
c4bb378e4c
Merge branch 'bugfix/btdm_set_MAX_L2CAP_CHANNELS_error' into 'master'
...
component/bt: Fix bug of set MAX_L2CAP_CHANNELS error
See merge request !1448
2017-10-31 14:32:53 +08:00
Jiang Jiang Jian
97dffbfc47
Merge branch 'bugfix/btdm_disable_role_switch' into 'master'
...
component/bt: disable the use of ROLE_SWITCH feature for classic BT as workaround
See merge request !1446
2017-10-31 11:31:15 +08:00
Jiang Jiang Jian
182cd1ce4d
Merge branch 'bugfix/btdm_fix_crash_when_set_device_name_null' into 'master'
...
component/bt: fix crash when set device name NULL
See merge request !1462
2017-10-31 11:17:49 +08:00
Jiang Jiang Jian
a9b63b796e
Merge branch 'bugfix/btdm_cpu_core' into 'master'
...
component/bt : fix bug of sw interrupt cause to run btdm to different cpu core.
See merge request !1434
2017-10-27 18:36:59 +08:00
zhiweijian
15c75974de
component/bt: fix crash when set device name NULL
2017-10-27 15:21:00 +08:00
baohongde
3dab0fd340
component/bt: Fix bug of set MAX_L2CAP_CHANNELS error
2017-10-25 12:02:41 +08:00
island
4e7de126dc
component/bt: Fix scan problem of bonded device using public address
2017-10-25 11:52:03 +08:00
Tian Hao
85eb5d4374
component/bt : fix bug of sw interrupt cause to run btdm to different cpu core.
...
1. add sw interrupt cause osi to controller.
2. modify the kconfig to improve the option view.
3. add option of the cpu core which bluedroid run.
4. add option of the cpu core which bluetooth controller run.
2017-10-24 16:13:58 +08:00
wangmengyang
837678e4f3
component/bt: disable the use of ROLE_SWITCH feature for classic BT as workaround
2017-10-24 14:44:53 +08:00
baohongde
84a55f9ee4
component/bt: Fix bug of function smp_decide_association_model
2017-10-23 15:34:02 +08:00
yulong
a9a423a025
component/bt: Added the sec_act != BTM_BLE_SEC_ENCRYPT check in the btm_ble_set_encryption function when the sec_act is BTM_BLE_SEC_ENCRYPT_NO_MITM or BTM_BLE_SEC_ENCRYPT_MITM.
2017-10-23 15:12:36 +08:00
Yulong
da32fbce7a
component/bt: Fix the bug of can't pair if master send pair req but slave don't send sec req.
2017-10-23 15:12:36 +08:00
Ivan Grokhotkov
d503b991b4
bt: lock APB frequency while BT controller is enabled
2017-10-18 14:37:22 +08:00
Yulong
4b1968f315
component/bt: Change the queue_data->p_attr->p_value->attr_val.attr_len += queue_data->len code to the if case.
2017-10-16 03:42:49 -04:00
Jiang Jiang Jian
a0ad3ff008
Merge branch 'bugfix/btdm_fix_set_attr_value_crash_when_length_is_0' into 'master'
...
component/bt: fix crash when the length of attr value set zero
See merge request !1397
2017-10-13 16:00:15 +08:00
Jiang Jiang Jian
90be957af1
Merge branch 'bugfix/btdm_fix_register_app_id_failed_when_more_than_3' into 'master'
...
component/bt: fix register more than three app_ids failed
See merge request !1389
2017-10-13 15:57:00 +08:00
Jiang Jiang Jian
aa7a1e5e2d
Merge branch 'bugfix/btdm_controller_deinit' into 'master'
...
component/bt : allow init after de-init
See merge request !1371
2017-10-13 15:44:58 +08:00
zhiweijian
520b3340f6
Component/bt: fix crash when set attr value 0
2017-10-13 15:06:08 +08:00
zhiweijian
49ad8bf6c3
Component/bt: fix register more than 3 app_id failed
2017-10-12 21:07:40 +08:00
Jiang Jiang Jian
244e947beb
Merge branch 'bugfix/btdm_fix_add_whitelist_failed' into 'master'
...
Component/bt: fix add whitelist failed
See merge request !1326
2017-10-12 19:01:01 +08:00
Jiang Jiang Jian
f8caa403db
Merge branch 'bugfix/btdm_remove_bond_device_not_return_error' into 'master'
...
component/bt: Fixed the bug when remove the bonded device with not exist address…
See merge request !1370
2017-10-12 18:59:09 +08:00
Jiang Jiang Jian
73462c052e
Merge branch 'bugfix/btdm_fix_set_scan_params_not_work' into 'master'
...
component/bt: fix scan params not work when start scan
See merge request !1307
2017-10-12 18:57:36 +08:00
Jiang Jiang Jian
a4e4322f6c
Merge branch 'bugfix/btdm_set_sec_properity_error' into 'master'
...
component/bt: Fix bug of set sec properity error
See merge request !1336
2017-10-12 17:45:32 +08:00
Yulong
7617a3c434
component/bt: Fix the bug cann't use esp_ble_gatts_get_attr_value to get the attribute value after long write.
2017-10-11 07:47:12 -04:00
Jiang Jiang Jian
3ed90a559d
Merge branch 'bugfix/btdm_fix_multi_connection_failed' into 'master'
...
component/bt: modify some comments
See merge request !1332
2017-10-11 17:00:34 +08:00
zhiweijian
cd3d9715bb
Component/bt: fix add whitelist failed
...
- fix add whitelist failed
- add add whitelist callback func
2017-10-11 15:30:09 +08:00
Yulong
fc359e4491
component/bt: Change the _btc_storage_remove_ble_bonding_keys function ret default vaule from 1 to 0.
2017-10-10 04:19:11 -04:00
Yulong
25e8c09b6d
component/bt: Change the param.remove_bond_dev_cmpl.status value.
2017-10-10 04:02:05 -04:00
Tian Hao
b54ef13fae
component/bt : allow init after de-init
2017-10-10 15:35:17 +08:00
Yulong
e02ff1ed89
component/bt: Change the bta_gattc_pop_command_to_send function to static.
2017-10-10 03:12:00 -04:00
Yulong
8e08097151
component/bt: Fixed the bug when remove the bonded device with not exist address will not return error.
2017-10-10 02:29:54 -04:00
wangmengyang
2797966c47
component/bt: increase programming delay for event arbiter to allow for heavy workload
2017-09-30 18:12:45 +08:00
zhiweijian
c75da555af
Component/bt: fix set scan params and start scan action
2017-09-30 17:01:57 +08:00
zhiweijian
4720196015
Component/bt: fix multi-connection failed
...
- modify some comments
2017-09-30 16:30:43 +08:00
Yulong
1a07a13727
component/bt: Change the 0x04 to Macro BTA_LE_AUTH_REQ_MITM.
2017-09-30 04:05:21 -04:00
Jiang Jiang Jian
91c259b105
Merge branch 'bugfix/btdm_change_pll_track_interrupt' into 'master'
...
component/bt : change pll track interrupt bits
See merge request !1310
2017-09-30 15:53:58 +08:00
Jiang Jiang Jian
c2a4713958
Merge branch 'bugfix/btdm_btc_ble_set_rand_addr' into 'master'
...
component/bt: Fix bug of function btc_ble_set_rand_addr
See merge request !1297
2017-09-30 15:49:53 +08:00
Jiang Jiang Jian
b420c62602
Merge branch 'bugfix/btdm_mem_leak_of_gattc_open_and_close' into 'master'
...
component/bt: Fix bug of memory leak of gatt open and close
See merge request !1325
2017-09-30 15:48:57 +08:00
Jiang Jiang Jian
a8dab7680a
Merge branch 'bugfix/btdm_gattc_mutiple_read_bug' into 'master'
...
component/bt: Fixed the bug of mutiple read can not callback.
See merge request !1286
2017-09-30 15:45:56 +08:00
Jiang Jiang Jian
816fe6cf1f
Merge branch 'bugfix/btdm_gattc_get_db_prop_bug' into 'master'
...
component/bt: Fiexd the bug of the gattc cannot get the db properties.
See merge request !1284
2017-09-30 15:42:45 +08:00
Yulong
3d3bcd6275
component/bt: Added the gattc command queue support.
2017-09-30 13:59:14 +08:00
Yulong
fb93a59619
component/bt: added the queue to store the gattc commands.
2017-09-30 13:59:14 +08:00
baohongde
b78da3b715
component/bt: Fix bug of set sec properity error
2017-09-29 18:46:28 +08:00
baohongde
b59708ca87
component/bt: Fix bug of function btc_ble_set_rand_addr
2017-09-29 11:46:08 +08:00
baohongde
27e1db508d
component/bt: Fix bug of function btc_ble_set_rand_addr
2017-09-28 14:41:31 +08:00
baohongde
68958a2485
component/bt: Fix bug of memory leak of gatt open and close
2017-09-28 14:34:57 +08:00
Yulong
f7a2cc37b3
component/bt: Fix the bug of total attr didn't reset when init the gattc cache.
2017-09-28 02:09:02 -04:00
Angus Gratton
c9241b4310
bluedroid: Add continuation offset check to SDP server
...
Fix for CVE-2017-0785
https://android.googlesource.com/platform/system/bt/+/818cf6f%5E%21/#F0
2017-09-27 09:49:04 +10:00
Tian Hao
e1177ca9cb
component/bt : change pll track interrupt bits
2017-09-25 18:35:46 +08:00
Tian Hao
602b90b892
component/bt : fix bug of scan fail after a long time
2017-09-21 17:40:30 +08:00
Tian Hao
3e2ee24e4f
component/bt : support bluetooth controller DRAM release dynamically
...
1. remove CONFIG_BT_DRAM_RELEASE from Kconfig
2. add API to release bluetooth controller DRAM to heap
2017-09-21 14:31:20 +08:00
Yulong
f325ba3942
component/bt: Change the cmpl_evt command in the bta_gattc_read_cmpl function.
2017-09-20 04:28:52 -04:00
Tian Hao
b54719d00f
component/bt : fix bluetooth controller enable limit && release memory when de-initialize bluetooth controller
...
1. fix bluetooth controller enable limit
2. release memory when de-initialize bluetooth controller
3. fix heap_caps_add_region limit
2017-09-19 21:14:28 +08:00
Yulong
e815660824
component/bt: Fixed the bug of mutiple read can not callback.
2017-09-19 04:50:26 -04:00
Yulong
7827bc486d
component/bt: Fiexd the bug of the gattc cannot get the db properties.
2017-09-18 23:15:32 -04:00
Yulong
388bf8d579
componnent/bt: remove the <<<<<<< HEAD in the code.
2017-09-18 05:44:50 -04:00
Yulong
8925a90d40
squash again
...
squash the commit.
component/bt:Added the update_white_list & set_prefer_conn_params API to the bt project.
component/bt: Added the get white list size API & delete the read adv tx power API.
component/bt: Change the esp_gap_ble_api.h esp_ble_gap_set_prefer_conn_params API docs.
changed btm_find_dev to btm_find_or_alloc_dev
component/bt: Change the rssi API deep copy method.
component/bt: Change the code as comment in the gitlab.
squash the commit.
component/bt:Added the update_white_list & set_prefer_conn_params API to the bt project.
component/bt: Added the get white list size API & delete the read adv tx power API.
component/bt: Change the esp_gap_ble_api.h esp_ble_gap_set_prefer_conn_params API docs.
changed btm_find_dev to btm_find_or_alloc_dev
component/bt: Change the rssi API deep copy method.
component/bt: Change the code as comment in the gitlab.
component/bt: change the ESP_BLE_CONN_PARAM_UNDEF redefinition error.
component/bt: Change the ESP_BLE_IS_VALID_PARAM function with the compile error.
2017-09-18 05:39:26 -04:00
Jiang Jiang Jian
3d7ec475d1
Merge branch 'feature/btdm_cherry_pick_change_gattc_api' into 'master'
...
component/bt: Change all the gattc API && bta gattc layer.
See merge request !1147
2017-09-15 19:39:29 +08:00
Jiang Jiang Jian
18f2a29a99
Merge branch 'bugfix/btdm_smp_close_compile_error' into 'master'
...
component/bt: fix the bug when close the SMP module in the menuconfig will lead to compile error.
See merge request !1265
2017-09-15 19:36:30 +08:00
Tian Hao
dff95aed65
component/bt : fix a malloc bzero of blufi
2017-09-15 11:08:42 +08:00
Yulong
875ba996d5
component/bt: fix the bug when close the SMP module in the menuconfig will lead to compile error.
2017-09-15 10:32:28 +08:00
yulong
09a3e4fd58
squesh the commit.
...
component/bt: Change the idf test KnownIssues file.
component/bt: Fixed the bug of gattc mutilple read.
2017-09-14 09:35:36 -04:00
Jiang Jiang Jian
fff90da8d6
Merge branch 'bugfix/btdm_gatt_read_by_type_bug' into 'master'
...
component/bt: Fix gatt read by type response bug
See merge request !1102
2017-09-14 17:24:02 +08:00
Jiang Jiang Jian
574daad1c4
Merge branch 'feature/btdm_update_to_bluedroid7.1_l2cap' into 'master'
...
component/bt: Added the new feature of the l2cap layer from the bluedroid new version 7.1.1
See merge request !1087
2017-09-13 20:39:38 +08:00
Jiang Jiang Jian
b70329040d
Merge branch 'bugfix/btdm_gatts_notify_stress_test_crash' into 'master'
...
component/bt: fix bug for gatts notify stress test crash
See merge request !1245
2017-09-13 20:27:17 +08:00
Jiang Jiang Jian
f1e3b0df02
Merge branch 'feature/adv_scan_simultaneously' into 'master'
...
component/bt : support adv & scan simultaneously
See merge request !1209
2017-09-13 11:50:57 +08:00
Jiang Jiang Jian
ea7a09c3e4
Merge branch 'bugfix/btdm_sec_config' into 'master'
...
component/bt : fix btc security storage bug
See merge request !1161
2017-09-13 11:46:34 +08:00
zhiweijian
8921a36828
Component/bt: fix bug for gatts notify stress test crash
2017-09-13 11:19:58 +08:00
Yulong
1759a47060
This is a combination of 4 commits.
...
squash again all the commit.
component/bt: Change all the gattc API && bta gattc layer.
component/bt: Debug the code and change the btc_ble_gattc_get_db method.
component/bt: Change the gatt read API interface.
component/bt: Reconstruction the BTA_gattc_cache code.
component/bt: Change back the bluedroid_get_status to marco.
component/bt: Added the serch service res start_handle & end_handle to the result.
component/bt: Change the gattc docs format.
component/bt: Change the docs format.
component/bt: fix the read char value bug.
component/bt: change the gattc_get_attr_count method.
component/bt: Change back the bta_gattc write ccc code.
component/bt: Change the gattc api docs format
component/bt: Change the gattc API docs.
component/bt: Change the prepare write descriptor method to avoid the exection.
Component/bt: modify gatt clinet demo with new API
component/bt: Change the p_src_data->read.p_value to avoid exection.
compoent/bt: Change the bugfix of gattc unreg for the notify.
Modify gattc security demo
component/bt: Change the log error.
Component/bt: modify gattc_multi_connect demo
componnet/bt: Change the bta_gattc_cache sdp include.
component/bt: Change the start_handle & end_handle not from the service.
component/bt: Change the gattc API docs.
component/bt: Change the return issues.
component/bt: Fixed the include service bug.
component/bt: Modify gattc_multi_connect demo , add scan log
component/bt: Fixed the BTA_GATTC_GetIncludeService start handle & end handle error bug.
component/bt: Fix the invalid handle of the get all char issues.
component/bt: Fix the bug with get_db_size_with_type of the start handle & end_handle not correted issue.
component/bt: Fixed the get secondly service num not correct issue.
component/bt: Fixed the last service handle not correted issue.
2017-09-12 07:36:02 -04:00
Tian Hao
00a7cdbb0b
component/bt : support adv & scan simultaneously
...
1. Occupy conn[9] for adv. The max connection number of bluetooth controller decrease to 9. (Previously, it is 10)
2. modify the enum of setting BLE TX power corresponding to connection's.
3. fix libbtdm_app.a cwitch jump table
2017-09-12 16:10:30 +08:00
Ivan Grokhotkov
868b0ce228
Merge branch 'bugfix/list_node_naming' into 'master'
...
Fix "list_node" name conflict in bluedroid & dhcp_server
See merge request !1216
2017-09-12 12:10:54 +08:00
wangmengyang
21586063de
component/bt: fix build error when GATTS is disabled in menuconfig
2017-09-08 11:34:59 +08:00
Tian Hao
38102f4148
component/bt : fix btc security storage bug
...
1. Remove the bond_device global variable.
2. Fix bond_device add cause memory exception
3. Modify the code location.
4. modify thread security
5. remove esp_ble_clear_bond_device_list() API
6. modify esp_ble_get_gond_device_list() to return list immediately, rather than wait event.
7. modify the gatt_security_server demo to show how to remove all the bonded devices.
8. fix some code bugs may cause something error.
2017-09-07 19:37:49 +08:00
Tian Hao
b8b2816f67
component/bt : fix unloaded memory(0x3fff0000 overwrite) bug
2017-09-06 21:45:18 +08:00
Yulong
371c55138e
component/bt: Added the new feature of the l2cap layer from the bluedroid new version 7.1.1
2017-09-06 04:25:57 -04:00
Angus Gratton
48333aea48
bluedroid: Move fixed_queue.h to implementation of hci_layer.c
...
Avoids pulling types like list_node into the public interface.
Closes https://github.com/espressif/esp-idf/issues/948
2017-09-05 17:14:40 +10:00
zhiweijian
f1c4eda373
Component/bt: add set local MTU API
...
- add esp_ble_gatt_set_local_mtu( ) API
- modify esp_ble_gattc_config_mtu(esp_gatt_if_t gattc_if, uint16_t conn_id)
- modify gattc demo
2017-09-01 21:55:28 +08:00
Jiang Jiang Jian
3a1de7dba3
Merge branch 'bugfix/btdm_fix_connection_parameters_update' into 'master'
...
component/bt: fix connection parameters update
See merge request !1099
2017-09-01 20:15:30 +08:00
Deomid Ryabkov
3e6c515d5b
Using a 128-bit UUID is not an error
...
Merges https://github.com/espressif/esp-idf/pull/713
2017-08-30 17:55:00 +10:00
phuzi
762d5fcb4c
Update documentation for esp_avrc_api
...
Updated documentation for esp_err_t esp_avrc_ct_send_passthrough_cmd to show both pressed and released key states
Merges https://github.com/espressif/esp-idf/pull/846
2017-08-30 17:55:00 +10:00
zhiweijian
1a9b02ccbc
component/bt: fix connection parameters update
...
- update connection parameters timeout due to master update illegal connection parameters
- slave returns error status when slave check the connection parameters
- slave connection parameters update callback get that interval_max is equal to interval_min
2017-08-30 11:29:25 +08:00
wangmengyang
d532f33bdb
component/bt: bugfix for hci acl flow control
...
1. trigger hci data transmission upon reception of hci_host_nb_of_cmpl_pkts when hci acl flow control is in effect
2017-08-24 20:59:32 +08:00
Jiang Jiang Jian
258480822b
Merge branch 'bugfix/btdm_config_local_privacy_func' into 'master'
...
component/bt: bugfix config local privacy
See merge request !1137
2017-08-24 10:48:57 +08:00
Jiang Jiang Jian
8b4229fcd6
Merge branch 'bugfix/btdm_fix_set_rand_addr_func' into 'master'
...
component/bt: fixbug_set_rand_addr()
See merge request !1123
2017-08-24 10:48:20 +08:00
Ivan Grokhotkov
de10032717
Merge branch 'feature/btdm_remove_gki' into 'master'
...
component/bt : remove all GKI reference
See merge request !1122
2017-08-23 18:01:54 +08:00