745 Commits

Author SHA1 Message Date
zwl
14d6c95877 change(ble): [AUTO_MR] Update lib_esp32c6 to 1d7eebaf 2025-02-18 11:01:23 +08:00
zwl
58e851ac0a change(ble): [AUTO_MR] Update lib_esp32h2 to 1d7eebaf 2025-02-18 11:01:14 +08:00
zwl
a5b29fd0c4 feat(ble): add channel assessment and enhanced connect function on ESP32-C6 2025-02-18 11:01:05 +08:00
Zhou Xiao
f08f52d057 feat(ble): support enhanced controller log capabilities on ESP32-C2
(cherry picked from commit bbcb4a2e1f9c9bc13d59364d42c70bdf02ae14ef)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-18 10:22:55 +08:00
Zhou Xiao
1479cbd40e feat(ble): support enhanced controller log capabilities on ESP32-C6 and ESP32-H2
(cherry picked from commit f598976c6bfadec961414f8713884cb2333256cb)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-18 10:22:52 +08:00
Zhou Xiao
7b5fa8bdb6 feat(ble): add channel assessment and enhanced connect function on ESP32-H2
(cherry picked from commit 0ffac9258680588ff60cb4602048e6fa8638e3a5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-18 10:22:49 +08:00
cjin
3b1ab8a46e fix(ble): fix conn supervision tmo when coex ESP32C6 2025-01-23 18:05:42 +08:00
cjin
8d2a6a08de fix(ble): fix conn supervision tmo when coex ESP32H2 2025-01-23 18:05:18 +08:00
Jiang Jiang Jian
40fe9c1d28 Merge branch 'change/ble_update_lib_20250103_v5.1' into 'release/v5.1'
change(ble): [AUTO_MR] 20250103 - Update ESP BLE Controller Lib (v5.1)

See merge request espressif/esp-idf!36370
2025-01-23 15:29:26 +08:00
zwl
7ac466957c feat(ble): support for putting ble code into flash on ESP32-C6 2025-01-16 18:11:16 +08:00
Zhou Xiao
fad3da3d4d fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-H2
(cherry picked from commit d2b62f21301f01f7585100c08551fdaa1b52ef5c)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:53:46 +08:00
Zhou Xiao
3dd9f8bb1f fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C6
(cherry picked from commit 8d6ec1283875d0ea1993473d078bbc2dad47be9d)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:53:42 +08:00
Zhou Xiao
17d01a1818 fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C2
(cherry picked from commit 6a752eeb89a48ee5c1d5e07b8f2ea297ca1c268d)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:53:40 +08:00
Zhou Xiao
d5b968a77b feat(ble): support for putting ble code into flash on ESP32-H2
(cherry picked from commit 5a9acdc379ac2ed560ac6e92ddcc89696eaea6f5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:53:38 +08:00
Zhou Xiao
0802f1d21e change(ble): Update lib_esp32c2 to 2a00fb0b
(cherry picked from commit 7cd3fe6953ce455dcde3bc499d0f09a5c5cd57d7)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:53:36 +08:00
Zhou Xiao
47725bd117 change(ble): Update lib_esp32c6 to 3422b706
(cherry picked from commit 4fc95fa91f178aeed607d0366e7b91a0ea018ac6)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:53:34 +08:00
Zhou Xiao
ba417d2d21 change(ble): Update lib_esp32h2 to 3422b706
(cherry picked from commit fe5a12e7e74de53b8d3c6d5088419deb9a69f704)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:53:31 +08:00
Jin Cheng
62f19d112e fix(bt/controller): fixed missing critical protections on linked-list structure of (e)SCO buffers 2025-01-13 14:59:44 +08:00
Jiang Jiang Jian
e77ee138e1 Merge branch 'feat/add_config_for_ble_vs_qa_cmd_v5.1' into 'release/v5.1'
fixed interrupt WDT when shutdown bt controller on ESP32(ba6739f) (v5.1)

See merge request espressif/esp-idf!36173
2025-01-08 17:16:59 +08:00
Chen Jian Hua
7dbfb06fc9 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(fd62b31)
- Fixed periodic adv enable params checking
- Fixed BLE assert lld_scan.c 1728 when receiving directed adv
- Support resolving RPA to identity address when creating connection
- Fixed BLE assert rwble.c 505 param 00400010
- Fixed peer address type error in HCI LE meta event
- Fixed setting random address failed when extended adv is enabled


(cherry picked from commit 326f391f9c5a218bad521f3a1277fd09f240ac6d)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-01-07 14:33:21 +08:00
Chen Jian Hua
6c0819eec4 fix(bt): Update bt lib for ESP32(ba6739f)
- Fixed assert in lld_evt.c at line 2353
- Fixed interrupt WDT when shutdown bt controller
- Added config for BLE vendor HCI QA command
- Added config for BLE channel assessment and ping procedure


(cherry picked from commit ad3554fbed715c9cc64fe6db2a81b51770f63504)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-01-06 15:20:01 +08:00
Zhao Wei Liang
9e24e88ca7 feat(ble): Support get ble controller free heap size on ESP32-C2
(cherry picked from commit 2cb7d2437bc81124c2cc4a0f4b9e94bac2318f0e)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:08 +08:00
Zhao Wei Liang
811efe487c feat(ble): Support get ble controller free heap size on ESP32-H2
(cherry picked from commit 12f226be7d9b02e27d4e98b018d886af7fb8b621)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:05 +08:00
Zhao Wei Liang
778d18bab0 feat(ble): Support get ble controller free heap size on ESP32-C6
(cherry picked from commit aa7feb944923cd3d9920e63db9b675b31c8981f7)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:03 +08:00
Wang Meng Yang
38913142d9 Merge branch 'bugfix/fix_btqabr2023330_v5.1' into 'release/v5.1'
fix(bt): Fix error code returned by create_conn_cancel_cmd at different status (backport v5.1)

See merge request espressif/esp-idf!35574
2024-12-19 10:47:26 +08:00
Island
90b1dbbdd1 Merge branch 'bugfix/fix_ble_aa_zero_c3_s3_v5.1' into 'release/v5.1'
fix(bt/ble): Update esp32c3/s3 libbtdm_app.a (555b0a2) (v5.1)

See merge request espressif/esp-idf!35689
2024-12-18 10:42:48 +08:00
xiongweichao
0d4d43fe63 fix(bt): Fixed some controller bugs
- Fix epr not being initiated after authentication is completed
- Fixed the issue HCI_READ_CLOCK returned parameter in slot
- Fixed the missmatching of CLKN and FCNT after clock update
2024-12-17 20:40:57 +08:00
chenqingqing
86949f53d1 fix(bt): Fix error code returned by create_conn_cancel_cmd at different status
- Closes https://github.com/espressif/esp-idf/issues/7763
2024-12-17 20:40:57 +08:00
xiongweichao
cfdcded587 fix(ble): fixed that the resolvable private address does not change when light sleep is enabled 2024-12-17 10:50:13 +08:00
zhanghaipeng
263ecbc9be fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(555b0a2)
- Check Access Address when receive connection request PDU
- Fix issue with BLE5.0 duplicate scan for chained packets
2024-12-17 10:50:06 +08:00
Zhao Wei Liang
4036633ee3 fix(ble): fixed the connect issue when rx error aa on ESP32-C2
(cherry picked from commit 6b01a56e094e3220265c37fabfb42bade8417c2b)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-16 11:03:25 +08:00
Zhao Wei Liang
9f9deff3cb feat(ble): support some vendor hci commands on ESP32-H2
(cherry picked from commit 15203f9f3596e61a64046c6fa29d69217ad5c13e)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-16 11:03:23 +08:00
Zhao Wei Liang
3d6ed6a93b feat(ble): support some vendor hci commands on ESP32-C6
(cherry picked from commit 5bd66eaa57dcecbdb7c9c3e8ac990feebebf1267)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-16 11:03:21 +08:00
Zhang Hai Peng
d9ae4e437e fix(blufi): Fixed blufi init fail after deinit
(cherry picked from commit 7addb57ccd53576b40d3cfeb24c185036053f4b4)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-09 17:45:23 +08:00
Island
f639dcccf2 Merge branch 'bugfix/fix_ble_creat_conn_fail_enh_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type (v5.1)

See merge request espressif/esp-idf!35016
2024-12-06 15:49:21 +08:00
chenjianhua
abe0d3c1ff feat(ble/bluedroid): Support setting connection params when creating connection 2024-12-03 18:03:36 +08:00
zhiweijian
5f680167d3 fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 2024-12-02 16:18:33 +08:00
gongyantao
dc375a769d fix(bt): fixed some issues in esp32 bt controller
1: fix duplicated lc_enc_restart_req when new lk type is semi-permanent
   key
2: reset PreventEncEvt flag at the end of restart encryption procedure
2024-11-29 14:12:00 +08:00
zwl
d8bd860402 fix(ble): fixed the connect issue when rx error aa on ESP32-C6 2024-11-27 16:20:29 +08:00
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
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
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
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
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
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