Jiang Jiang Jian
0117a6e7b1
Merge branch 'bugfix/hf_cind_ind_index_v5.0' into 'release/v5.0'
...
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator(v5.0)
See merge request espressif/esp-idf!23560
2023-05-11 17:25:27 +08:00
xiongweichao
22eeaf2f70
bt: Deleted some redundant variables in HFP_AG
2023-05-11 06:12:38 +00:00
xiongweichao
d19ecff036
bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
...
Closes https://github.com/espressif/esp-idf/issues/11264
2023-05-11 06:12:38 +00:00
xiongweichao
ff3377ddd1
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-05-11 06:12:38 +00:00
zwj
45a72222d6
If it is not esp32 chips, hide the configuration item: BT_BLE_RPA_SUPPORTED
2023-05-11 02:45:56 +00:00
zhiweijian
b9e9a60c4f
Fixed ATT Ignore wrong response error
2023-05-11 02:45:56 +00:00
xiongweichao
0624049a60
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
...
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:12:56 +08:00
chenjianhua
cceb2b4db6
bluedroid: support get bluetooth device name
2023-04-20 10:54:16 +08:00
chenjianhua
3eb5185b7b
bluedroid: report status after clearing the BLE white list
2023-04-20 10:38:23 +08:00
chenjianhua
11147b0473
bluedroid: fix GATTC cache address save
2023-04-20 10:37:13 +08:00
chenjianhua
fa051d8dc4
bluedroid: fix adv and scan state conflict
2023-04-20 10:36:14 +08:00
Jin Cheng
02bfc34aa0
Optimized the document for GAP API:
...
`esp_bt_gap_set_cod`
2023-03-30 14:16:02 +08:00
Jin Cheng
7d61e0bc52
Fixed memory leak in AVDT delay report
2023-03-23 11:23:43 +08:00
Jin Cheng
b0f6a4174a
Fixed the index out of bounds of hfp_ag BTC control block
2023-03-22 15:48:32 +08:00
Jiang Jiang Jian
fe743a057f
Merge branch 'bugfix/avrcp_psth_cmd_rsp_v5.0' into 'release/v5.0'
...
bt:Added a parameter to tell the user the result of the pass through command implementation(v5.0)
See merge request espressif/esp-idf!22726
2023-03-17 14:22:22 +08:00
Jiang Jiang Jian
9718c91a38
Merge branch 'bugfix/bluedroid_le_coc_compile_error_v5.0' into 'release/v5.0'
...
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs(backport v5.0)
See merge request espressif/esp-idf!22492
2023-03-17 13:56:36 +08:00
Marius Vikhammer
420e20f95b
docs: fix broken links
2023-03-14 10:24:51 +08:00
xiongweichao
46e7347177
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-03-13 15:03:55 +08:00
liqigan
109d42bb85
fix HID Host bug when handling the two consecutive connection request
...
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-13 10:16:51 +08:00
wangmengyang
57b26802a5
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
...
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-03-10 07:37:24 +00:00
Jiang Jiang Jian
4cc03645e8
Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!22363
2023-02-27 15:05:38 +08:00
Wang Meng Yang
3d80d4b795
Merge branch 'bugfix/sdp_event_status_overwritten_by_handle_v5.0' into 'release/v5.0'
...
bt: Fixed SDP BTA_SDP_REMOVE_RECORD_USER_EVT event status overridden by handle
See merge request espressif/esp-idf!22213
2023-02-21 18:21:33 +08:00
Wang Meng Yang
8439e6184c
Merge branch 'bugfix/build_err_with_ssr_enabled_v5.0' into 'release/v5.0'
...
bt: Fixed build errors when sniff subrating is enabled (v5.0)
See merge request espressif/esp-idf!22350
2023-02-21 18:20:06 +08:00
chenjianhua
58851cd5cd
bluedroid: support ble privacy by controller
2023-02-14 11:24:02 +08:00
chenjianhua
a13b89a043
bluedroid: add params in GATT connect event
2023-02-14 11:23:50 +08:00
Jin Cheng
2db423c62b
Fixed build errors when sniff subrating is enabled.
2023-02-13 17:26:35 +08:00
AlbertWDev
a16896af68
bt: fix SDP event status overwritten by handle
2023-02-02 20:13:52 +08:00
Jin Cheng
4c6aad37f6
Fixed crash caused by accessing nullptr in btm_acl_disconnected
2023-01-04 11:46:04 +08:00
Jiang Jiang Jian
7dae4181a8
Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!21682
2022-12-20 11:14:48 +08:00
chenjianhua
938d912daa
bluedroid: fix ble connection update with same params
2022-12-19 20:17:00 +08:00
chenjianhua
c97df72bb2
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-19 20:17:00 +08:00
chenjianhua
4b7702c0a4
bluedroid: correct the length of att read by type pdu
2022-12-19 20:17:00 +08:00
xiongweichao
32a50118a4
Assert when malloc user_data fail
2022-12-19 11:32:19 +08:00
xiongweichao
29b718bdf5
Fixed memory leak when SPP initialization failed
2022-12-19 11:32:09 +08:00
xiongweichao
3f5aaf11db
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-19 11:32:01 +08:00
xiongweichao
71bd180095
bt: Update HFP version to v1.8
2022-12-15 16:57:56 +08:00
xiongweichao
e5794669de
bt: Update A2DP version to v1.4
2022-12-15 16:57:51 +08:00
xiongweichao
9bd1484386
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-12-15 16:57:46 +08:00
Jiang Jiang Jian
232a4aee15
Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v5.0' into 'release/v5.0'
...
feature/report ACL link related events to application (v5.0)
See merge request espressif/esp-idf!21524
2022-12-14 10:45:15 +08:00
Jiang Jiang Jian
12535d6d75
Merge branch 'contrib/github_pr_9529_v5.0' into 'release/v5.0'
...
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v5.0)
See merge request espressif/esp-idf!21556
2022-12-12 17:54:13 +08:00
Jiang Jiang Jian
640b86025b
Merge branch 'bugfix/correct_the_default_SR_mode_v5.0' into 'release/v5.0'
...
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v5.0)
See merge request espressif/esp-idf!21519
2022-12-12 14:51:57 +08:00
xiongweichao
6fdd8552da
Fixed incorrect parameters in switching to BTC context
2022-12-12 11:26:39 +08:00
xiongweichao
c0392d3dd9
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-12-12 11:26:34 +08:00
xiongweichao
f9732cb65f
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-12 11:26:26 +08:00
jincheng
80da46eff3
Added reporting for ACL link related events to application
2022-12-09 11:07:50 +08:00
Jin Cheng
a1de1bfd3c
correct the SR_mode selection when konw nothing about Peripheral
2022-12-09 10:24:24 +08:00
xiongweichao
654e198464
bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init()
2022-12-07 09:38:24 +00:00
xiongweichao
c2c9b090c7
bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM
2022-12-07 09:38:24 +00:00
xiongweichao
6d57e7878d
bt: Keep the maximum number of credits unchanged
2022-12-07 09:38:24 +00:00
xiongweichao
aa25c4391c
bt: Replaced the tx queue in SPP VFS mode with ringbuffer
2022-12-07 09:38:24 +00:00
xiongweichao
6d9987f4c8
bt: Split SPP application layer data packets according to the MTU of the peer
2022-12-07 09:38:24 +00:00
xiongweichao
bce0e93b73
bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size
2022-12-07 09:38:24 +00:00
zwj
7884457d1f
Reduce the stack consumption of BTU_TASK
2022-12-05 17:12:27 +08:00
Wang Meng Yang
755ee147bd
Merge branch 'feature/support_ble_max_conn_num_to_9_v5.0' into 'release/v5.0'
...
Support bluedroid host maximum number of connections to 9 (backport v5.0)
See merge request espressif/esp-idf!21400
2022-12-05 12:16:53 +08:00
Jiang Jiang Jian
316e0e2295
Merge branch 'bugfix/fix_hid_device_vup_without_connection_5.0' into 'release/v5.0'
...
Bugfix/Fix HID Device can not remove virtually cabled device without a connection[backport 5.0]
See merge request espressif/esp-idf!21365
2022-12-02 20:38:57 +08:00
Jiang Jiang Jian
f83a531929
Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect_v5.0' into 'release/v5.0'
...
component_bt: Fixed a2dp failing to connect again after disconnect(v5.0)
See merge request espressif/esp-idf!21342
2022-12-02 20:38:13 +08:00
Jiang Jiang Jian
d92765bf9c
Merge branch 'bt/opt_audio_datapath_v5.0' into 'release/v5.0'
...
bt/optimized a2dp_sink audio datapath (v5.0)
See merge request espressif/esp-idf!21222
2022-12-02 20:36:14 +08:00
Jiang Jiang Jian
52b0a5a1d5
Merge branch 'bugfix/fix_hfp_clcc_parser_bug_5.0' into 'release/v5.0'
...
Bugfix/Fix HFP client parse CLCC command response bug[backport 5.0]
See merge request espressif/esp-idf!21155
2022-12-02 20:34:18 +08:00
Jiang Jiang Jian
6442112bb9
Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3_v5.0' into 'release/v5.0'
...
Change BLE default TX power on ESP32C3 and ESP32S3(backport v5.0)
See merge request espressif/esp-idf!21099
2022-12-02 20:32:53 +08:00
Jiang Jiang Jian
af7322aed5
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v5.0' into 'release/v5.0'
...
fixed the issue iOS devices cannot initiate connection (v5.0)
See merge request espressif/esp-idf!21063
2022-12-02 20:32:03 +08:00
zhiweijian
2a76e35ed1
bluedroid host supports the maximum number of connections to 9
2022-12-02 12:18:40 +08:00
liqigan
ad43b04898
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:14:25 +08:00
xiongweichao
d47bf56850
Fixed a2dp failing to connect again after disconnect
2022-11-30 18:46:59 +08:00
Jin Cheng
75b2e639e1
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 11:21:57 +08:00
zwj
0af189b012
Fixed errors reported by CI clang_tidy_check
2022-11-21 10:33:35 +08:00
zwj
2e0a5b3111
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-21 10:33:35 +08:00
liqigan
2539529360
fix HFP client parse CLCC command response bug
2022-11-18 19:38:58 +08:00
Jin Cheng
650b665384
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:45:34 +08:00
xiongweichao
cb647b5198
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:41:09 +08:00
xiongweichao
47232f54a8
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-26 16:40:56 +08:00
Jin Cheng
3314fcfdf7
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-18 19:47:10 +08:00
Jin Cheng
dec4052ed7
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-10-14 03:28:18 +00:00
Jiang Jiang Jian
d3ae5ed08f
Merge branch 'backport/cjh_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs on bluedroid (backport v5.0)
See merge request espressif/esp-idf!20510
2022-10-11 17:47:26 +08:00
chenjianhua
a207f218ea
bluedroid: configurable max gattc cache characteristic count
2022-10-09 17:07:53 +08:00
chenjianhua
3f3ca8bf60
fix ble adv tx power map
2022-10-09 17:07:53 +08:00
chenjianhua
548cce624c
bluedroid: fix ble rpa generate and update by host
2022-10-09 17:07:53 +08:00
chenjianhua
e9dd8a6bf5
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-10-09 17:07:53 +08:00
chenjianhua
f96e38a70d
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-10-09 17:07:53 +08:00
chenjianhua
03832cceeb
Bluedroid: Configurable option to modify max gatt service attributes count
2022-10-09 17:07:53 +08:00
zwj
2fe4ff7031
allow bluedroid host to report adv_ind separately
2022-10-08 14:53:53 +08:00
Jiang Jiang Jian
096fdb8bb4
Merge branch 'bugfix/bluedroid_debug_esp32c2_rls' into 'release/v5.0'
...
Bugfix/bludroid debug esp32c2
See merge request espressif/esp-idf!20244
2022-09-21 20:37:17 +08:00
cjin
a5c543a7a9
fix err using rpa for confirmation calculation
2022-09-20 18:06:45 +08:00
cjin
3112c8b954
mbuf copy hci data error fix
2022-09-20 18:06:45 +08:00
cjin
143a572b55
fix on data len change cmd malfunction
2022-09-20 18:06:45 +08:00
Jiang Jiang Jian
b585bdd739
Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err_v5.0' into 'release/v5.0'
...
Fixed extend adv tx power range error (backport v5.0)
See merge request espressif/esp-idf!20226
2022-09-20 16:07:26 +08:00
zwj
07c4eb8841
Fixed extend adv tx power range error
2022-09-19 16:21:22 +08:00
xiongweichao
09cc360b43
Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-15 11:35:25 +00:00
satish.solanke
622bfa3e28
updating doc for the issue doc_3566
2022-09-09 10:32:53 +05:30
Jiang Jiang Jian
cb508c7d6a
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v5.0' into 'release/v5.0'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v5.0)
See merge request espressif/esp-idf!19950
2022-09-08 17:25:24 +08:00
zwj
dc010b701b
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-06 21:28:06 +08:00
xiongweichao
607400a048
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:19:21 +08:00
Jiang Jiang Jian
40ca58496b
Merge branch 'bugfix/fix_ble_sch_arb_assert_v5.0' into 'release/v5.0'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3(backport v5.0)
See merge request espressif/esp-idf!19732
2022-08-25 13:44:29 +08:00
Jiang Jiang Jian
4b02b56f77
Merge branch 'bugfix/bt_invalid_workqueue_num_v5.0' into 'release/v5.0'
...
Bluetooth: fixed the invalid workqueue number for BTU thread in Bluedroid(backport v5.0)
See merge request espressif/esp-idf!19580
2022-08-24 16:49:26 +08:00
zwj
1c1a3845ba
fix extend adv set remove failed
2022-08-23 19:42:16 +08:00
satish.solanke
9b6d1b91c0
Support of Micro defination in header file
2022-08-23 12:05:30 +05:30
wangmengyang
518ace6bb5
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-16 17:19:58 +08:00
linruihao
d3940a6fe0
Fixed union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-09 14:38:32 +08:00
tgotic
a29b415749
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-09 14:38:08 +08:00
Karl Wang
2462003fde
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-02 17:40:00 +08:00
wangmengyang
f402778320
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-02 17:40:00 +08:00