772 Commits

Author SHA1 Message Date
Zhou Xiao
1c89a133f2 change(ble): Update lib_esp32h2 to 3422b706
(cherry picked from commit fe5a12e7e74de53b8d3c6d5088419deb9a69f704)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:54:16 +08:00
Island
171a0b9acf Merge branch 'feat/add_config_for_ble_vs_qa_cmd_v5.3' into 'release/v5.3'
fixed interrupt WDT when shutdown bt controller on ESP32(ba6739f) (v5.3)

See merge request espressif/esp-idf!36175
2025-01-10 14:17:36 +08:00
Chen Jian Hua
fb815fb6f3 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:33 +08:00
Chen Jian Hua
4847e78895 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:14 +08:00
Wang Meng Yang
93178f26db Merge branch 'bugfix/fix_btqabr2023330_v5.3' into 'release/v5.3'
fix(bt): Fix error code returned by create_conn_cancel_cmd at different status (backport v5.3)

See merge request espressif/esp-idf!35734
2024-12-27 11:02:59 +08:00
chenqingqing
b7148ab71f 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-25 10:01:57 +08:00
Zhao Wei Liang
ea2cf71b2f 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:36 +08:00
Zhao Wei Liang
9c0c5af372 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:34 +08:00
Zhao Wei Liang
c0d8e44cda 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:31 +08:00
Island
73c6ff0e94 Merge branch 'bugfix/fix_ble_aa_zero_c3_s3_v5.3' into 'release/v5.3'
fix(bt/ble): Update esp32c3/s3 libbtdm_app.a (555b0a2) (v5.3)

See merge request espressif/esp-idf!35691
2024-12-18 10:46:13 +08:00
xiongweichao
45890e88e0 fix(ble): fixed that the resolvable private address does not change when light sleep is enabled 2024-12-17 10:52:55 +08:00
zhanghaipeng
f8dc54c026 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:52:31 +08:00
Zhao Wei Liang
c119c9f6d7 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:44 +08:00
Zhao Wei Liang
526d58a40b 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:42 +08:00
Zhao Wei Liang
5ac570ee2f 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:39 +08:00
Island
0b7cbb40ca Merge branch 'bugfix/fix_hid_crash_v5.3' into 'release/v5.3'
fix(ble): Fix crash issue during logging (v5.3)

See merge request espressif/esp-idf!35510
2024-12-12 09:06:15 +08:00
Island
78b9bfe213 Merge branch 'bugfix/fix_bleqabr24_1646_v5.3' into 'release/v5.3'
Fixed BLE creating connection when the connection already exists on ESP32 (v5.3)

See merge request espressif/esp-idf!35046
2024-12-11 14:57:53 +08:00
Zhang Hai Peng
a91f9b2395 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:30 +08:00
Jiang Jiang Jian
2cb1dbd0de Merge branch 'bugfix/fix_ble_ke_mem_267_assert_v5.3' into 'release/v5.3'
fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 (backport v5.3)

See merge request espressif/esp-idf!35337
2024-12-09 15:36:10 +08:00
Jiang Jiang Jian
e1c1befc7d Merge branch 'bugfix/fix_c2_light_sleep_coex_v5.3' into 'release/v5.3'
fix(ble): fix ble light sleep error on esp32c2 (v5.3)

See merge request espressif/esp-idf!35055
2024-12-09 15:23:53 +08:00
chenjianhua
e881a8fdec fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists
2024-12-09 15:03:45 +08:00
Island
0a49e286df Merge branch 'bugfix/fix_ble_creat_conn_fail_enh_v5.3' into 'release/v5.3'
fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type (v5.3)

See merge request espressif/esp-idf!35018
2024-12-06 22:40:54 +08:00
Island
69e8c4a0c5 Merge branch 'bugfix/add_aa_check_on_esp32c2_and_esp32c6_v5.3' into 'release/v5.3'
Bugfix/add aa check on esp32c2 and esp32c6 (v5.3)

