3931 Commits

Author SHA1 Message Date
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
Zhang Hai Peng
2eca72f18d 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:21 +08:00
Zhang Hai Peng
bb5a8e4b4e fix(ble/bluedroid): Fixed BLE handle check for GATT API
(cherry picked from commit 514155de3b0c44bf9c3b00c31f64b3b40bc36c83)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-10 21:13:18 +08:00
Zhang Hai Peng
e0113b33c4 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408)
- Fixed extended connectable advertising data length check


(cherry picked from commit 8a80675b7c05d613b3e9a7126a0049458b589db2)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-08 15:13:26 +08:00
Abhinav Kudnar
deed739453 fix(nimble): Fix the sequence of ll and host transport init 2024-10-03 17:01:37 +08:00
Chen Jian Hua
fddbca1d60 fix(bt/controller): Fixed ble get tx power error
(cherry picked from commit 4108a5cc4cb96039ed861703dda06f7f3a5969c3)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-27 18:33:28 +08:00
Chen Jian Hua
5bafa3e07f fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC
(cherry picked from commit 873708579c99069d073f3d6c7ba6db154cbf16b9)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-27 18:33:25 +08:00
zhanghaipeng
9fe3cff677 fix(ble/bluedroid): Fixed BLE spelling error in word 2024-09-27 15:52:02 +08:00
zhanghaipeng
3696a08461 feat(ble/bluedroid): Add BLE memory allocation failure message 2024-09-27 15:51:55 +08:00
zhanghaipeng
94b5b8d60b feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-09-27 15:51:43 +08:00
zhanghaipeng
ed1ad4ef27 feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-27 14:48:10 +08:00
xiongweichao
1b19449dc0 feat(bt/bluedroid): Report sniff interval to application layer 2024-09-27 14:16:16 +08:00
Chen Jian Hua
ffdd43f2bf fix(bt): Update bt lib for ESP32(3bf7ef0)
- Fixed BLE scanning and initiating coexist


(cherry picked from commit 241b90f3f0209da8bac1bdd722486816815947c9)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-26 10:33:24 +08:00
Island
3d65cb7286 Merge branch 'bugfix/fixed_c5_ble_cache_error_240919_v5.1' into 'release/v5.1'
Bugfix/fixed c5 ble cache error 240919 (v5.1)

See merge request espressif/esp-idf!33759
2024-09-25 17:04:41 +08:00