Commit Graph

853 Commits

Author SHA1 Message Date
Jin Cheng
b3f7427b1c fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response 2024-11-25 10:20:04 +08:00
xiongweichao
4d3a59df68 fix(bt/bluedroid): Fixed the incorrect error code returned
when receiving an invalid command
2024-11-18 16:56:45 +08:00
Zhang Hai Peng
c5a4698088 fix(bt/bluedroid): Fixed classic bt build fail when enable dynamic memory and disable BLE
(cherry picked from commit 59d20e80d3)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-14 22:13:40 +08:00
Wang Meng Yang
2e80fd6236 Merge branch 'bugfix/osi_replace_free_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Replace free/malloc with osi_free/malloc(v5.2)

See merge request espressif/esp-idf!34609
2024-11-12 19:22:26 +08:00
Wang Meng Yang
cbaf87af01 Merge branch 'bugfix/fix_avrc_absolute_volume_compatibility_v5.2' into 'release/v5.2'
bugfix/fix_avrc_absolute_volume_compatibility[backport v5.2]

See merge request espressif/esp-idf!34771
2024-11-12 17:54:47 +08:00
liqigan
8ab19b4bac fix(bt/bluedroid): Fixed AVRCP compatibility issue on absolute volume synchronization 2024-11-08 14:49:55 +08:00
zhiweijian
c409db3b44 feat(bt/controller): Support controller code run in flash only 2024-11-07 16:51:56 +08:00
xiongweichao
dda7514ba1 fix(bt/bluedroid): Replace free/malloc with osi_free/malloc 2024-11-06 19:13:32 +08:00
Island
c233332f03 Merge branch 'bugfix/fix_ble_build_fail_v5.2' into 'release/v5.2'
fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0 (v5.2)

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

See merge request espressif/esp-idf!34504
2024-11-06 11:50:19 +08:00
Island
36dffb8f25 Merge branch 'bugfix/fix_ble_adv_start_fail_v5.2' into 'release/v5.2'
fix(ble/bluedroid): Fixed crash issue in BLE SMP when a disconnection process is ongoing(v5.2)

See merge request espressif/esp-idf!34527
2024-11-05 16:37:02 +08:00
Zhang Hai Peng
860399d1d2 fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0
(cherry picked from commit 94d1a4f1c0)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-05 16:13:40 +08:00
Wang Meng Yang
2506664f0a Merge branch 'bugfix/fix_memory_leak_in_sco_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable (v5.2)

See merge request espressif/esp-idf!34566
2024-11-05 14:08:38 +08:00
Wang Meng Yang
98618d7562 Merge branch 'bugfix/hfp_sniff_mng_v5.2' into 'release/v5.2'
bugfix/hf_and_ag_cannot_enter/exit sniff mode. (v5.2)

See merge request espressif/esp-idf!34468
2024-11-04 09:38:01 +08:00
Zhang Hai Peng
9f4d895143 fix(ble/bluedroid): Fixed crash issue in BLE SMP when a disconnection process is ongoing
(cherry picked from commit 76e1650161)

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

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-04 00:04:44 +08:00
linruihao
1e8fded85c fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable 2024-10-31 17:55:24 +08:00
chenjianhua
dee3aa95a6 fix(bt/bluedroid): Fixed error when memory debug enabled 2024-10-29 21:51:25 +08:00
chenjianhua
690eb4c517 fix(bt/bluedroid): Fixed GATTC app status check when BT and BLE coexist 2024-10-29 21:50:39 +08:00
chenjianhua
b0d70ba771 fix(bt/bluedroid): Update address type for BLE link when the connection is completed 2024-10-29 21:50:34 +08:00
Chen Jian Hua
b3686c2f60 feat(bt/bluedroid): Added API to set supported channel selection algorithm
(cherry picked from commit 4ae7b4aecf)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-10-29 17:35:20 +08:00
Jin Cheng
c28dfe28e9 fix(bt/bluedroid): fixed AG and HF client cannot enter/exit sniff mode 2024-10-28 10:40:46 +08:00
Jin Cheng
fe85ffa673 Revert "Disable sniff mode during (e)SCO connection."
This reverts commit 39a5eb84f3.
2024-10-28 10:40:46 +08:00
chenjianhua
8c6c9b7f0c refactor(bt/bluedroid): Refactor the print for gatt_server and gatt_client example 2024-10-24 18:04:02 +08:00
Zhang Hai Peng
60c7aa85f7 fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic
(cherry picked from commit 5126742003)

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

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-10 21:13:23 +08:00
Wang Meng Yang
cae1491519 Merge branch 'feat/add_mode_chg_parem_v5.2' into 'release/v5.2'
feat(bt/bluedroid): Report sniff interval to application layer(v5.2)