See merge request espressif/esp-idf!35233
2024-12-06 17:55:14 +08:00
chenjianhua
561307a6bf feat(ble/bluedroid): Support setting connection params when creating connection 2024-12-06 15:51:33 +08:00
zhiweijian
044ae88fac fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 2024-12-02 16:04:35 +08:00
zwl
f776fa729f fix(ble): fixed the connect issue when rx error aa on ESP32-C6 2024-11-27 16:22:01 +08:00
Zhao Wei Liang
9f98a81bd2 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:44 +08:00
Jin Cheng
ef4559a09d 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:27:40 +08:00
Jin Chen
839007f0d9 fix(ble): fix ble light sleep error on esp32c2
(cherry picked from commit 23f7e33a97ad70ff1e73407650f7b8edbd91fc9a)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-21 11:03:46 +08:00
Island
7cd3d4a97f Merge branch 'feature/support_moving_code_to_flash_v5.3' into 'release/v5.3'
feat(ble): Support for putting code in flash on ESP32-C2 (v5.3)

See merge request espressif/esp-idf!34785
2024-11-14 11:46:39 +08:00
Island
d22ed3fc0d Merge branch 'bugfix/fix_some_ble_bugs_240926_esp32_v5.3' into 'release/v5.3'
Fixed some BLE bugs 240926 on ESP32 (v5.3)

See merge request espressif/esp-idf!34553
2024-11-13 14:21:46 +08:00
Island
dc1265c6eb Merge branch 'bugfix/fixed_h2_assert_master_1031_v5.3' into 'release/v5.3'
Bugfix/fixed h2 assert master 1031 (v5.3)

See merge request espressif/esp-idf!34540
2024-11-13 14:20:54 +08:00
Shen Weilong
6e4b35ac4a feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:52:15 +08:00
zhiweijian
ac81c14b48 feat(bt/controller): Support controller code run in flash only 2024-11-08 17:28:52 +08:00
Chen Jian Hua
6fdc9ae60f 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-08 17:28:52 +08:00
gongyantao
0448a53c66 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-08 14:33:11 +08:00
zhanghaipeng
90a723f7b5 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:33:02 +08:00
Chen Jian Hua
f36d81a62c 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


(cherry picked from commit 2b28133ace9ff00592ef0a34d5b17913569cafb3)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-08 14:32:44 +08:00
zwl
f808a705b8 fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-C6 2024-10-31 11:34:09 +08:00
Zhao Wei Liang
c9b55d1542 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-10-31 11:23:50 +08:00
Jiang Jiang Jian
eb4186dc97 Merge branch 'bugfix/update_btlib_v5.3' into 'release/v5.3'
fix(bt/controller): Fixed some controller bugs on ESP32 (v5.3)

See merge request espressif/esp-idf!34463
2024-10-28 21:09:50 +08:00
Island
425db8e135 Merge branch 'bugfix/fix_assert_if_ble_sleep_init_failed_v5.3' into 'release/v5.3'
fix(ble): do not assert if ble sleep init failed (v5.3)

See merge request espressif/esp-idf!34427
2024-10-28 11:55:31 +08:00
Jin Cheng
c42c11ec4d 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-10-28 10:26:45 +08:00
xiongweichao
2b30323a2b feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-10-25 17:25:18 +08:00
cjin
e3cbe53fa3 fix(ble): do not assert if ble sleep init failed 2024-10-25 10:54:35 +08:00
Island
88030d4832 Merge branch 'bugfix/fix_bleqabr24_1282_v5.3' into 'release/v5.3'
Fixed BLE scanning and initiating coexist on ESP32 (v5.3)

See merge request espressif/esp-idf!33834
2024-10-09 17:19:30 +08:00
Island
7531d7e853 Merge branch 'bugfix/fix_bci_443_v5.3' into 'release/v5.3'
fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC (v5.3)

See merge request espressif/esp-idf!33893
2024-10-09 17:19:04 +08:00
Zhang Hai Peng
b6cbf1a026 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:40 +08:00
Chen Jian Hua
8fa51aa1b5 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:45 +08:00
Chen Jian Hua
0bf641a17c 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:43 +08:00