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
Jiang Jiang Jian
d5728c4583
Merge branch 'bugfix/not_use_malloc_in_bluedroid_v4.3' into 'release/v4.3'
...
component/bt: use osi_malloc instead of malloc in bluedroid
See merge request espressif/esp-idf!18844
2022-07-08 16:48:30 +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
21888edbf3
restore edr_en which wrongly cleared by rsw
...
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features
2022-07-08 14:11:46 +08:00
xiewenxiang
ac3fbccbe1
doc(bt): Add description for de-initialize bt controller
2022-07-08 11:03:16 +08:00
jincheng
5050625f9e
fix the issue of functions not defined when enable memory debug
2022-07-08 11:02:04 +08:00
Jack
9b0b046382
fix the bug that some memory leaked in phy after wifi/ble deinit
2022-07-06 04:36:12 +00: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
xiongweichao
24e47c1def
Fix rtc watchdog timeout when waking up light sleep because some functions are not in IRAM
2022-07-05 11:16:19 +08:00
baohongde
565142e60c
component/bt: use osi_malloc instead of malloc in bluedroid
2022-07-04 16:17:51 +08:00
wangjialiang
5747b35308
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
2022-07-01 11:43:48 +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
wangjialiang
dd72d309b6
ble_mesh: stack: Add filter old seq_auth packet menuconfig
2022-06-23 16:19:15 +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
Jiang Jiang Jian
319ba4419d
Merge branch 'bugfix/uninitialized-element_v4.3' into 'release/v4.3'
...
component_bt:initialize all elements of esp_bt_controller_config_t(v4.3)
See merge request espressif/esp-idf!18405
2022-06-15 11:06:56 +08:00
wangmengyang
9e96538a86
Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport
2022-06-13 15:56:44 +08:00
Jiang Jiang Jian
5494b483af
Merge branch 'bugfix/pm_enabled_bt_build_fail_v4.3' into 'release/v4.3'
...
Bluetooth build fail when power management is enabled(v4.3)
See merge request espressif/esp-idf!18382
2022-06-09 17:25:51 +08:00
Jiang Jiang Jian
ae47e3f172
Merge branch 'bugfix/add_bda_to_read_rmt_name_param_v4.3' into 'release/v4.3'
...
Bugfix/add bda to read rmt name param v4.3
See merge request espressif/esp-idf!18281
2022-06-09 11:12:17 +08:00
xiongweichao
16e6f85ab6
initialize all elements of esp_bt_controller_config_t
...
Closes https://github.com/espressif/esp-idf/pull/9073
2022-06-07 17:38:51 +08:00
xiongweichao
222a3da891
Bluetooth build fail when power management is enabled
...
Closes https://github.com/espressif/esp-idf/issues/9081
2022-06-06 20:16:53 +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
Karl Wang
cd43531831
components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issuescomponents/bt: disable Bluetooth PLL track function for ESP32-C3 as it introduced coexistence issues
2022-05-17 20:58:31 +08: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
Jiang Jiang Jian
c9ff4822c5
Merge branch 'bugfix/spp_crash_after_call_spp_deinit_v4.3' into 'release/v4.3'
...
Component_bt/Fix spp crash after call esp_spp_deinit(v4.3)
See merge request espressif/esp-idf!17931
2022-05-13 15:21:07 +08:00
xiongweichao
d6f857a2f0
Fix ESP32C3 build error after enable light sleep
2022-05-05 10:50:33 +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
wangjialiang
c4f39a5d91
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:52:30 +08:00
xiewenxiang
9b0e8266c8
Update esp c3 phy lib (aa05aec)
2022-04-21 11:08:30 +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
053a59a0b1
components/bt: Fix build-doc error
2022-03-11 10:48:21 +00:00
baohongde
99adcfbda0
components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller
2022-03-11 10:48:21 +00:00
baohongde
4b0c1d6f71
Fix bt init error with psram
2022-03-11 10:48:21 +00:00
baohongde
2f8b58d88f
components/bt: Combine 3 Bluetooth controller menu
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
Wang Meng Yang
0997c6df99
Merge branch 'feature/update_hfp_hf_version_v4.3' into 'release/v4.3'
...
component_bt: Update HFP_HF version to 1.7.2(v4.3)
See merge request espressif/esp-idf!17392
2022-03-10 20:20:12 +08:00
xiongweichao
7cb6468fff
Update HFP_HF version to 1.7.2
2022-03-08 11:01:40 +08:00
“YangZhao”
c399f5d1e7
Update ESP32-C3 bt lib and phy lib
...
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-08 01:45:06 +00:00
wangjialiang
8cf5786444
ble_mesh: stack: Bugfix the proxy client abnormal disconnection
2022-03-05 11:14:57 +00:00
wangjialiang
d975bb0086
ble_mesh: stack: Add proxy server connect and disconnect event
2022-03-05 11:14:57 +00:00
xiongweichao
e98d72ee76
Fix crash when host exit sniff mode
2022-03-03 16:20:13 +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
xiewenxiang
2d65703547
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:37:38 +08:00
Wang Meng Yang
119ae77993
Merge branch 'bugfix/a2dp_source_congest_v4.3' into 'release/v4.3'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink (v4.3)
See merge request espressif/esp-idf!16735
2022-02-09 11:34:21 +00:00
Wang Meng Yang
ab099369c8
Merge branch 'bugfix/config_parse_crash_after_flash_erase_v4.3' into 'release/v4.3'
...
component_bt: fixed config parse crash after flash_erase(v4.3)
See merge request espressif/esp-idf!16731
2022-02-09 11:15:52 +00: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
xiongweichao
947e7909b9
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-24 14:02:01 +08:00
jincheng
53f20589a4
fix cs event for rd_rem_ext_feats delayed issue
2022-01-24 10:31:27 +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
aaeecdf0e7
component/bt: Support set HW CCA threshold value
2021-12-29 15:40:26 +08:00
xiewenxiang
ab2148a390
component/bt: fix periodic adv parameters detection issue
2021-12-29 15:03:28 +08:00
baohongde
918d8fabcf
components/bt: Update the document of demo bt discovery
2021-12-29 14:39:18 +08:00
Yang Zhao
65edf90e93
Update esp32c3 phy lib and bb lib
...
Fix the ble task watchdog timeout issue caused by phy enable when exit modem sleep.
2021-12-23 20:30:12 +08:00
Jiang Jiang Jian
57efd94fea
Merge branch 'bugfix/scannable_adv_duration_estimation_v4.3' into 'release/v4.3'
...
[Coexistence]: fixed BLE scannable extended adv performance issue in case of Wi-Fi coexistence(backport v4.3)
See merge request espressif/esp-idf!16477
2021-12-23 04:21:37 +00:00
Jiang Jiang Jian
7a4ed65769
Merge branch 'bugifx/nimble_timer_memory_leak_v4.3' into 'release/v4.3'
...
[NimBLE]: Fixed memory leak of timer during NimBLE Host start-stop process(backport v4.3)
See merge request espressif/esp-idf!16446
2021-12-22 13:34:03 +00:00
Jiang Jiang Jian
31d1156c6d
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr_4.3' into 'release/v4.3'
...
fix can not find mac addr error
See merge request espressif/esp-idf!16146
2021-12-22 13:33:29 +00:00
wangmengyang
3f63a4caee
component/bt: fixed coexistence scannable extended adv performance issue
2021-12-21 12:55:13 +08:00
Wang Meng Yang
450b05a64a
Merge branch 'bugfix/fix_spp_listen_err_v4.3' into 'release/v4.3'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.3]
See merge request espressif/esp-idf!16384
2021-12-21 04:35:07 +00:00
Wang Meng Yang
04f69192d2
Merge branch 'bugfix/fix_blufi_encryption_fail_v4.3' into 'release/v4.3'
...
components/bt: fix blufi encryption fail(backport release/v4.3)
See merge request espressif/esp-idf!16315
2021-12-21 03:30:02 +00:00
Wang Meng Yang
91d7557579
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.3' into 'release/v4.3'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.3)
See merge request espressif/esp-idf!16378
2021-12-21 03:27:09 +00:00
wangmengyang
971d9b9436
component/bt/host/nimble: fixed memory leak due to timer not destroyed during NimBLE host start-stop
2021-12-20 15:55:47 +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
xiewenxiang
a7900f871f
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-14 09:33:24 +08:00
xiewenxiang
d4cc192782
components/bt: Support low duty cycle directed advertising
2021-12-14 09:33:17 +08:00
xiewenxiang
8409e3bcbe
components/bt: fix blufi encryption fail
2021-12-13 09:55:00 +08:00
Yang Zhao
f2d6cb7298
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:27:32 +08:00
Jiang Jiang Jian
0c77b89e13
Merge branch 'feature/add_coex_hci_command_v4.3' into 'release/v4.3'
...
Add hci command to set coexistence status (4.3)
See merge request espressif/esp-idf!16054
2021-11-25 08:02:14 +00:00
xiewenxiang
1fbf3bcfef
component/bt: fix crash when shutdown bt
2021-11-23 20:01:16 +08:00
Jiang Jiang Jian
9e37f39441
Merge branch 'bugfix/fix_ble_prefered_ext_conn_parameter_detection_v4.3' into 'release/v4.3'
...
component/bt: check the ble ext conn parameter(backport v4.3)
See merge request espressif/esp-idf!15769
2021-11-23 06:53:16 +00: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
Jiang Jiang Jian
254b78d449
Merge branch 'bugfix/leedarson_v4.3' into 'release/v4.3'
...
component_bt: Fix some code logic errors (v4.3)
See merge request espressif/esp-idf!16026
2021-11-23 06:34:33 +00:00
Jiang Jiang Jian
e8153a3cd5
Merge branch 'bugfix/sig_ble_mesh_errata_e16350_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG (v4.3)
See merge request espressif/esp-idf!15784
2021-11-23 06:30:46 +00:00
Jiang Jiang Jian
07daa951b6
Merge branch 'bugfix/ble_mesh_host_init_v4.3' into 'release/v4.3'
...
ble_mesh: nimble: return error if init host twice (v4.3)
See merge request espressif/esp-idf!15788
2021-11-23 06:30:28 +00:00
Jiang Jiang Jian
a657543989
Merge branch 'bugfix/nimble_dirty_timer_handle_after_deinit_v4.3' into 'release/v4.3'
...
[NimBLE]: clear timer handler during de-initialization(backport v4.3)
See merge request espressif/esp-idf!16029
2021-11-23 06:24:11 +00:00
Jiang Jiang Jian
b57fff983f
Merge branch 'bugfix/fix_memory_leak_controller_deinit_v4.3' into 'release/v4.3'
...
ESP32: Fix memory leak in controller deinit function v4.3
See merge request espressif/esp-idf!15969
2021-11-23 06:19:52 +00:00
xiongweichao
8a9ca26d61
Add hci command to set coexistence status
2021-11-23 11:40:17 +08: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
wangmengyang
21666192d5
[nimble]: clear timer handler during de-initialization
2021-11-22 10:59:21 +08:00
xiongweichao
92a4cdd7fd
Missing break in switch
2021-11-22 10:47:28 +08:00
xiongweichao
97e728a9aa
Dereference null return value
2021-11-22 10:47:23 +08:00
xiongweichao
a977434855
already defined in bt_target.h
2021-11-22 10:47:12 +08:00
xiongweichao
50f34eb553
Dereference after null check
2021-11-22 10:47:07 +08:00
xiongweichao
a7f26d24d9
Dereference before null check
2021-11-22 10:47:01 +08:00