805 Commits

Author SHA1 Message Date
Wang Meng Yang
9480f89a9c Merge branch 'bugfix/hfp_sniff_mng_v5.1' into 'release/v5.1'
bugfix/hf_and_ag_cannot_enter/exit sniff mode. (v5.1)

See merge request espressif/esp-idf!34469
2024-11-11 15:09:26 +08:00
Wang Meng Yang
2b5b526227 Merge branch 'bugfix/fix_memory_leak_in_sco_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable (v5.1)

See merge request espressif/esp-idf!34567
2024-11-08 10:33:05 +08:00
Jin Cheng
4ea87de8cf fix(bt/bluedroid): fixed AG and HF client cannot enter/exit sniff mode 2024-11-08 10:02:50 +08:00
Jin Cheng
cfc7340393 Revert "Disable sniff mode during (e)SCO connection."
This reverts commit 39a5eb84f3c6e48cce8cecd25927ad6b1e0fe383.
2024-11-08 10:02:50 +08:00
Island
26dabfd177 Merge branch 'bugfix/fix_ble_build_fail_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0 (v5.1)

See merge request espressif/esp-idf!34662
2024-11-06 16:36:58 +08:00
Island
c17d169da0 Merge branch 'feat/support_blecrt_90_v5.1' into 'release/v5.1'
feat(bt/bluedroid): Added API to set supported channel selection algorithm (v5.1)

