Commit Graph

726 Commits

Author SHA1 Message Date
Zhang Hai Peng
0b8e6c66c4 Merge branch 'bugfix/ble_check_adv_data' into 'master'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow

See merge request espressif/esp-idf!28245
2024-01-05 14:17:42 +08:00
Island
e8ff5511f2 Merge branch 'feat/config_ble_max_bond_dev_count' into 'master'
feat(bt/bluedroid): Make the max number of bond device to be configurable

Closes BLERP-375

See merge request espressif/esp-idf!27990
2024-01-04 14:43:35 +08:00
zhanghaipeng
c66fc143fa fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow 2024-01-04 13:21:42 +08:00
zhanghaipeng
a2425ac3e7 fix(bt/bluedroid): Fix ble app unregister no event 2023-12-28 17:30:57 +08:00
Wang Meng Yang
4c8f6c5458 Merge branch 'feat/add_get_device_name_api' into 'master'
feat(bt/bluedroid): Added API to get local device name

Closes BT-3526

See merge request espressif/esp-idf!27667
2023-12-27 10:37:33 +08:00
Island
011d8a309a Merge branch 'bugfix/fix_ble_prepare_write' into 'master'
Bugfix/fix ble prepare write

Closes BLERP-336

See merge request espressif/esp-idf!27831
2023-12-22 19:09:21 +08:00
Island
083fe84db7 Merge branch 'bugfix/ble_update_lib_20231219' into 'master'
update lib on master

Closes BLERP-371, BLERP-364, BLERP-363, BLERP-361, BLERP-349, BLERP-360, BLERP-350, BLERP-351, BLERP-352, BLERP-353, BLERP-354, BLERP-356, BLERP-357, BLERP-358, BLERP-359, BLERP-366, BLERP-376, and BLERP-378

See merge request espressif/esp-idf!27997
2023-12-22 14:57:15 +08:00
zhanghaipeng
b693094ee8 fix(bt/bluedroid): Fix BLE prepare write 2023-12-21 10:53:38 +08:00
luomanruo
0504b60b7a 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:38:22 +08:00
chenjianhua
bc98ff414f feat(bt/bluedroid): Make the max number of bond device to be configurable 2023-12-19 11:38:01 +08:00
Jin Cheng
a3f68aef8a feat(bt/bluedroid): Added API to get local device name 2023-12-15 19:30:12 +08:00
gongyantao
d5e5cd0237 fix(bt/bluedroid): fixed btc_config_lock error 2023-12-15 11:03:29 +08:00
Island
45198988b0 Merge branch 'bugfix/fix_ble_gattc_deregister' into 'master'
fix(bt/bluedroid): Fix ble gattc deregister

Closes BLERP-321

See merge request espressif/esp-idf!27622
2023-12-14 12:26:27 +08:00
Wang Meng Yang
7a45809b4f Merge branch 'bugfix/crash_in_btc_hf_init' into 'master'
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks

Closes BT-3498, BT-3505, BT-3524, COEXQABR24-4, COEXQABR24-16, COEXQABR24-17, and BTQABR2023-112

See merge request espressif/esp-idf!27211
2023-12-14 12:23:55 +08:00
gongyantao
f303fa0174 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 15:00:45 +08:00
Island
9bdcfa672f Merge branch 'bugfix/fix_ble_adv_scan_status' into 'master'
fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid

Closes BLERP-324

See merge request espressif/esp-idf!27636
2023-12-07 16:25:37 +08:00
zhanghaipeng
305bb1a146 fix(bt/bluedroid): Fix ble gattc deregister 2023-12-07 11:21:13 +08:00
Jin Cheng
e78209ad47 fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well 2023-12-05 20:10:03 +08:00
Jin Cheng
58256d8c4b fix(bt/bluedroid): Changed the default air mode to invalid value 2023-12-05 20:10:03 +08:00
Jin Cheng
dba328d9d5 fix(bt/bluedroid): Removed redundant operation of SCO clean up 2023-12-05 20:10:03 +08:00
Jin Cheng
0f9e8687ee fix(bt/bluedroid): Corrected the definitions of HF Client callback events 2023-12-05 20:10:00 +08:00
zhanghaipeng
41facc2e08 fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-05 15:44:15 +08:00
Island
345013fa46 Merge branch 'bugfix/fix_bleqabr23_808' into 'master'
Fixed assert when LLCP instant passed on ESP32-C3 and ESP32-S3(b8f0db9)

