3794 Commits

Author SHA1 Message Date
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
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
ed06d92d73 Merge branch 'bugfix/fix_ext_conn_adv_data_check_v5.1' into 'release/v5.1'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408) (v5.1)

See merge request espressif/esp-idf!34001
2024-10-29 16:03:47 +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
Island
82b8a9acea Merge branch 'feat/support_enable_ble_hci_log_by_api_v5.1' into 'release/v5.1'
feat(ble/bluedroid): Support enable BLE hci log by API (v5.1)

See merge request espressif/esp-idf!34422
2024-10-29 16:03:23 +08:00
Island
fa24d81f43 Merge branch 'bugfix/fix_assert_if_ble_sleep_init_failed_v5.1' into 'release/v5.1'
fix(ble): do not assert if ble sleep init failed (v5.1)

See merge request espressif/esp-idf!34429
2024-10-28 11:55:12 +08:00
Island
588bb93a7e Merge branch 'refactor/ble_example_print_on_bluedroid_v5.1' into 'release/v5.1'
refactor(bt/bluedroid): Refactor the print for BLE examples (v5.1)

See merge request espressif/esp-idf!34308
2024-10-28 10:52:43 +08:00
Island
2627e8b491 Merge branch 'bugfix/fix_bci_443_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC (v5.1)

See merge request espressif/esp-idf!33891
2024-10-28 10:52:33 +08:00
Island
626d642f4e Merge branch 'bugfix/fix_bleqabr24_1282_v5.1' into 'release/v5.1'
Fixed BLE scanning and initiating coexist on ESP32 (v5.1)

See merge request espressif/esp-idf!33832
2024-10-28 10:52:28 +08:00
Wang Meng Yang
de8cdc55c5 Merge branch 'feat/support_32k_osc_ble_sleep_clk_v5.1' into 'release/v5.1'
feat(ble): Support using 32k oscillator as Bluetooth sleep clock(v5.1)

See merge request espressif/esp-idf!33998
2024-10-28 09:36:42 +08:00
cjin
8da41a584b fix(ble): do not assert if ble sleep init failed 2024-10-25 10:51:31 +08:00
Zhang Hai Peng
4dc96c1616 feat(ble/bluedroid): Support enable BLE hci log by API
(cherry picked from commit 15c895fc6a41a9df43b1798c92960994c407eb58)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-24 20:13:17 +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
xiongweichao
b3ea519624 feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-10-18 16:52:16 +08:00