599 Commits

Author SHA1 Message Date
Island
f0756ef7cd Merge branch 'feat/improve_bt_log_spi_output_interface_v5.0' into 'release/v5.0'
Feat/improve bt log spi output interface (v5.0)

See merge request espressif/esp-idf!37133
2025-02-20 19:51:30 +08:00
Island
0364a68eee Merge branch 'change/ble_update_lib_20250114_v5.0' into 'release/v5.0'
change(ble): [AUTO_MR] 20250114 - Update ESP BLE Controller Lib (v5.0)

See merge request espressif/esp-idf!36476
2025-02-20 14:48:07 +08:00
Zhou Xiao
06c6996a2c feat(ble): support ble log spi out for ESP32-C3 and ESP32-S3
(cherry picked from commit e41f6195667fa2724d78c9b33a9894d91675b0d6)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:26 +08:00
Zhou Xiao
56e38729b1 feat(ble): support ble log spi out for ESP32
(cherry picked from commit e2fbec5d2e70bd0a7d3b2e5f5b5cc7a662157130)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:23 +08:00
Zhou Xiao
6bd2ef0083 change(ble): update ble log spi out config for ESP32-C2
(cherry picked from commit e4b698fc32249f3d30c6eba69de1d325fee71dee)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:53:21 +08:00
Zhou Xiao
3fcc64cc05 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:43 +08:00
Island
10bebf8139 Merge branch 'feat/add_spi_output_v5.0' into 'release/v5.0'
Feat/add spi output (v5.0)

See merge request espressif/esp-idf!36952
2025-02-17 11:04:29 +08:00
zhouxiao
0563abdd5e change(ble): [AUTO_MR] Update lib_esp32c2 to 7b7ee440 2025-02-14 17:39:58 +08:00
Jiang Jiang Jian
5dbf151488 Merge branch 'change/ble_update_lib_20250103_v5.0' into 'release/v5.0'
change(ble): [AUTO_MR] 20250103 - Update ESP BLE Controller Lib (v5.0)

See merge request espressif/esp-idf!36369
2025-02-14 13:43:40 +08:00
Zhou Xiao
11230d884a feat(ble): support esp ble controller spi output interface for ESP32-C2
(cherry picked from commit 0b57f8ae875e52cfc816ebbb0eb1e7c7fb46cfad)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-14 11:53:23 +08:00
Zhou Xiao
79627f0151 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-02-12 10:55:00 +08:00
Zhou Xiao
14b81fd066 change(ble): Update lib_esp32c2 to 2a00fb0b
(cherry picked from commit 7cd3fe6953ce455dcde3bc499d0f09a5c5cd57d7)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-02-12 10:55:00 +08:00
zhanghaipeng
770f713e65 fix(ble): Update bt lib for ESP32(194dd63)
- Fix the issue where disconnection events were not reported as a slave.
- Enhance Access Address validation in compatibility mode.
2025-02-11 16:56:31 +08:00
gongyantao
bb039cc318 feat(bt): add vendor hci command and event to support test
- add afh related vendor hci command and event
- add vendor event mask command
2025-02-11 16:56:31 +08:00
linruihao
7db6f812af feat(bt): add coexist scheme status support for bt page 2025-02-11 16:56:31 +08:00
Jin Cheng
13d598d50f fix(bt/controller): fixed missing critical protections on linked-list structure of (e)SCO buffers 2025-02-11 16:56:31 +08:00
chenjianhua
01d9a716b9 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
2025-02-11 16:56:31 +08:00
xiongweichao
a1d6fc04a4 feat(bt): Added API to get/set low power clock source 2025-02-08 14:29:33 +08:00
Island
245fb725f2 Merge branch 'bugfix/fixed_ble_issues_241220_v5.0' into 'release/v5.0'
Bugfix/fixed ble issues 241220 (v5.0)

See merge request espressif/esp-idf!35920
2025-01-24 10:53:40 +08:00
Chen Jian Hua
01bcc85fd9 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:16 +08:00
Zhao Wei Liang
85e299b939 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:20:54 +08:00
Jiang Jiang Jian
c37f469b46 Merge branch 'bugfix/fix_btqabr2023330_v5.0' into 'release/v5.0'
fix(bt): Fix error code returned by create_conn_cancel_cmd at different status (backport v5.0)

