276 Commits

Author SHA1 Message Date
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
Wang Meng Yang
907205a13a Merge branch 'bugfix/btdm_fix_some_Document_Description_Error_v4.1' into 'release/v4.1'
component/bt: fix some ble document description error(backport v4.1)

See merge request espressif/esp-idf!14825
2021-09-03 01:40:26 +00:00
XieWenxiang
3ba43f4991 component/bt: fix some ble document description error 2021-09-01 20:46:14 +08:00
Rahul Tank
12b50729ed NimBLE: Check stack status before executing stack command 2021-08-27 20:53:19 +05:30
Wang Meng Yang
47cc42f662 Merge branch 'component_bt/add_spp_faq_v4.1' into 'release/v4.1'
Component_bt/Add FAQ in SPP Demo README[backport v4.1]

See merge request espressif/esp-idf!14798
2021-08-23 05:15:26 +00:00
xiongweichao
367675be4e components/bt: fix spp memory leak
Closes https://github.com/espressif/esp-idf/issues/7238
2021-08-19 14:41:06 +08:00
liqigan
69b2100a13 add FAQ in SPP demo README 2021-08-17 15:19:31 +08:00
XieWenxiang
cd671be627 component/bt: fix bluedroid host auto update PPCP attribute value 2021-08-11 18:06:44 +08:00
xiongweichao
aec82dca51 fix spp acceptor deadlock 2021-08-09 11:06:12 +08:00
Wang Meng Yang
f86a4c4cdb Merge branch 'bugfix/fix_a2dp_sink_blocked_v4.1' into 'release/v4.1'
Bugfix/Fix a2dp Sink Blocked Bugs[backport v4.1]

See merge request espressif/esp-idf!14013
2021-08-06 03:20:00 +00:00
Jiang Jiang Jian
31594a0ae5 Merge branch 'bugfix/a2dp_deint_crash_v4.1' into 'release/v4.1'
fix a2dp deinit crash

See merge request espressif/esp-idf!14362
2021-07-20 03:14:34 +00:00
Yang Zhao
d75cb43257 bugfix:Set address resolution enable. If not set enable and the filter
policy is 2 or 3, the controller will reply with invalid param error.
2021-07-19 07:54:59 +08:00
xiongweichao
2be0def9b5 Not initialized or in the process of de-initialization, calling API will return ERR 2021-07-16 16:49:17 +08:00