Commit Graph

213 Commits

Author SHA1 Message Date
Zhou Xiao
5893323abc feat(ble): support memory allocation check debug feature on ESP32-H2
(cherry picked from commit 265a8746dc)

Co-authored-by: cjin <jinchen@espressif.com>
2025-07-09 13:13:59 +08:00
Zhou Xiao
b53912c323 feat(ble): support memory allocation check debug feature on ESP32-C6
(cherry picked from commit 027766e0c2)

Co-authored-by: cjin <jinchen@espressif.com>
2025-07-09 13:13:56 +08:00
Zhou Xiao
24c2f79910 feat(ble): support memory allocation check debug feature on ESP32-C2
(cherry picked from commit 7ef90d4113)

Co-authored-by: cjin <jinchen@espressif.com>
2025-07-09 13:13:54 +08:00
cjin
6ffcd57e53 feat(ble): add sm count reserve cnt setting on ESP32-H2 2025-06-26 15:00:32 +08:00
cjin
757152e461 feat(ble): add sm count reserve cnt setting on ESP32-C6 2025-06-26 15:00:21 +08:00
Island
a0a8a3521a Merge branch 'feat/reduce_bin_size_and_iram_for_ble_rom_code_v5.2' into 'release/v5.2'
feat(ble/controller): Reduce bin size and IRAM for BLE rom code on ESP32-C3 and ESP32-S3 (v5.2)

See merge request espressif/esp-idf!39450
2025-06-12 21:51:59 +08:00
Zhao Wei Liang
337057d90d fix(ble): fixed an occasional assertion issue during sync on ESP32-C6
(cherry picked from commit 3c8ba488e0)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-06-09 11:03:48 +08:00
zhiweijian
5bdb604d4f feat(ble/controller): Reduce bin size and IRAM for BLE rom code 2025-05-27 16:24:55 +08:00
zwl
964d3d068e fix(ble): fixed occasional assert issue in scan and connection scenarios on ESP32-C6 2025-05-19 20:36:17 +08:00
Zhao Wei Liang
975c08b6cc feat(ble): support creating connections during scanning process on ESP32-H2
(cherry picked from commit 207d85a5f7)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-05-19 12:03:46 +08:00
Sumeet Singh
d220557626 feat(nimble): Added some fixes for autopts testing (v5.2) 2025-05-08 19:42:46 +05:30
cjin
cc6f25ea3a feat(ble): support ble sleep using 136 kHz RC on ESP32-C6 2025-04-22 19:11:18 +08:00
Jin Chen
8ca72da03f feat(ble): support ble sleep using 136 kHz RC on ESP32-H2
(cherry picked from commit 6c8ee69151)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-22 19:05:30 +08:00
Chen Jian Hua
c8cf2d6610 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(566c8e3)
- Support BLE vendor hci set RX sensitivity and AGC gain command


(cherry picked from commit 8742bbe553)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-03-31 12:05:20 +08:00
zhiweijian
d44d8a1f9e feat(bt): fixed some doc error and add ocf parameters description 2025-03-26 14:21:45 +08:00
Shen Weilong
5ea02cbc66 feat(bt): added definitions for bluetooth hci vendor commands and events 2025-03-25 16:13:05 +08:00
Shen Weilong
de07298213 feat(ble/controller): Added memory boundary check for ESP32-C6 and ESP32-H2 2025-03-25 16:11:17 +08:00
chenjianhua
5903c691aa fix(bt): Update bt lib for ESP32(dc1cd581)
- Remove unused functions in the controller
- Add an SDK config for the minimum size of encryption key
2025-03-25 16:09:33 +08:00
Zhou Xiao
8353cf2826 fix(ble): remove macro in lpclk src get api on ESP32-C6
(cherry picked from commit b62f094ed5)

Co-authored-by: cjin <jinchen@espressif.com>
2025-03-24 10:58:27 +08:00
Zhou Xiao
a2ec74690a feat(ble): add enhanced connect function on ESP32-C2
(cherry picked from commit 71cea01694)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-24 10:58:27 +08:00
Island
8d3429a4ea Merge branch 'bugfix/fix_some_ble_bugs_250220_esp32c3_v5.2' into 'release/v5.2'
Fixed some BLE bugs 250220 on esp32c3(b34b7d6) (v5.2)

See merge request espressif/esp-idf!37699
2025-03-14 10:25:07 +08:00
Island
01a4d52e27 Merge branch 'feature/update_controller_lib_20250310_v5.2' into 'release/v5.2'
Feature/update controller lib 20250310 (v5.2)

