Commit Graph

676 Commits

Author SHA1 Message Date
zhanghaipeng
6a81c1fcce fix(ble/bluedroid): Fix ble memory leak when gattc config off 2024-01-19 10:52:20 +08:00
linruihao
2fa19aab7a fix(bt/bludroid): Increase BTU task stack size 2024-01-08 11:36:07 +08:00
zhanghaipeng
3241fd237b fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-30 20:14:19 +08:00
Jiang Jiang Jian
bc2389029c Merge branch 'bugfix/fix_ble_app_unregister_no_event_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix ble app unregister no event(backport v5.1)

See merge request espressif/esp-idf!28175
2023-12-29 16:03:39 +08:00
Jiang Jiang Jian
82bfc1de86 Merge branch 'bugfix/crash_in_btc_hf_init_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization (v5.1)

See merge request espressif/esp-idf!28117
2023-12-29 12:01:51 +08:00
Jiang Jiang Jian
8b84071f6a Merge branch 'backport/fix_ble_prepare_write_v5.1' into 'release/v5.1'
Backport/fix ble prepare write v5.1

See merge request espressif/esp-idf!27909
2023-12-29 12:01:01 +08:00
zhanghaipeng
7755e6190c fix(bt/bluedroid): Fix ble app unregister no event 2023-12-28 19:10:10 +08:00
Jin Cheng
9d41ed6546 feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic 2023-12-26 20:21:15 +08:00
Jin Cheng
f7cfcebe69 fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well 2023-12-26 11:51:32 +08:00
Jin Cheng
885c070eb8 fix(bt/bluedroid): Changed the default air mode to invalid value 2023-12-26 11:51:32 +08:00
Jin Cheng
5f621c33da fix(bt/bluedroid): Removed redundant operation of SCO clean up 2023-12-26 11:51:32 +08:00
Jin Cheng
bf7e27d126 fix(bt/bluedroid): Corrected the definitions of HF Client callback events 2023-12-26 11:51:32 +08:00
Jin Cheng
94faa4a112 fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization
Move the release of the control blocks from the start
of deinitialization to the profile disabled event.
2023-12-26 11:51:32 +08:00
Jin Cheng
3c088db873 fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks 2023-12-26 11:51:32 +08:00
Jin Cheng
244a3f892e fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in L2CAP layer 2023-12-26 11:04:46 +08:00
Jin Cheng
0d5d7cbff7 fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer 2023-12-26 11:04:46 +08:00
Jiang Jiang Jian
df8cc9ad37 Merge branch 'fix/btc_config_lock_error_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fixed btc_config_lock error (backport v5.1)

See merge request espressif/esp-idf!28070
2023-12-25 10:18:26 +08:00
zhanghaipeng
6644bcc320 fix(bt/bluedroid): Fix BLE prepare write 2023-12-23 20:19:37 +08:00
Island
6deb0ae743 Merge branch 'bugfix/ble_update_lib_20231219_v5.1' into 'release/v5.1'
update lib on release/v5.1

See merge request espressif/esp-idf!27999
2023-12-22 14:57:32 +08:00
gongyantao
83a99d954d fix(bt/bluedroid): fixed btc_config_lock error 2023-12-22 11:30:39 +08:00
Jiang Jiang Jian
925e3e2ed5 Merge branch 'fix/build_error_in_compiler_performance_mode_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fixed build error when compiler in performace mode (backport v5.1)

See merge request espressif/esp-idf!27864
2023-12-21 11:30:38 +08:00
luomanruo
c67710bacf ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:20:19 +08:00
Island
fae6ce0e7d Merge branch 'bugfix/ble_stack_disable_v5.1' into 'release/v5.1'
Bugfix/ble stack disable v5.1(backport v5.1)

See merge request espressif/esp-idf!27650
2023-12-19 12:00:04 +08:00
zhanghaipeng
103656e7a2 feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-12-18 11:51:29 +08:00
zhanghaipeng
e0a0ee9ae9 fix(bt/bluedroid): Fix bluedroid menuconfig 2023-12-18 11:51:29 +08:00
zhanghaipeng
8d78433dea fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-18 11:51:29 +08:00
zhanghaipeng
55409e2395 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-18 11:47:50 +08:00
zhanghaipeng
bd1dc8dfaf fix(bt/bluedroid): Fix ble gattc deregister 2023-12-14 17:53:22 +08:00
gongyantao
407376b6e6 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 19:04:27 +08:00
chenjianhua
2dea0ef6ef fix(bt/bluedroid): Fixed add RPA to white list 2023-12-08 19:54:39 +08:00
Jiang Jiang Jian
2cc61caf7b Merge branch 'bugfix/add_par_check_in_ag_cind_res_v5.1' into 'release/v5.1'
Bugfix/add par check in ag cind res v5.1