Closes BLERP-298, BLERP-299, BLERP-300, BLERP-301, BLERP-310, BLERP-311, and BLERP-312

See merge request espressif/esp-idf!27477
2023-12-05 11:51:20 +08:00
zhanghaipeng
1eb0522774 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-05 10:38:01 +08:00
Island
94d7ec7a38 Merge branch 'bugfix/bluedroid_menuconfig' into 'master'
Bugfix/bluedroid menuconfig

Closes BLERP-317

See merge request espressif/esp-idf!27508
2023-12-04 16:30:05 +08:00
chenjianhua
51607c87d6 fix(bt/bluedroid): Fixed add RPA to white list 2023-12-01 21:01:53 +08:00
zhanghaipeng
d528cc598e fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-01 17:21:49 +08:00
Island
e3ab9f009b Merge branch 'feat/support_ble_create_sync_report' into 'master'
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate

Closes BLERP-216

See merge request espressif/esp-idf!26923
2023-12-01 17:17:48 +08:00
Jin Cheng
48d410e10d fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in l2cap 2023-11-30 19:47:57 +08:00
zhanghaipeng
a1b678e721 fix(bt/bluedroid): Fix bluedroid menuconfig 2023-11-30 10:43:12 +08:00
Jin Cheng
823e0711c9 fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free 2023-11-29 15:55:46 +08:00
Wang Meng Yang
a7fbf452fa Merge branch 'feature/support_for_32_and_128_bit_custom_uuids' into 'master'
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs

Closes IDFGH-10721

See merge request espressif/esp-idf!27069
2023-11-17 11:48:57 +08:00
Wang Meng Yang
0107fe2076 Merge branch 'bugfix/add_par_check_in_ag_cind_res' into 'master'
Bugfix/add par check in ag cind res

See merge request espressif/esp-idf!27147
2023-11-17 11:07:50 +08:00
Jin Cheng
57e3e97497 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-11-17 09:39:46 +08:00
Jin Cheng
eab9037b1c fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks 2023-11-16 20:10:29 +08:00
Jin Cheng
f5c15be581 fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP 2023-11-15 15:34:27 +08:00
Jin Cheng
4edd531fe3 fix(bt/bluedroid): Added some argument check in APIs of HFP AG 2023-11-15 15:18:22 +08:00
Jin Cheng
97e9eb5ca8 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-15 02:12:14 +00:00
Jiang Jiang Jian
735b9cd827 Merge branch 'bugfix/build_error_when_enable_ag_and_hf' into 'master'
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled

See merge request espressif/esp-idf!27073
2023-11-13 11:26:19 +08:00
Jiang Jiang Jian
907a7d9977 Merge branch 'test/ctrl_acl_u_pkt_type' into 'master'
feat(bt/bluedroid): Added an API to specific data types for ACL-U traffic

See merge request espressif/esp-idf!26173
2023-11-13 11:17:37 +08:00
Wang Mengyang
479cecc1f8 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 20:14:01 +08:00
zhanghaipeng
4c9861d40d feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-11-09 17:30:23 +08:00
zhanghaipeng
ba2f5c4475 fix(bt/bluedroid): Fix ble adv report evt type 2023-11-07 19:59:35 +08:00
zhanghaipeng
c189842b82 fix(bt/bluedroid): Fix ble keysize check 2023-11-07 19:52:59 +08:00
Ilia Lutchenko
0a23da71ac 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-02 17:43:55 +01:00
Jin Cheng
46327936cb feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic 2023-11-02 17:43:04 +08:00
Jiang Jiang Jian
6e0a8434a7 Merge branch 'bt/add_host_only_mode' into 'master'
bt: Added BlueDroid-Only mode to use BlueDroid host only without Bluetooth Controller

See merge request espressif/esp-idf!25319
2023-11-02 10:58:32 +08:00
Wang Meng Yang
52085b0264 Merge branch 'feature/include_hf_and_ag_in_single_build' into 'master'
feat: Added support for build different roles in corresponding profile HID and HFP into a single binary

See merge request espressif/esp-idf!26360
2023-11-02 10:52:38 +08:00
Island
ce7bb6b0e8 Merge branch 'feat/support_clear_legacy_adv' into 'master'
feat(bt/bluedroid): support clear legacy advertising

Closes BLERP-175

See merge request espressif/esp-idf!26645
2023-11-01 18:33:09 +08:00
Jin Cheng
1f2a1564a2 feat(bt/bluedroid): Support to build HID Host and HID Device in single binary 2023-11-01 16:54:11 +08:00