Jin Cheng
79b4d8fe4f
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 13:13:40 +08:00
xiongweichao
45d4780760
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:27:49 +08:00
Jiang Jiang Jian
ed6f966009
Merge branch 'contrib/github_pr_9529_mr_v4.3' into 'release/v4.3'
...
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v4.3)
See merge request espressif/esp-idf!19693
2022-10-17 18:04:57 +08:00
xiongweichao
9f5ff9fddf
Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
...
Closes https://github.com/espressif/esp-idf/issues/9672
2022-10-10 09:31:47 +00:00
chenjianhua
e5a195fc2c
Bluedroid: Configurable option to modify max gatt service attributes count
2022-10-09 15:28:39 +08:00
xiongweichao
59ea02cb4c
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:42:30 +08:00
Jiang Jiang Jian
a456819d78
Merge branch 'bugfix/fix_bt_sphinx_warnings_4.3' into 'release/v4.3'
...
components_bt: fix unstandard typedefs [backport v4.3]
See merge request espressif/esp-idf!19339
2022-08-12 14:00:35 +08:00
weitianhua
d264f30e76
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-08-12 12:11:54 +08:00
wangmengyang
64572b7ff2
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-04 14:27:31 +08:00
wangmengyang
e406be3cf4
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-04 14:27:31 +08:00
wangmengyang
622148d491
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-04 14:27:29 +08:00
wangmengyang
ed509a8d52
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-04 14:27:26 +08:00
Jiang Jiang Jian
0df62cf49a
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data_v4.3' into 'release/v4.3'
...
components/bt: Fix ble sync periodic adv report will lost data(backport release/v4.3)
See merge request espressif/esp-idf!18959
2022-07-13 11:01:05 +08:00
xiewenxiang
730094a3ef
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:49:26 +08:00
Jiang Jiang Jian
aa81cebd82
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid_v4.3' into 'release/v4.3'
...
bugfix/resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h (v4.3)
See merge request espressif/esp-idf!18825
2022-07-10 15:47:16 +08:00
jincheng
4e7b2fedcd
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-07-08 14:25:55 +08:00
baohongde
565142e60c
component/bt: use osi_malloc instead of malloc in bluedroid
2022-07-04 16:17:51 +08:00
xiongweichao
e1120e2554
update hfp_ag version to 1.7.2
2022-06-21 14:46:49 +08:00
keymoon
71791a4706
add address field to read_rmt_name_param
2022-05-29 18:06:35 -07:00
xiongweichao
e0cf810bab
Fix spp initialization failure without free mutex
2022-04-27 14:25:45 +08:00
xiongweichao
a9b515d0d1
Fix spp crash after calling esp_spp_deinit
2022-04-27 14:25:38 +08:00
liqigan
2a712fccd4
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-13 10:44:11 +08:00
liqigan
0269d062d0
fix SPP initiator can not free resource when connection is failed
2022-04-13 10:44:11 +08:00
xiongweichao
b729bf804d
Add some bluetooth debug log
2022-03-28 11:13:10 +08:00
xiongweichao
7cb6468fff
Update HFP_HF version to 1.7.2
2022-03-08 11:01:40 +08:00
xiongweichao
58bd27b713
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-24 14:39:33 +08:00
xiongweichao
a0f69c3499
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-24 14:39:33 +08:00
xiongweichao
8368bf3760
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-24 14:39:31 +08:00
xiongweichao
c56cf9d6fd
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-24 14:39:28 +08:00
liqigan
a269df84e9
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:07:29 +08:00
Jiang Jiang Jian
96b284bcd3
Merge branch 'bugfix/fix_static_check_error_mr_4.3' into 'release/v4.3'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16045
2021-11-23 06:36:23 +00:00
“YangZhao”
911847e3ea
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 19:46:14 +08:00
xiongweichao
92a4cdd7fd
Missing break in switch
2021-11-22 10:47:28 +08:00
xiongweichao
a7f26d24d9
Dereference before null check
2021-11-22 10:47:01 +08:00
Wang Meng Yang
625bd4f767
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues_v4.3' into 'release/v4.3'
...
Fix some bluedroid issues(backport v4.3)
See merge request espressif/esp-idf!15230
2021-10-21 03:49:20 +00:00
XieWenxiang
1ea757c0f1
component/bt: Modify the bluetooth device name length limits
2021-10-14 18:24:17 +08:00
Wang Meng Yang
166790d354
Merge branch 'bugfix/a2dp_no_audio_transmitted_v4.3' into 'release/v4.3'
...
bugfix/fix wrong clock_id in function `time_now_us` (v4.3)
See merge request espressif/esp-idf!15316
2021-10-08 06:01:22 +00:00
jincheng
2e8f0a47ff
fix wrong clock_id in function time_now_us
...
Close https://github.com/espressif/esp-idf/issues/7561
2021-09-23 10:02:12 +08:00
Wang Meng Yang
fbd128af6f
Merge branch 'bugfix/spp_memory_leak_v4.3' into 'release/v4.3'
...
Fix spp memory leak(v4.3)
See merge request espressif/esp-idf!14525
2021-09-08 02:47:51 +00:00
xiongweichao
a5fb684908
fix a2dp deinit crash
2021-08-19 11:10:31 +08:00
xiongweichao
a60a2892fb
components/bt: fix spp memory leak
...
Closes https://github.com/espressif/esp-idf/issues/7238
2021-07-27 14:26:22 +08:00
“sonalipatil”
00b9df2937
Add support of NimBLE host to Blufi
...
Merges https://github.com/espressif/esp-idf/pull/6904
2021-07-01 09:06:15 +05:30
Wang Meng Yang
3b88d9231b
Merge branch 'bugfix/fix_a2dp_sink_blocked_v4.3' into 'release/v4.3'
...
Bugfix/Fix a2dp Sink Blocked Bugs[backport v4.3]
See merge request espressif/esp-idf!14010
2021-06-22 12:28:03 +00:00
liqigan
a6b1fda209
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:05:41 +08:00
liaowenhao
2060f63130
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
...
Closes https://jira.espressif.com:8443/browse/IDFGH-5399
2021-06-21 10:55:34 +08:00
xiongweichao
2644f793bd
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-13 16:09:47 +08:00
xiongweichao
848f931e06
fix ag use dynamic memory error
2021-05-13 16:09:40 +08:00
xiongweichao
87b613fd2f
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-18 20:29:05 +08:00
liqigan
58c9a2eaba
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-04 15:16:44 +08:00
Jiang Jiang Jian
6a7781b92a
Merge branch 'bugfix/fix_a2dp_underun' into 'master'
...
bugfix/component_bt: Fix A2DP Underrun Issue
Closes AUD-2681
See merge request espressif/esp-idf!12093
2021-02-04 19:28:07 +08:00