288 Commits

Author SHA1 Message Date
Jiang Jiang Jian
b4878a0f09 Merge branch 'bugfix/stack_init_changes_v4.1' into 'release/v4.1'
Nimble: Check stack initialization status before executing stack command (v4.1)

See merge request espressif/esp-idf!19946
2022-09-14 16:13:32 +08:00
xiongweichao
c2411837d1 bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data 2022-09-09 17:49:00 +08:00
Rahul Tank
0c7f0058f2 Nimble: Check stack initialization status before executing stack command 2022-09-06 10:15:42 +05:30
xiongweichao
2df7bcbe0f 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-09-05 14:31:10 +08:00
Jiang Jiang Jian
e072b09196 Merge branch 'bugfix/fix_bluedroid_host_memory_overflow_v4.1' into 'release/v4.1'
Fixed bluedroid host memory overflow for v4.1

See merge request espressif/esp-idf!18906
2022-08-16 17:48:11 +08:00
zhiweijian@espressif.com
c6e504da19 Fixed bluedroid host memory overflow 2022-07-15 14:28:51 +08:00
Jiang Jiang Jian
e5e7cb4654 Merge branch 'bugfix/not_use_malloc_in_bluedroid_v4.1' into 'release/v4.1'
component/bt: use osi_malloc instead of malloc in bluedroid

See merge request espressif/esp-idf!18846
2022-07-11 16:32:14 +08:00
Wang Meng Yang
85c5f17e0c Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg_v4.1' into 'release/v4.1'
bugfix/fix the issue of functions not defined when enable memory debug (v4.1)

See merge request espressif/esp-idf!18818
2022-07-11 15:38:06 +08:00
jincheng
528a65a4a9 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:24 +08:00
jincheng
52f1688e6b fix the issue of functions not defined when enable memory debug 2022-07-08 10:59:49 +08:00
baohongde
0f2bf37b23 component/bt: use osi_malloc instead of malloc in bluedroid 2022-07-04 16:35:23 +08:00
xiongweichao
e59ce80147 Fix AVDTP general reject format error. 2022-06-17 10:32:56 +08:00
keymoon
e8ee4c05e6 assign value to uninitialized bt_addr field 2022-05-29 18:01:21 -07:00
keymoon
3c79eccc66 add address field to read_rmt_name_param 2022-05-29 18:01:11 -07:00
xiongweichao
25fdbddffa Fix spp initialization failure without free mutex 2022-04-27 14:59:46 +08:00
xiongweichao
5bbdbabd75 Fix spp crash after calling esp_spp_deinit 2022-04-27 14:59:37 +08:00
xiongweichao
71e403a81e Fix CI failure when disable bluetooth debug log 2022-04-26 11:37:48 +08:00
Wang Meng Yang
a808f59991 Merge branch 'bugfix/bt_add_some_debug_log_v4.1' into 'release/v4.1'
component_bt: Add some bluetooth debug log(v4.1)

See merge request espressif/esp-idf!17619
2022-04-19 20:12:25 +08:00
Wang Meng Yang
5f95be7703 Merge branch 'feature/update_hfp_hf_version_v4.1' into 'release/v4.1'
component_bt: Update HFP_HF version to 1.7.2(v4.1)

See merge request espressif/esp-idf!17394
2022-04-19 20:10:38 +08:00
liqigan
a7f2510423 add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT 2022-04-12 15:41:44 +08:00
liqigan
baf89cb3bd fix SPP initiator can not free resource when connection is failed 2022-04-12 15:41:06 +08:00
xiongweichao
6d9d5b4cde Add some bluetooth debug log 2022-03-28 14:06:49 +08:00
xiongweichao
9f80c20181 Update HFP_HF version to 1.7.2 2022-03-08 11:21:00 +08:00
xiongweichao
52f6ed8646 btc_a2dp_control_set_datachnl_stat is only used by a2dp sink 2022-02-15 11:56:45 +08:00
xiongweichao
b432340266 remove btc_a2dp_dispatch_datapath_evt and event 2022-02-15 11:56:45 +08:00
xiongweichao
cd05f5252a Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started 2022-02-15 11:56:45 +08:00
xiongweichao
b29ec46c88 Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink 2022-02-15 11:56:44 +08:00
Rahul Tank
eee592d809 Nimble : Modify ble_gap_wl_set to support clearing complete whitelist 2022-02-14 16:44:57 +05:30
liqigan
09d97a007b fix SPP open with wrong remote bd_addr 2021-12-31 15:48:48 +08:00
Jiang Jiang Jian
ebf628e4ae Merge branch 'feature/support_ble_direct_ind_low_adv_v4.1' into 'release/v4.1'
components/bt: Support low duty cycle directed advertising(backport release/v4.1)