See merge request espressif/esp-idf!37680
2025-03-13 14:25:30 +08:00
chenjianhua
ce5d89fad3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b34b7d6)
- Fixed enhanced TX power setting and getting for legacy adv
- Fixed BLE assert lld_con.c 2387
- Fixed compatibility issues during the encryption procedure
- Support BLE vendor hci enable CCA command
2025-03-13 11:15:14 +08:00
Shen Weilong
a784e0dba2 feat(ble): tell controller if vhci is enabled for ESP32-C6 and ESP32-H2 2025-03-13 09:13:43 +08:00
Shen Wei Long
13d3c588fd feat(ble): tell controller if vhci is enabled for ESP32-C2
(cherry picked from commit 892b3a0b0e)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-03-13 09:13:17 +08:00
chenjianhua
e4b8dba8fd feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(723439d)
- Added BLE controller debug log trace
- Added BLE controller log module
2025-03-06 14:48:31 +08:00
Zhou Xiao
30a06078c8 feat(ble): add channel assessment and enhanced connect function on ESP32-H2
(cherry picked from commit 0ffac92586)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-03 16:36:39 +08:00
zwl
0e4526f93b feat(ble): add channel assessment and enhanced connect function on ESP32-C6 2025-03-03 16:36:39 +08:00
Wang Meng Yang
5670a06d83 Merge branch 'feat/add_vsc_to_support_test_v5.2' into 'release/v5.2'
feat(bt): add vendor hci command and event to support test (v5.2)

See merge request espressif/esp-idf!36569
2025-02-28 17:35:45 +08:00
zhanghaipeng
0efea66c6d fix(ble): Update bt lib for ESP32(2a2631f)
- Support ESP32 BLE GPIO DEBUG
2025-02-27 14:56:58 +08:00
xiongweichao
50073757f2 feat(bt): Added API to get/set low power clock source 2025-02-10 14:16:04 +08:00
Chen Jian Hua
02056c7dae 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 ad3554fbed)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-01-06 15:20:07 +08:00
Wei Yu Han
75004877a3 docs(ble): Refactored the API reference for esp32/c3/s3 BT controller (v5.2) 2024-12-27 18:45:15 +08:00
Island
455ea9541c Merge branch 'bugfix/fix_ble_aa_zero_c3_s3_v5.2' into 'release/v5.2'
fix(bt/ble): Update esp32c3/s3 libbtdm_app.a (555b0a2) (v5.2)

See merge request espressif/esp-idf!35690
2024-12-18 10:43:07 +08:00
zhanghaipeng
7ff64ac625 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:51:00 +08:00
Zhao Wei Liang
d3a05021be fix(ble): fixed the connect issue when rx error aa on ESP32-C2
(cherry picked from commit 6b01a56e09)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-16 11:03:34 +08:00
chenjianhua
35d7c5a4ab feat(ble/bluedroid): Support setting connection params when creating connection 2024-12-03 18:02:37 +08:00
zwl
07181e5cc1 fix(ble): fixed the connect issue when rx error aa on ESP32-C6 2024-11-27 16:22:43 +08:00
Zhao Wei Liang
df3b401129 fix(ble): fixed the connect issue when rx error aa on ESP32-H2
(cherry picked from commit 093b65e27c)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-11-27 16:03:39 +08:00
Island
81c4470f7e Merge branch 'bugfix/fix_some_ble_bugs_240926_esp32_v5.2' into 'release/v5.2'
Fixed some BLE bugs 240926 on ESP32 (v5.2)

See merge request espressif/esp-idf!34552
2024-11-13 12:05:20 +08:00
zhanghaipeng
ba1830f3f4 fix(bt/ble): Update esp32 libbtdm_app.a (17db8bd)
- Added a verification step for the Access Address within the CONNECT_IND PDU
2024-11-08 14:31:19 +08:00
chenjianhua
9133eda13c 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-08 14:30:29 +08:00
zhiweijian
c409db3b44 feat(bt/controller): Support controller code run in flash only 2024-11-07 16:51:56 +08:00
Chen Jian Hua
d9bc02607f 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 1e3220b0b0)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-07 16:51:56 +08:00
Chen Jian Hua
3a8c97a1c9 fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3
(cherry picked from commit fe43c8f1b5)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-18 17:34:27 +08:00
cjin
41502dbf64 feat(ble): add internal api to change ble slow clock source 2024-08-27 12:47:22 +08:00
chenjianhua
6b0b2874e2 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(4e58df9)
- Support enhanced BLE TX power setting and getting
2024-08-09 20:21:37 +08:00
chenqingqing
74ceb6bebc fix(bt/bluedroid): Add PCM configuration about pcm frame sync signal shape 2024-08-05 19:57:13 +08:00
zwl
1e4e2f90f5 feat(bluetooth/controller): add default cts and rts macro definition 2024-07-16 13:20:53 +08:00
zwl
56e9890ba0 feat(bluetooth/controller): adopting new HCI layer code and support UHCI on ESP32-C6 and ESP32-H2 2024-07-16 13:20:53 +08:00