baohongde
10fd8a09c7
components/bt: Fix AVRC metadata length error
2019-11-29 16:04:20 +08:00
baohongde
1aed045de7
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 20:13:17 +08:00
Prasad Alatkar
882dfb5f97
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.1)
...
- Backport(v3.1) of IDF MR!6122
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-10-09 16:15:47 +08:00
wangmengyang
7942604c22
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
2019-08-28 15:52:09 +08:00
wangmengyang
4a6d2da209
component/bt: fix some performance issues in A2DP source data flow control
...
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-06-10 16:38:52 +08:00
Jiang Jiang Jian
42986bf1e5
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs_v3.1' into 'release/v3.1'
...
components/bt: Fix warning when disable debug logs or in release mode and…
See merge request idf/esp-idf!4622
2019-04-28 10:18:47 +08:00
Jiang Jiang Jian
9d80953a63
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.1' into 'release/v3.1'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4863
2019-04-28 10:18:15 +08:00
baohongde
4b11e8cb54
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:37:14 +08:00
zhiweijian
29f5ad6638
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 21:57:09 +08:00
baohongde
a05b99e0dc
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 15:16:14 +08:00
Jiang Jiang Jian
50664c43b2
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash_v3.1' into 'release/v3.1'
...
Component/bt: fix blufi prepare write crash (backport v3.1)
See merge request idf/esp-idf!4564
2019-03-20 21:03:14 +08:00
zhiweijian
4f6b6d3391
Component/bt: fix build warning when bluedroid disable log
2019-03-20 15:08:28 +08:00
zhiweijian
d6fb966ea4
Component/bt: fix blufi prepare write crash
2019-03-20 14:32:23 +08:00
zhiweijian
3d542b2530
Component/bt: add BLE adv report flow control
2019-03-12 15:15:21 +08:00
Jiang Jiang Jian
357239a20c
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp_v3.1' into 'release/v3.1'
...
Component/bt: fix auth_mode error when reconnection in SMP(backport V3.1)
See merge request idf/esp-idf!3956
2019-01-09 13:57:07 +08:00
zhiweijian
ee99795f3d
Component/bt: fix save keys when auth mode without bond
2018-12-13 15:49:02 +08:00
zhiweijian
f4b64a491b
Component/bt: fix auth_mode error when reconnection in SMP
2018-12-13 15:36:51 +08:00
Jiang Jiang Jian
09b2cd7d26
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.1' into 'release/v3.1'
...
Component/bt: add check peer addr type in set adv params (backport v3.1)
See merge request idf/esp-idf!3735
2018-11-23 20:14:15 +08:00
zhiweijian
dfd46965ae
Component/bt: add check peer addr type in set adv params
2018-11-19 17:21:28 +08:00
baohongde
8e0bb3ec81
components/bt: Some errors in comment
2018-11-16 15:38:22 +08:00
Jiang Jiang Jian
8c16be1edc
Merge branch 'bugfix/btdm_name_buffer_allocation_size_differs_v3.1' into 'release/v3.1'
...
components/bt: Fix the different size of name buffer allocation size(backport 3.1)
See merge request idf/esp-idf!3588
2018-11-08 17:24:53 +08:00
Jiang Jiang Jian
725978b817
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3600
2018-11-06 11:57:04 +08:00
wangmengyang
82e69475ca
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM
2018-10-31 17:54:51 +08:00
baohongde
7a05ef2002
components/bt: Fix the different size of name buffer allocation size(backport 3.1)
...
A cherry-pick of MR !3587
Close https://github.com/espressif/esp-idf/issues/2615
2018-10-31 10:56:16 +08:00
zhiweijian
e5f2f1ba78
Component/bt: add only accept sepecified Authentication
2018-10-26 11:58:25 +08:00
zhiweijian
89ee65e1c6
Component/bt: add set default passkey function
2018-10-26 11:55:18 +08:00
zwj
4b5cf90a95
component/bt: fix remove bond list failed
2018-10-25 05:32:01 +00:00
zhiweijian
5bb12070d9
Component/bt: fix get bond list error sometimes
2018-09-27 02:33:33 +00:00
Jiang Jiang Jian
e8aa442305
Merge branch 'bugfix/btdm_fix_save_error_key_in_smp_when_reconnect_v3.1' into 'release/v3.1'
...
Component/bt: fix save error key in smp when reconnect(backport v3.1)
See merge request idf/esp-idf!3289
2018-09-20 10:58:01 +08:00
zhiweijian
72f9d15a57
Component/bt: fix iPhoneX error when getting wifi list
2018-09-19 15:21:57 +08:00
zhiweijian
53d75901a9
Component/bt: fix save error key in smp when reconnect
2018-09-17 20:13:30 +08:00
Jiang Jiang Jian
760772ec4b
Merge branch 'bugfix/ble_adv_data_tx_power_v3.1' into 'release/v3.1'
...
fix TX power value in ble adv data is incorrect
See merge request idf/esp-idf!3187
2018-09-16 14:54:59 +08:00
wangmengyang
4c240064ab
component/bt: stop to inititate AVRC connection when A2DP connection fails to set up
...
AVRCP connection binds to A2DP in current implementation, despite the two profiles are\
independent according to specification. AVRCP connection is not necessary to set-up \
if A2DP connection fails to establish
2018-09-13 17:58:00 +08:00
wangmengyang
01994059e2
component/bt: bugfix that A2DP sink device can be connected by another A2DP sink device
...
In pevious implementation, A2DP sink will register an A2DP source Stream End Point(SEP) although the SEP is not\
supposed to be used. Now remove the unused SEP for source so that only one role of A2DP can be supported at one
time. Service record in local SDP server only includes at most one service for A2DP sink role or source
2018-09-13 17:58:00 +08:00
Tian Hao
a05868f0a8
fix TX power value in ble adv data is incorrect
...
refence to https://github.com/espressif/esp-idf/issues/2284
Before fixing, the tx power in adv data is always 0xeb(-21dbm).
restriction:
If change BLE advertising TX power, please call esp_ble_gap_config_adv_data()
after BLE adv TX power changed.
Later, will implement set BLE advertising TX power via HCI, then the
TX power value in adv data can be update automatically after BLE adv
TX power changed.
2018-09-12 10:19:08 +00:00
baohongde
95c5805088
component/bt: Add Legacy Pairing (backport 3.1)
...
A cherry-pick of MR !3057
2018-09-04 20:59:03 +08:00
Jiang Jiang Jian
e1fc259600
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_a2dp_sink_pcm_buffer_size_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3116
2018-08-29 22:54:58 +08:00
wangmengyang
9f6af0ad4b
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
2018-08-28 10:59:22 +08:00
Hrishikesh Dhayagude
7ffd68cac2
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)
...
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>
2018-08-27 12:03:20 +05:30
zhiweijian
281877ada5
Component/bt: fix get bond list error when connection with no bond
2018-08-10 21:00:56 +08:00
Angus Gratton
485ed4cc22
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning_for_v3.1' into 'release/v3.1'
...
Component/bt: fix queue blocking when scanning for v3.1
See merge request idf/esp-idf!2893
2018-08-03 07:28:07 +08:00
zhiweijian
b270638868
Component/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning
2018-08-01 15:10:28 +08:00
zhiweijian
970502f904
Component/bt: fix gattc get count invalid
2018-07-31 15:38:00 +08:00
Jiang Jiang Jian
16bb663c74
Merge branch 'bugfix/btdm_bad_pointer_of_bt_gap_v3.1' into 'release/v3.1'
...
component/bt: Fix some bad point calculations of BT GAP of v3.1
See merge request idf/esp-idf!2669
2018-06-29 22:16:15 +08:00
baohongde
1340de576e
component/bt: Fix bug of BT and BLE remove bond device of v3.1
...
1. esp_ble_remove_bond_device will only remove BLE bond key and disconnect BLE device.
2. esp_bt_gap_remove_bond_device will only remove BT bond key and disconnect BT device.
A cherry-pick of MR !2562
2018-06-29 20:09:19 +08:00
baohongde
92ea676c38
component/bt: Fix some bad point calculations of BT GAP of v3.1
...
Closes https://github.com/espressif/esp-idf/issues/2103
A cherry-pick of MR !2655
2018-06-29 20:01:51 +08:00
Tian Hao
e3dedb74c5
bt : fix read rssi conflict when in dual mode
2018-06-26 11:54:39 +08:00
zhiweijian
822dac5659
Component/bt: fix memory leak
2018-06-06 02:17:06 +00:00
Tian Hao
21cb7226a2
component/bt : enlarge the A2DP SINK FRAME QUEUE SIZE to make A2DP more fluent
2018-06-01 16:51:23 +08:00
xiewenxiang
4467b34da2
component/bt: Fix malloc fail lead to crash
2018-05-31 13:31:27 +08:00