See merge request espressif/esp-idf!16380
2021-12-29 06:09:51 +00:00
Wang Meng Yang
284fa65271 Merge branch 'bugfix/fix_spp_listen_err_v4.1' into 'release/v4.1'
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.1]

See merge request espressif/esp-idf!16386
2021-12-21 08:01:18 +00:00
Jiang Jiang Jian
7e7ea6c779 Merge branch 'feature/add_coex_hci_command_v4.1' into 'release/v4.1'
Add hci command to set coexistence status (v4.1)

See merge request espressif/esp-idf!16056
2021-12-21 03:31:57 +00:00
Jiang Jiang Jian
6f737fdca8 Merge branch 'bugfix/leedarson_v4.1' into 'release/v4.1'
component_bt: Fix some code logic errors (v4.1)

See merge request espressif/esp-idf!16039
2021-12-21 03:31:43 +00:00
xiewenxiang
e4d61c3d85 components/bt: fix blufi encryption fail 2021-12-16 16:22:23 +08:00
xiewenxiang
554b71c541 components/bt: Fix high duty cycle directed advertising will not be stopped when timeout 2021-12-16 16:21:52 +08:00
xiewenxiang
2aa8b8794c components/bt: Support low duty cycle directed advertising 2021-12-16 16:21:52 +08:00
liqigan
70375166ba fix SPP server bugs when the BTC layer can not allocate a slot for the listen port 2021-12-14 11:22:53 +08:00
xiongweichao
edd24b518b Add hci command to set coexistence status 2021-12-07 17:41:59 +08:00
xiongweichao
b01ea3e2c7 Missing break in switch 2021-12-07 12:11:33 +08:00
xiongweichao
b37e2553aa already defined in bt_target.h 2021-12-07 12:11:33 +08:00
xiongweichao
33fd228c9d Dereference after null check 2021-12-07 12:11:33 +08:00
xiongweichao
01a7b1de70 Dereference before null check 2021-12-07 12:11:33 +08:00
xiongweichao
92f258e927 Logically dead code 2021-12-07 12:11:33 +08:00
“YangZhao”
dea009aa62 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-12-06 14:04:05 +08:00
xiewenxiang
85a6c2ea9b component/bt: fix data length update failed 2021-10-13 19:47:43 +08:00
Jiang Jiang Jian
d0525dcf03 Merge branch 'bugfix/stack_init_check_v4.1' into 'release/v4.1'
NimBLE: Check stack status before executing stack command

See merge request espressif/esp-idf!14985
2021-09-23 07:55:34 +00:00
zhiweijian
ffc6072f80 component/bt: add clear white list API 2021-09-22 16:01:51 +08:00
Wang Meng Yang
01a11b2d0e Merge branch 'bugfix/hf_disc_acl_no_disc_v4.1' into 'release/v4.1'
bugfix/acl can't disconnect when hfp_client disconnect [release/v4.1]

See merge request espressif/esp-idf!15058
2021-09-07 23:30:20 +00:00
jincheng
f5e1d1c2bf fix timer collision in role switch
Closes https://github.com/espressif/esp-idf/issues/7203
2021-09-06 10:35:25 +08:00
jincheng
ba8f1e4b5c fix acl can not disconnect when hf_client disconnect 2021-09-03 11:29:14 +08:00