See merge request espressif/esp-idf!35573
2024-12-20 02:01:41 +08:00
Island
548ad60b8e Merge branch 'bugfix/fix_ble_aa_zero_c3_s3_v5.0' into 'release/v5.0'
fix(bt/ble): Update esp32c3/s3 libbtdm_app.a (555b0a2) (v5.0)

See merge request espressif/esp-idf!35688
2024-12-18 10:41:58 +08:00
xiongweichao
7d340965dc 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:38:48 +08:00
chenqingqing
1feb1eab58 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:38:48 +08:00
xiongweichao
72cfdbe569 fix(ble): fixed that the resolvable private address does not change when light sleep is enabled 2024-12-17 10:48:14 +08:00
zhanghaipeng
64a5f4e20d 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:47:55 +08:00
Zhao Wei Liang
cd6a69ed01 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:16 +08:00
Zhang Hai Peng
00f6929123 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:19 +08:00
Island
29013b4263 Merge branch 'bugfix/fix_ble_creat_conn_fail_enh_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type (v5.0)

See merge request espressif/esp-idf!35015
2024-12-06 15:49:32 +08:00
Jiang Jiang Jian
1f5789e649 Merge branch 'fix/duplicated_enc_restart_request_when_change_key_type_v5.0' into 'release/v5.0'
fix(bt): fixed some issues in esp32 bt controller(backport v5.0)

See merge request espressif/esp-idf!35298
2024-12-04 19:21:47 +08:00
Jiang Jiang Jian
e4c871935a Merge branch 'bugfix/fix_ble_ke_mem_267_assert_v5.0' into 'release/v5.0'
fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3(backport v5.0)

See merge request espressif/esp-idf!35341
2024-12-04 11:11:05 +08:00
Jiang Jiang Jian
8642718288 Merge branch 'bugfix/fix_c2_light_sleep_coex_v5.0' into 'release/v5.0'
fix(ble): fix ble light sleep error on esp32c2 (v5.0)

See merge request espressif/esp-idf!35052
2024-12-04 11:09:52 +08:00
chenjianhua
4fa7610be8 feat(ble/bluedroid): Support setting connection params when creating connection 2024-12-03 18:05:12 +08:00
zhiweijian
5d8f11ac84 fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 2024-12-02 16:23:34 +08:00
gongyantao
21df54c917 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:13:23 +08:00
Jin Chen
219244ffaa fix(ble): fix ble light sleep error on esp32c2
(cherry picked from commit 23f7e33a97ad70ff1e73407650f7b8edbd91fc9a)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-25 21:03:50 +08:00
Chen Jian Hua
7498ce744d fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists


(cherry picked from commit cada39c3b55b31402028697c3f1e6d3f93702295)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-25 00:05:12 +08:00
Jin Cheng
a5d2d906ad 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-15 11:47:17 +08:00
Island
240dd4fb8d Merge branch 'feature/support_moving_code_to_flash_v5.0' into 'release/v5.0'
feat(ble): Support for putting code in flash on ESP32-C2 (v5.0)

See merge request espressif/esp-idf!34782
2024-11-14 10:09:21 +08:00
Island
c0d14dabfc Merge branch 'bugfix/fix_some_ble_bugs_240926_esp32_v5.0' into 'release/v5.0'
Fixed some BLE bugs 240926 on ESP32 (v5.0)

See merge request espressif/esp-idf!34550
2024-11-13 12:05:11 +08:00
Shen Weilong
c3290dfd6b feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:38:13 +08:00
Island
48cb8520b4 Merge branch 'feat/support_controller_run_in_flash_only_v5.0' into 'release/v5.0'
feat(bt/controller): Support controller code run in flash only (backport v5.0)

See merge request espressif/esp-idf!34696
2024-11-11 14:21:42 +08:00
gongyantao
d09167aab4 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:26:35 +08:00
zhanghaipeng
fe6d4ebe1e 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:26:15 +08:00
chenjianhua
ec7ff931c3 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:24:54 +08:00
Jin Cheng
ccb482a38d 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-06 19:38:22 +08:00
zhiweijian
81c56354fb feat(bt/controller): Support controller code run in flash only 2024-11-06 14:24:28 +08:00
Chen Jian Hua
2d0c9d1837 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-10-31 15:33:43 +08:00
xiongweichao
cf0261a903 feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-10-10 11:28:16 +08:00