Commit Graph

1046 Commits

Author SHA1 Message Date
xiewenxiang
b66cd055bc component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.1) 2020-04-07 11:04:13 +08:00
gengyuchao
be5e315282 Component/bt :
Add handling of osi memory calloc failure.
Add length check for snprintf in osi config.
2020-03-21 13:55:54 +08:00
gengyuchao
295f0cc546 component/bt: Fix the issue with pointer type conversion in gattc. Unified att(db_sizedb_size) count pointer type in bta and btc, change pointer type in bta from int to uint16_t. 2020-03-21 13:55:26 +08:00
gengyuchao
ca1685f7a2 example/ble_throughput:
Fixed the throughput wasting memory and packet loss issues.
Fixed the throughput crash bug because of using the Mutex.
2020-03-21 13:55:05 +08:00
gengyuchao
75a205e381 bugfix: ble add missing gatt descriptors 2020-03-21 13:54:33 +08:00
weitianhua
737dd8b2f1 Remove (x2) varible for BCM_STRNCPY_S and BCM_STRCPY_S 2020-03-14 15:09:44 +08:00
weitianhua
02789d3114 Initialize mem_start and mem_end 2020-03-14 15:07:35 +08:00
June
5d5bccf948 backport esp32 5p0 features to release/v3.1 2020-02-28 19:44:49 +08:00
Jiang Jiang Jian
32386575c9 Merge branch 'bugfix/btdm_allow_start_adv_again_v3.1' into 'release/v3.1'
component/bt: allow to send stop adv again and fix tx prog crash(backport v3.1)

See merge request espressif/esp-idf!6914
2020-02-24 20:18:09 +08:00
June
91c09d638f backport mr !6031 - fix security info restore bug 2020-02-21 20:27:06 +08:00
zhiweijian
f0afa64416 component/bt: allow to send stop adv again and fix tx prog crash 2020-02-20 14:18:33 +08:00
Jiang Jiang Jian
33f3a347cc Merge branch 'hfp_a2dp_iphone_3.1' into 'release/v3.1'
components bt/: Disable sniff mode during (e)SCO connection for HFP. [backport 3.1]

See merge request espressif/esp-idf!7252
2020-02-15 13:32:51 +08:00
baohongde
331cf8816e components/bt: backport release/v3.1
Fix A2DP stuck when BLE's interval is too small
Fix assert due to no free element from
2020-01-16 17:22:00 +08:00
zhiweijian
0a84fe593d component/bt: fix blufi prepare write buf len invalid 2020-01-14 17:53:36 +08:00
zhiweijian
7143d13f7a Component/bt: Fix GATTC trigger open event multiple times 2020-01-14 17:53:27 +08:00
weitianhua
b76ac03598 hfp a2dp iphone 3.1 2020-01-08 19:48:19 +08:00
baohongde
61b15d7442 components/bt: Choose AVRC category according to A2DP role 2019-12-31 15:52:42 +08:00
baohongde
1c8a5db010 components/bt: Revert changes of security mask 2019-12-25 20:18:45 +08:00
Jiang Jiang Jian
8de1c4b21b Merge branch 'bugfix/btdm_avrc_metadata_length_error_v3.1' into 'release/v3.1'
components/bt: Fix AVRC metadata length error

See merge request espressif/esp-idf!6886
2019-12-12 15:54:02 +08:00
Jiang Jiang Jian
f5b7501417 Merge branch 'bugfix/hfp_client_indication_v3.1' into 'release/v3.1'
component/bt: Fix bugs in HFP feature v3.1

See merge request espressif/esp-idf!6854
2019-12-12 12:16:27 +08:00
Jiang Jiang Jian
612a25f50c Merge branch 'component_bt/osi_fixed_queue_v3.1' into 'release/v3.1'
component_bt/: Fix pointer type in fixed_queue v3.1

See merge request espressif/esp-idf!6849
2019-12-12 12:15:44 +08:00
Jiang Jiang Jian
a340a4e46e Merge branch 'bugfix/btdm_backports_v3.1_1028' into 'release/v3.1'
bt: backport btdm controller fixes to v3.1

See merge request espressif/esp-idf!6526
2019-12-09 16:26:49 +08:00
weitianhua
a760a14e2a adaptation for nano-format 2019-11-29 18:00:36 +08:00
baohongde
10fd8a09c7 components/bt: Fix AVRC metadata length error 2019-11-29 16:04:20 +08:00
weitianhua
d8339602d9 component_bt/:bugfix_hfp_client_indication_define_and_cnum_error 2019-11-27 17:09:36 +08:00
weitianhua
6cb0dbe54a component_bt/: Fix pointer type in fixed_queue 3.1 2019-11-27 16:22:47 +08:00
baohongde
26550d1cf2 components/bt: Disable some unsupported security mask 2019-11-17 13:57:46 +08:00
baohongde
83a9fd42e0 backport release/v3.1 1028
Bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
Fix LMP sniff req timeout
2019-11-04 10:32:28 +08:00
baohongde
1aed045de7 components/bt: Fix assert when deinit A2DP while playing music 2019-10-29 20:13:17 +08:00
baohongde
171489153d components/bt: Disable BR/EDR GATT 2019-10-28 11:41:45 +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
Jiang Jiang Jian
704e2f4a8c Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.1' into 'release/v3.1'
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.1(backport v3.1)

See merge request espressif/esp-idf!5938
2019-09-29 16:17:05 +08:00
baohongde
f48dbc09ae components/bt: backports release/v3.1 0903
Remove xtensa/xruntime.h
Fix sending Lmp_feature_req_ext in a loop
Fix 2 bugs in r_ld_fm_sket_isr
fix memory leak when set tx power
fix data loss and send same pkt twice sometimes
fix adv data error in air sometimes
fix adv start/stop crash sometimes
bugfix btdm sleep twice after wakeup request
Fix connect fail with some speakers
clear BT/BLE interruots after controller disable
2019-09-23 17:41:58 +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
4db0d07177 components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack.
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-23 08:31:23 +08:00
baohongde
ba7a0fa4ec components/bt: Fix memory leak about rfcomm 2019-07-25 17:13:31 +08:00
zhiweijian
ae4e0330cc component/bt: fix rxwinsz assert in ble and wifi coex 2019-07-04 21:33:30 +08:00
Jiang Jiang Jian
df12d488fb Merge branch 'bugfix/btdm_backport_3_bugs_v3.1' into 'release/v3.1'
Bugfix/btdm backport 3 bugs v3.1

See merge request idf/esp-idf!5177
2019-06-27 14:30:55 +08:00
zhiweijian
a74775d5f0 component/bt: fix unpack hci enhance connection complete event error 2019-06-19 14:41:52 +08:00
baohongde
3a8fbb7be4 components/bt: Fix assert due to alloc LMP TX buffer failed 2019-06-10 19:17:48 +08:00
baohongde
c9694d4004 component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller 2019-06-10 19:17:48 +08:00
baohongde
a19c901e99 add missing source files to CMakeLists for HFP 2019-06-10 19:17:34 +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
02138399ce Merge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF_v3.1' into 'release/v3.1'
Component/bt: modify HCI_GET_CMD_BUF (backport v3.1)

See merge request idf/esp-idf!4600
2019-04-28 10:20:11 +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
zhiweijian
4f4b4fa9d5 Component/bt: modify HCI_GET_CMD_BUF 2019-03-22 15:05:11 +08:00