chenjianhua
2101438df6
bluedroid: fixed compile warning when optimize for performance
2023-07-18 11:52:49 +08:00
zhanghaipeng
688c7b41ec
fix(bt): Fix ble advertising data length 0 error
...
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:42:06 +08:00
xiongweichao
8148b5deb9
components/bt: Fix crash due to NULL point
2023-07-11 07:23:45 +00:00
Jiang Jiang Jian
a7c461032b
Merge branch 'bugfix/hfp_packet_type_err_v4.4' into 'release/v4.4'
...
Revised (e)SCO configuration parameter sets (v4.4)
See merge request espressif/esp-idf!24348
2023-06-28 10:04:44 +08:00
Jin Cheng
28747f432f
Fixed the issue of alarm leak in hf-ag
2023-06-21 15:35:25 +08:00
Jin Cheng
028d551101
Fixed the issue of alarm leak in A2DP
2023-06-21 15:35:14 +08:00
Jin Cheng
7837fd484e
Revised (e)SCO configuration parameter sets
2023-06-21 14:06:16 +08:00
chenjianhua
35a14bf383
bluedroid: fixed default extended connection params
2023-06-16 16:28:07 +08:00
Jiang Jiang Jian
4a4fea5746
Merge branch 'bugfix/hfp_ag_idx_invalid_v4.4' into 'release/v4.4'
...
bt: Fixed out of bounds access due to variable length array(v4.4)
See merge request espressif/esp-idf!23667
2023-06-09 19:18:58 +08:00
Jiang Jiang Jian
ff4ae8df34
Merge branch 'bugfix/hf_cind_ind_index_v4.4' into 'release/v4.4'
...
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator(v4.4)
See merge request espressif/esp-idf!23562
2023-06-09 19:18:16 +08:00
Jiang Jiang Jian
4462c00107
Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v4.4' into 'release/v4.4'
...
Bugfix/a2dp source crash connect to bose speaker (v4.4)
See merge request espressif/esp-idf!23350
2023-06-09 19:17:10 +08:00
zhiweijian
c76c6508a1
Fixed battery profile wrong condition
2023-05-25 10:46:12 +00:00
zwj
ecc2cc1be0
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-25 10:46:12 +00:00
xiongweichao
f3b2e22d74
bt: Deleted some redundant variables in HFP_AG
2023-05-10 10:24:54 +08:00
xiongweichao
074f0ad41c
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-10 10:24:50 +08:00
xiongweichao
e3263ad608
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-05-10 10:24:45 +08:00
xiongweichao
017517b804
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:16:12 +08:00
Jin Cheng
8704eb1713
fix a2dp source crash when connect to Bose speaker
2023-04-21 21:20:57 +08:00
chenjianhua
8f3f635e8c
bluedroid: report status after clearing the BLE white list
2023-04-20 15:59:07 +08:00
chenjianhua
908c5e1fd2
bluedroid: fix GATTC cache address save
2023-04-20 15:59:07 +08:00
chenjianhua
e2a307bd8f
bluedroid: fix adv and scan state conflict
2023-04-20 15:59:07 +08:00
chenjianhua
814bcf4021
bluedroid: support get bluetooth device name
2023-04-20 15:59:07 +08:00
Jin Cheng
3a361bc62f
fixed the crash of LoadProhibited caused by taht
...
the nodes are deleted during the traversal of the linked list
2023-04-08 11:30:35 +08:00
Jiang Jiang Jian
c0efc25049
Merge branch 'bugfix/fix_hw_ralunderrun_assert_v4.4' into 'release/v4.4'
...
Fixed BLE HW RAL_UNDERRUN asser and backport some bug fix 23-03-30 (back port v4.4)
See merge request espressif/esp-idf!23004
2023-04-04 10:50:25 +08:00
zwj
bd8d473006
If it is not esp32 chips, hide the configuration item: BT_BLE_RPA_SUPPORTED
2023-03-30 17:00:56 +08:00
zhiweijian
49691b6a9e
Fixed ATT Ignore wrong response error
2023-03-30 16:13:32 +08:00
Jin Cheng
8daf85b32a
Optimized the document for GAP API:
...
`esp_bt_gap_set_cod`
2023-03-30 14:17:17 +08:00
Jin Cheng
c8a3237309
Fixed the index out of bounds of hfp_ag BTC control block
2023-03-22 15:49:56 +08:00
Jiang Jiang Jian
7cfc1a747f
Merge branch 'docs/update_esp_hid_device_v4.4' into 'release/v4.4'
...
docs: fixed missing API-reference documents for Bluetooth HID device(backport v4.4)
See merge request espressif/esp-idf!19582
2023-03-17 19:40:43 +08:00
Jiang Jiang Jian
11e20bbf7b
Merge branch 'bugfix/avrcp_psth_cmd_rsp_v4.4' into 'release/v4.4'
...
bt:Added a parameter to tell the user the result of the pass through command implementation(v4.4)
See merge request espressif/esp-idf!22789
2023-03-17 13:52:39 +08:00
xiongweichao
0ac35d3f09
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-03-14 16:44:10 +08:00
wangmengyang
67cc93b1d5
bt: fix the documentations for Bluetooth HID device APIs
2023-03-14 12:13:48 +08:00
Marius Vikhammer
f262f1c361
docs: fix broken links
2023-03-14 10:26:37 +08:00
liqigan
f0394b03bc
fix HID Host bug when handling the two consecutive connection request
...
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-13 10:22:28 +08:00
Jiang Jiang Jian
17a0cdae49
Merge branch 'bugfix/fix_some_ble_bug_v4.4' into 'release/v4.4'
...
Fixed some BLE bugs (backport v4.4)
See merge request espressif/esp-idf!22364
2023-02-26 16:13:07 +08:00
wangmengyang
50015c6047
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-02-23 14:21:08 +08:00
chenjianhua
f986abd482
bluedroid: support ble privacy by controller
2023-02-14 11:13:56 +08:00
chenjianhua
f953320c96
bluedroid: add params in GATT connect event
2023-02-14 11:13:27 +08:00
Jin Cheng
123b6f132b
Fixed build errors when sniff subrating is enabled.
2023-02-13 17:27:24 +08:00
Jiang Jiang Jian
f46b03fd91
Merge branch 'bugfix/a2dp_error_code_v4.4' into 'release/v4.4'
...
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code(v4.4)
See merge request espressif/esp-idf!21623
2023-02-03 13:51:10 +08:00
Jiang Jiang Jian
b818abb0d7
Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v4.4' into 'release/v4.4'
...
Fixed some BLE bugs (backport v4.4)
See merge request espressif/esp-idf!21691
2023-02-03 13:50:12 +08:00
Jiang Jiang Jian
202e1c1fb8
Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v4.4' into 'release/v4.4'
...
feature/report ACL link related events to application (v4.4)
See merge request espressif/esp-idf!21525
2023-02-03 13:49:59 +08:00
jincheng
48212875f8
Added reporting for ACL link related events to application
2023-01-04 11:48:51 +08:00
chenjianhua
f44f3d13bc
bluedroid: fix ble connection update with same params
2022-12-19 19:10:26 +08:00
chenjianhua
8cf14e42ba
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-19 17:42:08 +08:00
chenjianhua
0cb30a3da0
bluedroid: correct the length of att read by type pdu
2022-12-19 17:41:45 +08:00
xiongweichao
d1ce1f9586
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-12-15 17:01:32 +08:00
Jin Cheng
efcef1a400
correct the SR_mode selection when konw nothing about Peripheral
2022-12-09 10:28:06 +08:00
Wang Meng Yang
77b37716a3
Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption_v4.4' into 'release/v4.4'
...
Reduce the stack consumption of BTU_TASK (backport v4.4)
See merge request espressif/esp-idf!21435
2022-12-07 11:29:48 +08:00
xiongweichao
8246d6bec6
Assert when malloc user_data fail
2022-12-06 06:02:01 +00:00
xiongweichao
cdbdb31d6d
Fixed memory leak when SPP initialization failed
2022-12-06 06:02:01 +00:00
xiongweichao
67341a31b7
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-06 06:02:01 +00:00
xiongweichao
5c14b6eed1
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-12-05 20:48:16 +08:00
xiongweichao
9ec06ba4ac
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-05 20:48:04 +08:00
zwj
b07e7d7c3f
Reduce the stack consumption of BTU_TASK
2022-12-05 15:50:09 +08:00
Wang Meng Yang
6672ec0692
Merge branch 'feature/support_ble_max_conn_num_to_9_v4.4' into 'release/v4.4'
...
Support bluedroid host maximum number of connections to 9 (backport v4.4)
See merge request espressif/esp-idf!21399
2022-12-05 12:16:55 +08:00
zhiweijian
6e1eb4af26
bluedroid host supports the maximum number of connections to 9
2022-12-02 12:00:53 +08:00
liqigan
7ba36f4d47
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:18:19 +08:00
xiongweichao
a2e8c6f95c
Fixed a2dp failing to connect again after disconnect
2022-11-30 19:11:27 +08:00
Jin Cheng
2c38701f68
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 12:14:08 +08:00
liqigan
a96c1fc7c6
fix HFP client parse CLCC command response bug
2022-11-18 19:41:41 +08:00
zwj
80078b6192
Fixed errors reported by CI clang_tidy_check
2022-11-17 03:46:02 +00:00
zwj
d6e3d887c1
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-17 03:46:02 +00:00
Jin Cheng
07518cf467
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:48:13 +08:00
Jiang Jiang Jian
6ea8717373
Merge branch 'bugfix/esp_spp_write_len_0_v4.4' into 'release/v4.4'
...
bt: Fixed esp_spp_write() crash when len is 0 (v4.4)
See merge request espressif/esp-idf!20705
2022-11-09 17:57:10 +08:00
Jiang Jiang Jian
9e9f0592f8
Merge branch 'bugfix/fix_esp32_esp32c3_some_bugs' into 'release/v4.4'
...
Fixed BLE lld_per_adv.c line 401 assert on ESP32C3 and ESP32S3 (backport v4.4)
See merge request espressif/esp-idf!20757
2022-11-09 17:52:42 +08:00
xiongweichao
c4fd19c144
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:43:49 +08:00
zwj
290a6c8ade
allow bluedroid host to report adv_ind separately
2022-10-24 19:28:23 +08:00
xiongweichao
b35c2f9794
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-21 11:18:25 +08:00
chenjianhua
cd92bad84a
bluedroid: configurable max gattc cache characteristic count
2022-10-09 16:27:54 +08:00
chenjianhua
bec6de98c4
fix ble adv tx power map
2022-10-09 16:27:06 +08:00
chenjianhua
38d1250788
bluedroid: fix ble rpa generate and update by host
2022-10-09 16:25:17 +08:00
chenjianhua
cfc85ac1c6
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-10-09 16:23:24 +08:00
chenjianhua
f943f37927
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-10-09 16:16:59 +08:00
chenjianhua
83c9d18309
Bluedroid: Configurable option to modify max gatt service attributes count
2022-10-09 16:13:20 +08:00
cjin
403bff2a2b
fix err using rpa for confirmation calculation
2022-09-27 19:32:26 +08:00
cjin
b063151c4b
fix on data len change cmd malfunction
2022-09-27 19:32:11 +08:00
zwj
358a03e844
Fixed extend adv tx power range error
2022-09-27 19:30:06 +08:00
Jiang Jiang Jian
ae263f1bc8
Merge branch 'feature/sink_support_mono_v4.4' into 'release/v4.4'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.4)
See merge request espressif/esp-idf!20077
2022-09-26 17:47:31 +08:00
satish.solanke
bb6f2ca740
Support of Micro defination in header file
2022-09-20 11:07:06 +05:30
Wang Meng Yang
224871784b
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v4.4' into 'release/v4.4'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting (backport v4.4)
See merge request espressif/esp-idf!20042
2022-09-09 21:05:52 +08:00
xiongweichao
4c4799ac49
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:31:04 +08:00
satish.solanke
a44071ab14
updating doc for the issue doc_3566
2022-09-09 10:40:44 +05:30
zwj
4bf2eb3f48
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-08 17:54:43 +08:00
xiongweichao
d0c19a0e74
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:23:16 +08:00
zwj
fc4ffd144a
fix extend adv set remove failed
2022-08-23 19:49:40 +08:00
wangmengyang
9aa32bc499
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-11 16:17:17 +08:00
Jiang Jiang Jian
4bf8f462a2
Merge branch 'opt/bluedroid_adv_report_datapath_v4.4' into 'release/v4.4'
...
Bluetooth/Bluedroid: optimize BLE adv report datapath and adv report flow control mechanism(backport v4.4)
See merge request espressif/esp-idf!19381
2022-08-11 11:20:42 +08:00
linruihao
fdf7029078
Fixed union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-09 15:25:44 +08:00
tgotic
4c6d2e0da7
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-09 15:25:24 +08:00
Jiang Jiang Jian
905b3b1718
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues_v4.4' into 'release/v4.4'
...
Fix some bluedroid issues(backport v4.4)
See merge request espressif/esp-idf!19130
2022-08-04 14:45:44 +08:00
Jiang Jiang Jian
d3eeebf8f8
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow_v4.4' into 'release/v4.4'
...
Fixed bluedroid host memory overflow for v4.4
See merge request espressif/esp-idf!19060
2022-08-04 14:44:40 +08:00
Jiang Jiang Jian
79a8ad665a
Merge branch 'bugfix/memory_copy_bugs_in_bluedroid_4.4' into 'release/v4.4'
...
components_bt/bluedroid: Fix Memory Copy Build Err [backport v4.4]
See merge request espressif/esp-idf!19311
2022-08-04 14:41:58 +08:00
Karl Wang
e5a96aaca6
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-03 21:55:08 +08:00
wangmengyang
c6c4a23098
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-03 21:55:07 +08:00
Karl Wang
6c0c837378
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-03 21:55:06 +08:00
wangmengyang
aaf1d3909d
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-03 21:55:05 +08:00
wangmengyang
c3f5b85032
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-03 21:55:04 +08:00
wangmengyang
b735c46ba7
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-03 21:55:03 +08:00
wangmengyang
2ef0627c2c
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-03 21:55:02 +08:00