See merge request espressif/esp-idf!27257
2023-11-22 17:47:28 +08:00
Jiang Jiang Jian
d5e87fed74 Merge branch 'bugfix/spp_deinit_crash_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.1)

See merge request espressif/esp-idf!27251
2023-11-22 17:45:48 +08:00
Wang Meng Yang
00936f9434 Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.1' into 'release/v5.1'
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.1)

See merge request espressif/esp-idf!27230
2023-11-20 14:07:56 +08:00
Jin Cheng
b9a0ca6feb fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP 2023-11-20 11:59:05 +08:00
Jin Cheng
e4ab4499b0 fix(bt/bluedroid): Added some argument check in APIs of HFP AG 2023-11-20 11:59:01 +08:00
Island
4023a22512 Merge branch 'bugfix/fix_some_ble_bugs_v5.1' into 'release/v5.1'
Fixed some BLE bugs (backport v5.1)

See merge request espressif/esp-idf!27196
2023-11-17 20:21:57 +08:00
Island
7f63951872 Merge branch 'backport/fix_ble_scan_rsp_v5.1' into 'release/v5.1'
Backport/fix ble scan rsp v5.1(backport v5.1)

See merge request espressif/esp-idf!27007
2023-11-17 18:18:29 +08:00
Ilia Lutchenko
71d08e38db feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs
1. Added new API functions that can add 32 and 128-bit UUID to the EIR data
when these UUIDs are set in SDP.
The old functions that only work with 16-bit UUIDs have been left
unchanged to avoid having to redo code that already utilizes them.

2. Fixed bug with zero handler return in btc_sdp.c
sdp_create_record.handle in tBTA_SDP struct wasn't saved before.
Because of it Bluetooth stack always returned zero handler to
application callback.

Closes https://github.com/espressif/esp-idf/issues/11529
2023-11-17 15:57:28 +08:00
Jin Cheng
ac4ee1d2d6 fix(bt/bluedroid): Fix the crash of invalid access to released resources
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-17 10:38:55 +08:00
chenjianhua
aaf6f7433d feat(bt/bluedroid): support clear legacy advertising 2023-11-16 16:39:33 +08:00
zhanghaipeng
fd478346fb fix(bt/bluedroid): Fix BLE remove bond list status 2023-11-15 07:18:04 +00:00
zhiweijian
e01f4c4d24 fix(ble/bluedroid): fixed BLE bond error after reboot 2023-11-15 07:18:04 +00:00
Jiang Jiang Jian
55f5b427ee Merge branch 'bugfix/build_error_when_enable_ag_and_hf_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled (v5.1)

See merge request espressif/esp-idf!27077
2023-11-14 15:36:42 +08:00
Wang Meng Yang
c46775031e Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.1' into 'release/v5.1'
Fixed some BLE bugs 20231020 (backport v5.1)

See merge request espressif/esp-idf!26604
2023-11-14 15:35:55 +08:00
Jiang Jiang Jian
8f4c9bdc03 Merge branch 'backport/fix_ble_bugs_v5.1' into 'release/v5.1'
Backport/fix ble bugs v5.1(backport v5.1)

See merge request espressif/esp-idf!26762
2023-11-14 15:15:40 +08:00
Jiang Jiang Jian
378bb1f0d1 Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs_v5.1' into 'release/v5.1'
fix(bt&ble): fix BLE unable to load bonded device info after reboot. (backport v5.1)

See merge request espressif/esp-idf!26465
2023-11-14 15:10:38 +08:00
Wang Mengyang
8f24e2731f fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled and also CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is set to true 2023-11-10 21:08:08 +08:00
zhanghaipeng
e8dc62913b fix(bt/bluedroid): Fix ble keysize check 2023-11-08 19:46:23 +08:00
zhanghaipeng
253d19bfde fix(bt/bluedroid): Fix ble adv report evt type 2023-11-08 19:46:19 +08:00
Jin Cheng
716a47074a feat(bt/bluedroid): Support to build HID Host and HID Device in single binary 2023-11-01 19:32:13 +08:00