See merge request espressif/esp-idf!33866
2024-09-29 14:03:27 +08:00
Island
601e35c926 Merge branch 'feat/get_ble_resolve_address_status_v5.2' into 'release/v5.2'
feat(ble/bluedroid): Support resolve BLE address for interval usage (v5.2)

See merge request espressif/esp-idf!33807
2024-09-29 10:30:04 +08:00
Wang Meng Yang
fc1c79ebc1 Merge branch 'bugfix/fix_hid_cod_setting_v5.2' into 'release/v5.2'
Bugfix/fix hid cod setting[backport 5.2]

See merge request espressif/esp-idf!33338
2024-09-27 19:23:24 +08:00
Wang Meng Yang
c5c198584b Merge branch 'bugfix/fix_sdp_bugs_v5.2' into 'release/v5.2'
Bugfix/fix sdp bugs[backport 5.2]

See merge request espressif/esp-idf!33603
2024-09-27 19:22:48 +08:00
zhanghaipeng
73ff61bd47 fix(ble/bluedroid): Fixed BLE spelling error in word 2024-09-27 15:50:57 +08:00
zhanghaipeng
a2124a0464 feat(ble/bluedroid): Add BLE memory allocation failure message 2024-09-27 15:50:46 +08:00
zhanghaipeng
69eca1ff93 feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-27 14:47:44 +08:00
xiongweichao
e5984120ac feat(bt/bluedroid): Report sniff interval to application layer 2024-09-27 14:14:02 +08:00
Zhang Hai Peng
8db992903a feat(ble/bluedroid): Support resolve BLE address for interval usage
(cherry picked from commit b88b511362)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-09-26 10:27:35 +08:00
liqigan
4459865257 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-26 09:57:21 +08:00
liqigan
10762295c4 fix(bt/bluedroid): Fixed not deep copy service_name and user1_ptr in RAW SDP search event 2024-09-26 09:55:28 +08:00
liqigan
ec88dc9881 change(bt/bluedroid): Limited SDP service discovery operation 2024-09-26 09:55:28 +08:00
liqigan
9a0f3619e8 change(bt/bluedroid): Release record data after SDP record created 2024-09-26 09:55:28 +08:00
linruihao
d13e0419f0 fix(bt/bluedroid): Fixed some bugs in AVRCP 2024-09-26 09:31:06 +08:00
Wang Meng Yang
c467c8ed65 Merge branch 'bugfix/exit_sniff_immed_enter_sniff_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Fix the protocol stack to exit sniff mode(v5.2)

See merge request espressif/esp-idf!33398
2024-09-26 09:30:10 +08:00
Island
34e8a4c7bd Merge branch 'docs/optimized_ble_gattc_multi_connect_example_v5.2' into 'release/v5.2'
docs(ble/bluedroid): Optimize BLE example documentation for getting characteristic (v5.2)

See merge request espressif/esp-idf!33195
2024-09-25 17:44:54 +08:00
Island
087adbe844 Merge branch 'bugfix/fix_ble_scan_assert_1728_v5.2' into 'release/v5.2'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(e9ae856) (v5.2)

See merge request espressif/esp-idf!33721
2024-09-25 17:44:44 +08:00
Island
beda0b5003 Merge branch 'feat/support_blecrt_242_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails (v5.2)

See merge request espressif/esp-idf!33633
2024-09-25 17:05:45 +08:00
chenjianhua
34771563b9 test(bt/bluedroid): Support to disable BLE address resolution 2024-09-23 13:32:57 +08:00
Chen Jian Hua
e9484c617d fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails
(cherry picked from commit e4e23087ee)

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

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

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-18 17:34:27 +08:00
xiongweichao
804e140701 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-09 16:19:24 +08:00
zhanghaipeng
243d6752ad fix(ble/bluedroid): Optimize BLE function 'esp_ble_resolve_adv_data_by_type' 2024-08-29 16:17:46 +08:00