1082 Commits

Author SHA1 Message Date
Wang Meng Yang
05a7a1dab4 Merge branch 'bugfix/osi_replace_free_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Replace free/malloc with osi_free/malloc(v5.0)

See merge request espressif/esp-idf!34610
2024-11-25 13:50:49 +08:00
Wang Meng Yang
9a1f50e5c6 Merge branch 'bugfix/rx_invalid_cmd_err_code_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed the incorrect error code returned when receiving an invalid command(v5.0)

See merge request espressif/esp-idf!34994
2024-11-25 08:13:26 +08:00
xiongweichao
1866feefb6 fix(bt/bluedroid): Replace free/malloc with osi_free/malloc 2024-11-22 21:16:52 +08:00
Abhinav Kudnar
f13bbbb774 fix(nimble): Nimble Error logs in case of memory overflow/failure 2024-11-18 17:57:52 +08:00
xiongweichao
a4b0000cc4 fix(bt/bluedroid): Fixed the incorrect error code returned
when receiving an invalid command
2024-11-18 17:02:06 +08:00
Zhang Hai Peng
e3f0e10055 fix(bt/bluedroid): Fixed classic bt build fail when enable dynamic memory and disable BLE
(cherry picked from commit 59d20e80d300825e06431dad9d22241884905a2d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-14 22:13:30 +08:00
Island
240dd4fb8d Merge branch 'feature/support_moving_code_to_flash_v5.0' into 'release/v5.0'
feat(ble): Support for putting code in flash on ESP32-C2 (v5.0)

See merge request espressif/esp-idf!34782
2024-11-14 10:09:21 +08:00
Wang Meng Yang
e00cb936a6 Merge branch 'bugfix/fix_avrc_absolute_volume_compatibility_v5.0' into 'release/v5.0'
bugfix/fix_avrc_absolute_volume_compatibility[backport v5.0]

See merge request espressif/esp-idf!34773
2024-11-12 17:55:09 +08:00
Shen Weilong
c3290dfd6b feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:38:13 +08:00
Wang Meng Yang
7c02cb4517 Merge branch 'bugfix/hfp_sniff_mng_v5.0' into 'release/v5.0'
bugfix/hf_and_ag_cannot_enter/exit sniff mode. (v5.0)

See merge request espressif/esp-idf!34470
2024-11-11 15:09:23 +08:00
Island
48cb8520b4 Merge branch 'feat/support_controller_run_in_flash_only_v5.0' into 'release/v5.0'
feat(bt/controller): Support controller code run in flash only (backport v5.0)

See merge request espressif/esp-idf!34696
2024-11-11 14:21:42 +08:00
liqigan
9f6dabfacb fix(bt/bluedroid): Fixed AVRCP compatibility issue on absolute volume synchronization 2024-11-08 14:51:34 +08:00
Jin Cheng
59020dd176 fix(bt/bluedroid): fixed AG and HF client cannot enter/exit sniff mode 2024-11-08 10:03:02 +08:00
Jin Cheng
95b0cdafdd Revert "Disable sniff mode during (e)SCO connection."
This reverts commit 39a5eb84f3c6e48cce8cecd25927ad6b1e0fe383.
2024-11-08 10:03:02 +08:00
linruihao
f6db0211c6 fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable 2024-11-06 19:42:32 +08:00
Island
e991d160c7 Merge branch 'bugfix/fix_ble_build_fail_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0 (v5.0)

See merge request espressif/esp-idf!34661
2024-11-06 16:37:04 +08:00
zhiweijian
81c56354fb feat(bt/controller): Support controller code run in flash only 2024-11-06 14:24:28 +08:00
Island
84cae3aa8c Merge branch 'feat/support_blecrt_90_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Added API to set supported channel selection algorithm (v5.0)

See merge request espressif/esp-idf!34502
2024-11-06 11:50:08 +08:00
Zhang Hai Peng
dff7650b6c 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:27 +08:00
Zhang Hai Peng
4074270dd1 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-10-30 15:24:43 +08:00
Zhang Hai Peng
f268734259 fix(ble/bluedroid): Support enable BLE topology check by API
(cherry picked from commit dbc94c70562ad1f9734424a8cf20787d72d37a3d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-30 15:24:21 +08:00
chenjianhua
1c877b9157 fix(bt/bluedroid): Fixed error when memory debug enabled 2024-10-29 21:53:29 +08:00
chenjianhua
0d4427eddf fix(bt/bluedroid): Fixed GATTC app status check when BT and BLE coexist 2024-10-29 21:53:25 +08:00
chenjianhua
f55b6373e6 fix(bt/bluedroid): Update address type for BLE link when the connection is completed 2024-10-29 21:53:21 +08:00
Chen Jian Hua
73453ee3e1 feat(bt/bluedroid): Added API to set supported channel selection algorithm
(cherry picked from commit 4ae7b4aecf473b96113284b096e5f1b95f2f4b2e)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-10-29 17:35:08 +08:00
Island
05437c15f8 Merge branch 'bugfix/fix_ble_handle_check_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fixed BLE handle check for GATT API (v5.0)

See merge request espressif/esp-idf!34093
2024-10-29 16:03:12 +08:00
chenjianhua
f4d50858e6 refactor(bt/bluedroid): Refactor the print for gatt_server and gatt_client example 2024-10-24 18:04:10 +08:00
Island
0e477e66ad Merge branch 'bugfix/fix_ble_robust_feature_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic (v5.0)

See merge request espressif/esp-idf!34244
2024-10-23 10:51:38 +08:00
Zhang Hai Peng
19980e1bd3 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:15 +08:00
Rahul Tank
28850f883f fix(nimble): Adjust Data len time in case 5.0 support is not present 2024-10-16 12:01:13 +05:30
Zhang Hai Peng
9e443ab692 fix(ble/bluedroid): Fixed BLE handle check for GATT API
(cherry picked from commit 514155de3b0c44bf9c3b00c31f64b3b40bc36c83)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-15 00:03:51 +08:00
xiongweichao
6d2b9caaee feat(bt/bluedroid): Report sniff interval to application layer 2024-09-29 19:25:53 +08:00
Island
497d5e0c8d Merge branch 'feat/get_ble_resolve_address_status_v5.0' into 'release/v5.0'
feat(ble/bluedroid): Support resolve BLE address for interval usage (v5.0)

See merge request espressif/esp-idf!33805
2024-09-29 10:30:15 +08:00
zhanghaipeng
74cc3eb3ba fix(ble/bluedroid): Fixed BLE spelling error in word 2024-09-27 15:53:08 +08:00
zhanghaipeng
da545604fc feat(ble/bluedroid): Add BLE memory allocation failure message 2024-09-27 15:53:01 +08:00
zhanghaipeng
ab0d3831db feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-27 14:48:30 +08:00
Rahul Tank
14e50e368a fix(nimble): Fix clang compilation issue 2024-09-26 10:00:55 +05:30
Jiang Jiang Jian
339a6c381b Merge branch 'feat/send_data_len_afer_conn_v5.0' into 'release/v5.0'
feat(nimble): Set data length after connection (v5.0)

See merge request espressif/esp-idf!33697
2024-09-25 14:53:16 +08:00
Zhang Hai Peng
d6a0fa813d 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:13 +08:00
chenjianhua
338763fae7 test(bt/bluedroid): Support to disable BLE address resolution 2024-09-23 13:30:59 +08:00
Jiang Jiang Jian
c5eb3eaef5 Merge branch 'bugfix/fix_sdp_bugs_v5.0' into 'release/v5.0'
Bugfix/fix sdp bugs[backport 5.0]

See merge request espressif/esp-idf!33605
2024-09-21 15:02:58 +08:00
Jiang Jiang Jian
b2dae87114 Merge branch 'bugfix/fix_ble_max_tx_power_on_esp32c3_v5.0' into 'release/v5.0'
fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3 (v5.0)

See merge request espressif/esp-idf!33614
2024-09-21 15:02:04 +08:00
Jiang Jiang Jian
c01e90daa8 Merge branch 'feat/support_blecrt_242_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails (v5.0)

See merge request espressif/esp-idf!33631
2024-09-21 14:57:25 +08:00
Wang Meng Yang
8fc60de3d0 Merge branch 'bugfix/fix_some_bugs_in_avrcp_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed some bugs in AVRCP (Backport v5.0)

See merge request espressif/esp-idf!33581
2024-09-20 11:41:12 +08:00
Rahul Tank
85baf1d759 feat(nimble): Set data length after connection 2024-09-19 20:26:13 +05:30
Chen Jian Hua
856bc4bede 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:19 +08:00
Chen Jian Hua
0b8553067c 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:17 +08:00
Chen Jian Hua
fc754b2033 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:13 +08:00
liqigan
5e62d99961 fix(bt/bluedroid): Fixed not deep copy service_name and user1_ptr in RAW SDP search event 2024-09-18 16:43:53 +08:00
liqigan
bfd1ea82bd change(bt/bluedroid): Limited SDP service discovery operation 2024-09-18 16:43:46 +08:00