701 Commits

Author SHA1 Message Date
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
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
Shen Weilong
4fff9f7cf7 feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:45:55 +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
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
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
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
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
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
cjin
8da41a584b fix(ble): do not assert if ble sleep init failed 2024-10-25 10:51:31 +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
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
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
94b5b8d60b feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-09-27 15:51:43 +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
zhanghaipeng
e711935672 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(63eb54d)
- Fixed issue where RPA is not updated after BLE RPA timeout
2024-09-23 13:32:15 +08:00
Zhang Hai Peng
a0c57c0b6f fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(e9ae856)
- Fixed BLE scan assert in lld_scan.c 1728


(cherry picked from commit 32c7694f5657938c7b853a234586ff3887424aed)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-09-23 11:13:20 +08:00
Island
71bac64a08 Merge branch 'bugfix/fixed_c6_crash_c2_crash_issue_v5.1' into 'release/v5.1'
Bugfix/fixed c6 crash c2 crash issue (v5.1)

See merge request espressif/esp-idf!33597
2024-09-19 20:21:06 +08:00
Chen Jian Hua
c846ee7917 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:20 +08:00
zwl
7890498092 fix(ble): fixed occasional crash issue in multi-connect scenarios on ESP32-C6 2024-09-18 17:03:37 +08:00
Zhao Wei Liang
906b24dcac fix(ble): fixed occasional assertion issue when enabling logging on ESP32-C2
(cherry picked from commit 0ef9ecb715f93bd0c4c4785357cabcaa36b31273)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-09-18 15:57:43 +08:00
Zhao Wei Liang
96e6cebe8c fix(ble): fixed occasional acl data packet loss issue when using UHCI on ESP32-H2
(cherry picked from commit c929a019318472d0faf80f1b2e9b88066e36b71a)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-09-18 15:57:41 +08:00
linruihao
42ccb8fc26 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(c66a703)
- Fixed missing sync established event after canceling sync
2024-09-11 17:15:42 +08:00
Island
ed4220c163 Merge branch 'bugfix/fix_some_ble_bugs_240826_v5.1' into 'release/v5.1'
Fixed some BLE bugs 240826 on ESP32C3 (8ce789b) (v5.1)

See merge request espressif/esp-idf!33391
2024-09-10 11:37:48 +08:00
chenjianhua
867ed4d319 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(8ce789b)
- Fixed BLE vendor HCI set scan perfer address command
- Support BLE vendor HCI get controller compile version command
- Fixed BLE util buffer free after controller reset
- Fixed assert when connection already exist and be connected again
2024-09-09 11:35:29 +08:00
chenjianhua
51aa349204 feat(bt): Update esp32 bt-lib(bc393dd)
- Fixed BLE vendor HCI set scan perfer address command
- Support BLE vendor HCI get controller compile version command
- Support BLE scanning and initiating coexist
2024-09-09 11:30:46 +08:00
cjin
53c865090c feat(ble): add internal api to change ble slow clock source 2024-08-27 12:48:38 +08:00
cjin
6a89c38a7e fix(ble): remove ble wakeup before entering light sleep 2024-08-27 10:18:16 +08:00
zwl
c83d6bcc9a fix(ble): fixed ble controller issues on ESP32-H2 2024-08-26 19:43:40 +08:00
zwl
8ea9a8a93c fix(ble): fixed ble controller issues on ESP32-C6 2024-08-26 19:43:12 +08:00
zwl
d31558126f fix(ble): fixed ble controller issues on ESP32-C2 2024-08-26 19:42:40 +08:00
Jiang Jiang Jian
df69f27173 Merge branch 'feat/collect_retention_link_definition_v5.1' into 'release/v5.1'
change(esp_hw_support): collect retention link priority definition (v5.1)

See merge request espressif/esp-idf!33070
2024-08-26 19:07:52 +08:00
Jiang Jiang Jian
00a0acfc23 Merge branch 'bugfix/fix_ble_resolve_adv_data_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data (v5.1)

See merge request espressif/esp-idf!33025
2024-08-26 14:50:45 +08:00
wuzhenghui
2a48be3a9d
change(esp_hw_support): collect retention link priority definition 2024-08-26 11:22:30 +08:00
linruihao
b22e9d00a8 fix(bt/controller): Fixed bluetooth disconnect issue after modem sleep on ESP32 2024-08-23 11:05:10 +08:00
zhanghaipeng
a70bb11950 feat(ble/controller): Support get BLE controller free heap size 2024-08-23 09:42:25 +08:00
Island
7ba5cbf9d9 Merge branch 'bugfix/fix_bleqabr24_1152_v5.1' into 'release/v5.1'
Fixed BLE vendor HCI get controller status command on ESP32 (v5.1)

See merge request espressif/esp-idf!32967
2024-08-22 16:57:01 +08:00
chenjianhua
6d488f11b3 fix(bt): Update bt lib for ESP32(241c96c)
- Fixed BLE vendor HCI get controller status command
2024-08-20 19:31:13 +08:00
zwl
bd48565e81 fix(ble): fixed blufi issue on ESP32-C2 2024-08-19 21:48:25 +08:00
Wang Mengyang
4b7286d083 fix(bt): Fix heap corruption in the call of esp_bt_mem_release on ESP32
Closes https://github.com/espressif/esp-idf/issues/14263
2024-08-14 19:00:15 +08:00
zhanghaipeng
824bd4342b fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)
- Fix BLE channel map update when latency is not zero
2024-08-13 12:13:08 +08:00
chenjianhua
13527b0e91 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(4e58df9)
- Support enhanced BLE TX power setting and getting
2024-08-13 12:13:08 +08:00