See merge request espressif/esp-idf!34503
2024-11-06 11:50:13 +08:00
Zhang Hai Peng
0d56d39b0d fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0
(cherry picked from commit 94d1a4f1c009031c7623153b885f1f75b39b4555)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-05 16:13:34 +08:00
linruihao
3dbf454c15 fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable 2024-11-05 15:17:13 +08:00
Zhang Hai Peng
3461f85c66 fix(ble/bluedroid): Fixed crash issue in BLE SMP when a disconnection process is ongoing
(cherry picked from commit 76e1650161a019bca22c2855ab37f11608f130bd)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-04 00:04:45 +08:00
Zhang Hai Peng
1685368ea2 fix(ble/bluedroid): Support enable BLE topology check by API
(cherry picked from commit dbc94c70562ad1f9734424a8cf20787d72d37a3d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-04 00:04:45 +08:00
chenjianhua
1bfee38a09 fix(bt/bluedroid): Fixed error when memory debug enabled 2024-11-03 06:04:26 +08:00
chenjianhua
f45e76d906 fix(bt/bluedroid): Fixed GATTC app status check when BT and BLE coexist 2024-11-03 06:04:26 +08:00
chenjianhua
df08c03024 fix(bt/bluedroid): Update address type for BLE link when the connection is completed 2024-11-03 06:04:26 +08:00
Chen Jian Hua
2f7419e06d feat(bt/bluedroid): Added API to set supported channel selection algorithm
(cherry picked from commit 4ae7b4aecf473b96113284b096e5f1b95f2f4b2e)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-03 06:04:26 +08:00
Island
987a61f266 Merge branch 'bugfix/fix_ble_robust_feature_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic (v5.1)

See merge request espressif/esp-idf!34245
2024-10-29 16:04:13 +08:00
Island
f25e2726cb Merge branch 'bugfix/fix_ble_handle_check_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed BLE handle check for GATT API (v5.1)

See merge request espressif/esp-idf!34094
2024-10-29 16:03:57 +08:00
Island
cfe9f16abf Merge branch 'feat/get_ble_resolve_address_status_v5.1' into 'release/v5.1'
feat(ble/bluedroid): Support resolve BLE address for interval usage (v5.1)

See merge request espressif/esp-idf!33806
2024-10-29 16:03:38 +08:00
chenjianhua
24ce9e2384 refactor(bt/bluedroid): Refactor the print for gatt_server and gatt_client example 2024-10-24 18:04:06 +08:00
Zhang Hai Peng
2eca72f18d fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic
(cherry picked from commit 5126742003f8eb5c10648679393c500d3a66009a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-17 16:13:21 +08:00
Zhang Hai Peng
bb5a8e4b4e fix(ble/bluedroid): Fixed BLE handle check for GATT API
(cherry picked from commit 514155de3b0c44bf9c3b00c31f64b3b40bc36c83)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-10 21:13:18 +08:00
zhanghaipeng
9fe3cff677 fix(ble/bluedroid): Fixed BLE spelling error in word 2024-09-27 15:52:02 +08:00
zhanghaipeng
3696a08461 feat(ble/bluedroid): Add BLE memory allocation failure message 2024-09-27 15:51:55 +08:00
zhanghaipeng
ed1ad4ef27 feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-27 14:48:10 +08:00
xiongweichao
1b19449dc0 feat(bt/bluedroid): Report sniff interval to application layer 2024-09-27 14:16:16 +08:00
Zhang Hai Peng
94476c72b6 feat(ble/bluedroid): Support resolve BLE address for interval usage
(cherry picked from commit b88b511362e4fa8da70d59df04bbc172a52c9e59)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-09-25 12:13:19 +08:00
chenjianhua
54b10d1ae1 test(bt/bluedroid): Support to disable BLE address resolution 2024-09-23 13:32:04 +08:00
Jiang Jiang Jian
36b9357ef7 Merge branch 'bugfix/fix_sdp_bugs_v5.1' into 'release/v5.1'
Bugfix/fix sdp bugs[backport 5.1]

See merge request espressif/esp-idf!33604
2024-09-20 14:13:42 +08:00
Wang Meng Yang
0e1492b06d Merge branch 'bugfix/fix_some_bugs_in_avrcp_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed some bugs in AVRCP (Backport v5.1)

See merge request espressif/esp-idf!33580
2024-09-20 11:41:06 +08:00
Island
697a621545 Merge branch 'feat/support_blecrt_242_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails (v5.1)

See merge request espressif/esp-idf!33632
2024-09-20 10:34:02 +08:00
Chen Jian Hua
807acee34c fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails
(cherry picked from commit e4e23087ee4b3e2d86ba44799daccb7a2e5cd781)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-19 09:12:26 +08:00
Chen Jian Hua
c2e8a6e9b2 feat(bt/bluedroid): Add BLE connection id param for ESP_GATTS_RESPONSE_EVT
(cherry picked from commit e4a372ab76d318a5eedb29f41f08fa909744f828)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-19 09:12:24 +08:00
Chen Jian Hua
c846ee7917 fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3
(cherry picked from commit fe43c8f1b5c9dd0761211ca09c980a1cacf35f8c)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-18 17:34:20 +08:00
liqigan
0b2bf46463 fix(bt/bluedroid): Fixed not deep copy service_name and user1_ptr in RAW SDP search event 2024-09-18 16:42:22 +08:00
liqigan
3ee6b9e051 change(bt/bluedroid): Limited SDP service discovery operation 2024-09-18 16:42:07 +08:00
liqigan
340cc81c02 change(bt/bluedroid): Release record data after SDP record created 2024-09-18 16:41:57 +08:00
linruihao
35ff605f35 fix(bt/bluedroid): Fixed some bugs in AVRCP 2024-09-18 11:26:34 +08:00
Wang Meng Yang
494cce05a9 Merge branch 'bugfix/exit_sniff_immed_enter_sniff_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix the protocol stack to exit sniff mode(v5.1)

See merge request espressif/esp-idf!33399
2024-09-11 15:30:44 +08:00
Wang Meng Yang
8af42a08cf Merge branch 'bugfix/fix_hid_cod_setting_v5.1' into 'release/v5.1'
Bugfix/fix hid cod setting[backport 5.1]

See merge request espressif/esp-idf!33339
2024-09-10 18:30:49 +08:00
xiongweichao
acfa4b00a7 fix(bt/bluedroid): Fix the protocol stack to exit sniff mode
- Already in result mode but request change indication has not been cleared
2024-09-10 11:42:05 +08:00
zhanghaipeng
a0f864456c fix(ble/bluedroid): Optimize BLE function 'esp_ble_resolve_adv_data_by_type' 2024-09-06 10:14:42 +08:00
Nebojša Cvetković
a3eb74cdb7 fix(bt/bluedroid): Resolve warning: unused variable 'pp' 2024-09-06 10:14:42 +08:00
liqigan
7079d50ecd feat(bt/bluedroid): Added definition of minor class of COD for peripheral major class
Closes https://github.com/espressif/esp-idf/issues/13622
2024-09-05 14:25:27 +08:00
Wang Meng Yang
c86c53dd64 Merge branch 'contrib/github_pr_14286_v5.1' into 'release/v5.1'
fix(bt): Add a parameter in the two least significant bits of Class of Device (backport v5.1)

See merge request espressif/esp-idf!33166
2024-09-02 09:34:51 +08:00
chenqingqing
5fa5a1327c fix(bt/bluedroid): Fix default codec type on PCM datapath for hfp_hf 2024-08-28 17:01:50 +08:00
chenqingqing
20990096b2 fix(bt): Add a parameter in the two least significant bits of Class of Device 2024-08-28 16:52:03 +08:00
WebDust21
592e743dad fix(bt): Enable use of RESERVED bits in COD (GitHub PR) 2024-08-28 16:51:53 +08:00
Jiang Jiang Jian
386d49f132 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BLE bugs 240812 (backport v5.1)

See merge request espressif/esp-idf!32794
2024-08-26 14:52:05 +08:00
chenjianhua
821977402c feat(bt/bluedroid): Report HCI error code to app when command fails 2024-08-23 16:56:45 +08:00
chenjianhua
5c50fac22a fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist 2024-08-23 16:56:45 +08:00
chenjianhua
f8ad2871e6 feat(bt/bluedroid): Add print and assert when failed to alloc memory 2024-08-23 16:56:45 +08:00