3807 Commits

Author SHA1 Message Date
Zhao Wei Liang
e81b4628b6 fix(ble): fixed the connect issue when rx error aa on ESP32-H2
(cherry picked from commit 093b65e27c76d2c5c6997d1ba5d8c0ca47e5229f)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-11-27 16:03:34 +08:00
Island
8cee3e3f9a Merge branch 'bugfix/fix_bleqabr24_1646_v5.1' into 'release/v5.1'
Fixed BLE creating connection when the connection already exists on ESP32 (v5.1)

See merge request espressif/esp-idf!35044
2024-11-27 15:44:44 +08:00
Wang Meng Yang
3e1ecc4e8b Merge branch 'feat/add_profile_state_event_v5.1' into 'release/v5.1'
feat(bt/bluedroid): added events to indicate the profile states of HFP (v5.1)

See merge request espressif/esp-idf!35151
2024-11-27 14:44:14 +08:00
chenjianhua
f09d2524a2 fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists
2024-11-26 15:34:26 +08:00
Wang Meng Yang
345693ce9b Merge branch 'bugfix/disconn_sdp_upon_wrong_data_v5.1' into 'release/v5.1'
fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response (v5.1)

See merge request espressif/esp-idf!35146
2024-11-26 14:59:48 +08:00
Island
43e4dd53e8 Merge branch 'bugfix/fix_c2_light_sleep_coex_v5.1' into 'release/v5.1'
fix(ble): fix ble light sleep error on esp32c2 (v5.1)

See merge request espressif/esp-idf!35053
2024-11-26 11:09:58 +08:00
Jin Cheng
61beadb586 feat(bt/bluedroid): added events to indicate the profile states of HFP 2024-11-25 16:23:10 +08:00
Jin Cheng
e65a01c55a fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response 2024-11-25 10:20:27 +08:00
Wang Meng Yang
07821e8408 Merge branch 'bugfix/lmp_trans_collision_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed some controller bugs on ESP32 (v5.1)

See merge request espressif/esp-idf!34947
2024-11-25 09:53:24 +08:00
Jin Cheng
3db4974814 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 17:26:00 +08:00
xiongweichao
8c485371b9 fix(bt/bluedroid): Fixed the incorrect error code returned
when receiving an invalid command
2024-11-22 12:25:23 +08:00
Jin Chen
b7b9367b21 fix(ble): fix ble light sleep error on esp32c2
(cherry picked from commit 23f7e33a97ad70ff1e73407650f7b8edbd91fc9a)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-22 10:41:40 +08:00
Abhinav Kudnar
fc71bdb6ad fix(nimble): Nimble Error logs in case of memory overflow/failure 2024-11-18 17:54:50 +08:00
Zhang Hai Peng
1ef4eb21cc 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:35 +08:00
Island
febfdf6628 Merge branch 'feature/support_moving_code_to_flash_v5.1' into 'release/v5.1'
feat(ble): Support for putting code in flash on ESP32-C2 (v5.1)

See merge request espressif/esp-idf!34783
2024-11-14 10:09:26 +08:00
Island
15fb892fe7 Merge branch 'bugfix/fix_some_ble_bugs_240926_esp32_v5.1' into 'release/v5.1'
Fixed some BLE bugs 240926 on ESP32 (v5.1)

See merge request espressif/esp-idf!34551
2024-11-13 12:05:16 +08:00
Wang Meng Yang
ce2f2d7675 Merge branch 'bugfix/fix_avrc_absolute_volume_compatibility_v5.1' into 'release/v5.1'
bugfix/fix_avrc_absolute_volume_compatibility[backport v5.1]

See merge request espressif/esp-idf!34772
2024-11-12 17:54:58 +08:00
Wang Meng Yang
a628f0aef3 Merge branch 'bugfix/osi_replace_free_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Replace free/malloc with osi_free/malloc(v5.1)

See merge request espressif/esp-idf!34608
2024-11-12 17:54:32 +08:00
gongyantao
d9cfaead16 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-12 11:14:55 +08:00
zhanghaipeng
c7d169e38a fix(bt/ble): Update esp32 libbtdm_app.a (17db8bd)
- Added a verification step for the Access Address within the CONNECT_IND PDU
2024-11-12 11:14:46 +08:00
chenjianhua
a991b5df81 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-12 11:14:37 +08:00
Island
f068192bd9 Merge branch 'feat/support_controller_run_in_flash_only_v5.1' into 'release/v5.1'
feat(bt/controller): Support controller code run in flash only (backport v5.1)

See merge request espressif/esp-idf!34697
2024-11-12 09:55:29 +08:00
Wang Meng Yang
9439479fe5 Merge branch 'bugfix/update_btlib_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed some controller bugs on ESP32 (v5.1)

See merge request espressif/esp-idf!34466
2024-11-11 18:51:45 +08:00
Shen Weilong
4fff9f7cf7 feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:45:55 +08:00
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
xiongweichao
9ff8a54cfe fix(bt/bluedroid): Replace free/malloc with osi_free/malloc 2024-11-11 11:00:58 +08:00
Jin Cheng
cb70ff68cc 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-11-10 21:30:39 +08:00
liqigan
5ac289c463 fix(bt/bluedroid): Fixed AVRCP compatibility issue on absolute volume synchronization 2024-11-08 14:50:42 +08:00
Island
287e71269a Merge branch 'bugfix/fixed_h2_assert_master_1031_v5.1' into 'release/v5.1'
Bugfix/fixed h2 assert master 1031 (v5.1)

See merge request espressif/esp-idf!34538
2024-11-08 11:47:16 +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
zhiweijian
1ddf2dd755 feat(bt/controller): Support controller code run in flash only 2024-11-07 16:52:38 +08:00
zwl
3e782595ca fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-C6 2024-11-07 09:39:21 +08:00
Zhao Wei Liang
bf5e64de81 fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-H2
(cherry picked from commit dbad6a0ca5430ff79f8339de8ca6236255b9c5c4)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-11-06 18:05:29 +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
3f87a40a4f Merge branch 'bugfix/fix_some_ble_bugs_240926_esp32c3_v5.1' into 'release/v5.1'
Fixed some BLE bugs 240926 on ESP32C3 (v5.1)

See merge request espressif/esp-idf!34555
2024-11-06 11:50:32 +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
Island
192f3c11d7 Merge branch 'bugfix/fix_ble_adv_start_fail_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed crash issue in BLE SMP when a disconnection process is ongoing(v5.1)

See merge request espressif/esp-idf!34526
2024-11-05 16:37:09 +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
Chen Jian Hua
07858aeec9 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 1e3220b0b084ce0363e8268d6d1cf9d20fa07a59)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-04 18:05:23 +08:00
Rahul Tank
cabaf74249 fix(nimble): Adjust Data len time in case BLE 5.0 support is not present 2024-11-04 11:33:10 +05:30
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