Commit Graph

394 Commits

Author SHA1 Message Date
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
f16e5df27f component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
# Conflicts:
#	components/bt/host/bluedroid/hci/hci_hal_h4.c
2022-08-04 14:27:30 +08:00
wangmengyang
09a79cf90a component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling 2022-08-04 14:27:30 +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
wangmengyang
26d2011442 component/bt: make OSI thread workqueue length configurable through API
reduce the length of workqueue1 for BTC and HCI task

# Conflicts:
#	components/bt/common/osi/thread.c
2022-08-04 14:25:02 +08:00
zhiweijian@espressif.com
197371d085 Fixed bluedroid host memory overflow 2022-07-20 09:12:46 +00: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
Rahul Tank
e28ec880a3 Bluedroid: Fixed compilation error due to incorrect macro name 2022-07-12 09:44:23 +05:30
Jiang Jiang Jian
e66df0492e Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection_v4.3' into 'release/v4.3'
component/bt: check the ble ext adv parameters (backport release/v4.3)

See merge request espressif/esp-idf!18490
2022-07-12 10:35:09 +08:00
xiewenxiang
730094a3ef components/bt: Fix ble sync periodic adv report lost data issue 2022-07-11 16:49:26 +08:00
Wang Meng Yang
500df7bc1f Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg_v4.3' into 'release/v4.3'
bugfix/fix the issue of functions not defined when enable memory debug (v4.3)

See merge request espressif/esp-idf!18816
2022-07-11 15:37:43 +08:00
xiewenxiang
98245dabe0 component/bt: check the ble ext adv parameters 2022-07-11 02:44:30 +00:00
Jiang Jiang Jian
a015532f66 Merge branch 'bugfix/mbedtls_free_keypair_v4.3' into 'release/v4.3'
Nimble: Fixed memory leak while generating keypair using embedtls v4.3

See merge request espressif/esp-idf!18719
2022-07-10 15:51:44 +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
jincheng
5050625f9e fix the issue of functions not defined when enable memory debug 2022-07-08 11:02:04 +08:00
Rahul Tank
aedf00cd78 Nimble: Added check to free keypair if already allocated to avoid memory leak.
Added an API that allows to free keypair
2022-07-05 10:53:21 +05:30
baohongde
565142e60c component/bt: use osi_malloc instead of malloc in bluedroid 2022-07-04 16:17:51 +08:00
Jiang Jiang Jian
228cbc4dae Merge branch 'bugfix/sync_host_nocp_cmd_v4.3' into 'release/v4.3'
Nimble: Add support for sync for Host NOCP command .

See merge request espressif/esp-idf!18609
2022-06-30 15:55:08 +08:00
Jiang Jiang Jian
578146ad5d Merge branch 'bugfix/avdtp_genreal_reject_format_error_v4.3' into 'release/v4.3'
component_bt: Fix AVDTP general reject format error(v4.3)

See merge request espressif/esp-idf!18557
2022-06-21 20:54:45 +08:00
Rahul Tank
57fd6c0e69 Nimble: Add support for sync for Host NOCP command . 2022-06-21 16:41:52 +05:30
xiongweichao
e1120e2554 update hfp_ag version to 1.7.2 2022-06-21 14:46:49 +08:00
xiongweichao
21fbc7355a Fix AVDTP general reject format error. 2022-06-17 10:21:10 +08:00
keymoon
8aa0f77863 assign value to uninitialized bt_addr field 2022-05-29 18:06:45 -07:00
keymoon
71791a4706 add address field to read_rmt_name_param 2022-05-29 18:06:35 -07:00
Jiang Jiang Jian
91f679bdb3 Merge branch 'bugfix/fix_disable_bt_log_ci_fail_v4.3' into 'release/v4.3'
component_bt: Fix CI failure when disable bluetooth debug log(v4.3)

See merge request espressif/esp-idf!17906
2022-05-13 15:22:16 +08: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
xiongweichao
30b2cad3b7 Fix CI failure when disable bluetooth debug log 2022-04-26 15:14:26 +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
Jiang Jiang Jian
8ffddf53bc Merge branch 'bugfix/btdm_link_error_of_kconfig_v4.3' into 'release/v4.3'
Bugfix/btdm link error of kconfig v4.3

See merge request espressif/esp-idf!15466
2022-03-16 16:25:15 +08:00
Jiang Jiang Jian
c6a96e9a57 Merge branch 'doc/update_document_of_demo_bt_discovery_v4.3' into 'release/v4.3'
Doc/update document of demo bt discovery v4.3

See merge request espressif/esp-idf!16576
2022-03-16 10:23:47 +08:00
baohongde
99adcfbda0 components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 2022-03-11 10:48:21 +00:00
baohongde
6f86e1bb63 components/bt: Fix link error of Kconfig 2022-03-11 10:48:21 +00:00
xiongweichao
7cb6468fff Update HFP_HF version to 1.7.2 2022-03-08 11:01:40 +08:00
Rahul Tank
4ddd1f9d11 Nimble: Check stack initialization status before executing stack command
Previous commit added checks in some functions that can be called
    without stack initalization. Corrected such instances.
2022-02-22 10:26:54 +05:30
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
Wang Meng Yang
f68da60831 Merge branch 'bugfix/fix_bluedroid_compile_issue_v4.3' into 'release/v4.3'
components/bt: Fix bluedroid compile issue(backport release/v4.3)

See merge request espressif/esp-idf!16593
2022-01-11 09:52:16 +00:00
Wang Meng Yang
06f2f1c6b2 Merge branch 'bugfix/fix_null_pointer_deference_issue_4.3_mr' into 'release/v4.3'
Fix the null pointer deference issue via Reconnection Spamming

See merge request espressif/esp-idf!16638
2022-01-10 08:44:25 +00:00
Wang Meng Yang
b9c5ef1717 Merge branch 'bugfix/fix_spp_open_err_bda_v4.3' into 'release/v4.3'
Component_bt/Fix SPP acceptor open with wrong remote address[backport 4.3]

See merge request espressif/esp-idf!16614
2022-01-06 04:06:42 +00:00
“YangZhao”
74f4d07c3b There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2022-01-04 11:09:44 +08:00
liqigan
04bea91b38 fix SPP open with wrong remote bd_addr 2021-12-30 16:36:51 +08:00
xiewenxiang
abacbb1d12 components/bt: Fix bluedroid compile issue 2021-12-30 11:58:21 +08:00
xiewenxiang
ab2148a390 component/bt: fix periodic adv parameters detection issue 2021-12-29 15:03:28 +08:00