Commit Graph

3923 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
Jin Cheng
22074ee144 fix(bt/controller): Fixed some controller bugs on ESP32
- Fixed wrong logic in handling sniff transaction collision at slave
      side
    - Fixed the issue ACL is stopped too early before eSCO
2024-11-22 12:25:00 +08:00
Rahul Tank
0f4b994bc2 Merge branch 'bugfix/memory_issue_v5.2' into 'release/v5.2'
fix(nimble): Nimble Error logs in case of memory overflow/failure (v5.2)

See merge request espressif/esp-idf!34999
2024-11-19 16:58:56 +08:00
Abhinav Kudnar
92393685b2 fix(nimble): Nimble Error logs in case of memory overflow/failure 2024-11-18 17:52:23 +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
Island
e186bba371 Merge branch 'feature/support_moving_code_to_flash_v5.2' into 'release/v5.2'
feat(ble): Support for putting code in flash on ESP32-C2 (v5.2)

See merge request espressif/esp-idf!34784
2024-11-14 10:09:31 +08:00
Island
81c4470f7e Merge branch 'bugfix/fix_some_ble_bugs_240926_esp32_v5.2' into 'release/v5.2'
Fixed some BLE bugs 240926 on ESP32 (v5.2)

See merge request espressif/esp-idf!34552
2024-11-13 12:05:20 +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
Shen Weilong
a56d6f148f feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:49:23 +08:00
liqigan
8ab19b4bac fix(bt/bluedroid): Fixed AVRCP compatibility issue on absolute volume synchronization 2024-11-08 14:49:55 +08:00
gongyantao
50170b643a fix(bt): fix some issues in bt controller
1: Store local device name into NVDS when handling hci_wr_local_name_cmd.
2: Set default device name during link manager initialization.
3: Set the QoS value to the minimum value if the calculated QoS is less
   than the minumum.
2024-11-08 14:31:34 +08:00
zhanghaipeng
ba1830f3f4 fix(bt/ble): Update esp32 libbtdm_app.a (17db8bd)
- Added a verification step for the Access Address within the CONNECT_IND PDU
2024-11-08 14:31:19 +08:00
chenjianhua
9133eda13c fix(bt): Update bt lib for ESP32(a2a7457)
- Fixed assert in ke_mem.c at line 409 when controller reset
- Added config for BLE instant passed workaround
- Fixed connection can't be established when initiating and advertising coexist
2024-11-08 14:30:29 +08:00
zhiweijian
c409db3b44 feat(bt/controller): Support controller code run in flash only 2024-11-07 16:51:56 +08:00
Chen Jian Hua
d9bc02607f fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(52ee788)
- Fixed BLE vendor HCI set and get tx power
- Support BLE vendor HCI set adv aux offset command
- Support BLE vendor HCI set CSA support command
- Added config for BLE instant passed workaround
- Fixed btdm_sleep_clock_sync timeout workaround


(cherry picked from commit 1e3220b0b0)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
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
dfced636a4 Merge branch 'bugfix/fixed_h2_assert_master_1031_v5.2' into 'release/v5.2'
Bugfix/fixed h2 assert master 1031 (v5.2)

See merge request espressif/esp-idf!34539
2024-11-06 15:06:50 +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
zwl
b14d182238 fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-C6 2024-11-04 12:04:45 +08:00
Zhao Wei Liang
2d3216183c fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-H2
(cherry picked from commit dbad6a0ca5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-11-04 12:04:45 +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
Wang Meng Yang
470d405f13 Merge branch 'bugfix/update_btlib_v5.2' into 'release/v5.2'
fix(bt/controller): Fixed some controller bugs on ESP32 (v5.2)

See merge request espressif/esp-idf!34465
2024-11-04 09:37:24 +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
Island
f72956a2b6 Merge branch 'feat/support_enable_ble_hci_log_by_api_v5.2' into 'release/v5.2'
feat(ble/bluedroid): Support enable BLE hci log by API (v5.2)

See merge request espressif/esp-idf!34423
2024-10-29 16:04:01 +08:00
Island
bf1630df65 Merge branch 'bugfix/fix_assert_if_ble_sleep_init_failed_v5.2' into 'release/v5.2'
fix(ble): do not assert if ble sleep init failed (v5.2)

See merge request espressif/esp-idf!34428
2024-10-28 11:55:21 +08:00
Island
13ad213984 Merge branch 'refactor/ble_example_print_on_bluedroid_v5.2' into 'release/v5.2'
refactor(bt/bluedroid): Refactor the print for BLE examples (v5.2)

See merge request espressif/esp-idf!34309
2024-10-28 10:52:47 +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
Jin Cheng
cfd077d403 fix(bt/controller): Fixed some controller bugs on ESP32
- Fixed access NULL in SCO frame end
      Closes https://jira.espressif.com:8443/browse/IDFGH-10796
    - Added LAP checking for Periodic Inquiry
    - Removed an inproper assertion in SCO module
    - Fixed wrong logic in key exchange when
      LMP transaction collision occurred
    - Fixed the using of wrong error code in
      the transaction collision of role switch
2024-10-28 10:37:32 +08:00
xiongweichao
5572cc901c feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-10-25 19:03:39 +08:00
cjin
4250272790 fix(ble): do not assert if ble sleep init failed 2024-10-25 10:52:51 +08:00
Zhang Hai Peng
0cc06edead feat(ble/bluedroid): Support enable BLE hci log by API
(cherry picked from commit 15c895fc6a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-24 20:13:23 +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
Island
32dce28de0 Merge branch 'bugfix/fix_ble_robust_feature_v5.2' into 'release/v5.2'
fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic (v5.2)

See merge request espressif/esp-idf!34246
2024-10-23 10:51:34 +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
Rahul Tank
233eb67e06 fix(nimble): Adjust Data len time in case 5.0 support is not present 2024-10-16 11:59:04 +05:30
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
Island
7a20ceee6a Merge branch 'feat/ble_mesh_v1.1_feat_disable_support_v5.2' into 'release/v5.2'
feat(ble_mesh): esp ble mesh v1.1 features enable/disable supported (v5.2)

See merge request espressif/esp-idf!33778
2024-10-10 19:09:58 +08:00