Commit Graph

1298 Commits

Author SHA1 Message Date
liqigan
1b49e48bfd feat(bt/controller): Added LMP debug vendor HCI and fixed some bugs ts on ESP32-S31 2026-07-13 15:15:59 +08:00
liqigan
6b8073f901 fix(bt/controller): Fixed BR/EDR controller bugs found by regression tests on ESP32-S31
- Fixed the state machine issue caused by security related LMP procedures on ESP32-S31
- Fixed the issue of insufficient air time for ACK reception from the Central on ESP32-S31
- Fixed the page scan collision issue on ESP32-S31
- Fixed read failures for local supported features and extended features on ESP32-S31
- Fixed NULL access issue during SYNC disconnection on ESP32-S31
- Fixed ACL schedule issue during SYNC connection establishment on ESP32-S31
2026-07-03 16:36:10 +08:00
ShenWeilong
297ee2cc5b feat(ble): Updated libble to 6bbfb64 on ESP32-S31 and ESP32-H4 2026-07-01 20:38:09 +08:00
cjin
1c17dee316 fix(ble): fix ble timer reset issues on ESP32-H4 2026-06-30 16:30:14 +08:00
cjin
96cecd67e1 fix(ble): fix ble timer reset issues on ESP32-S31 2026-06-30 16:30:11 +08:00
Wang Meng Yang
3f98aa9ff9 Merge branch 'feat/add_sam' into 'master'
feat(bt): Added support for slot availablity mask functionality

See merge request espressif/esp-idf!49995
2026-06-30 08:48:07 +08:00
Michael (XIAO Xufeng)
c1b218b640 Merge branch 'fix/mmap_cache_flash_wr' into 'master'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled

Closes IDFGH-14084

See merge request espressif/esp-idf!29804
2026-06-29 11:44:10 +08:00
liqigan
5b25128be8 feat(bt): Added support for slot availablity mask functionality 2026-06-29 10:57:53 +08:00
zhanghaipeng
cc62c8bfb4 fix(bt): update ESP32 libbtdm_app.a to 4a0f94d5
- Fix connection failure when using RPA with whitelist filtering
- Fix disconnect with reason 0x08 during full scan
- Fix peer RPA resolution failure when advertising with a local identity address
2026-06-25 19:34:13 +08:00
Jiang Jiang Jian
5a1adbfb1c Merge branch 'change/ble_update_lib_20260612' into 'master'
change(ble): [AUTO_MR] 20260612 - Update ESP BLE Controller Lib

Closes BLERP-2888

See merge request espressif/esp-idf!49605
2026-06-18 17:20:25 +08:00
Xiao Xufeng
789ce684c9 fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-06-16 01:00:43 +08:00
Jin Cheng
676fd45ec9 fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32 2026-06-15 15:26:09 +08:00
Zhou Xiao
897f3b2af1 change(ble): [AUTO_MR] Update lib_esp32c2 to 750d4902 2026-06-12 12:00:54 +08:00
Island
033b46ea2c Merge branch 'change/ble_update_lib_20260610' into 'master'
change(ble): [AUTO_MR] 20260610 - Update ESP BLE Controller Lib

Closes BLERP-2881

See merge request espressif/esp-idf!49522
2026-06-12 11:55:47 +08:00
Jin Cheng
0970c5accb fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32-S31 2026-06-12 07:48:27 +08:00
ShenWeilong
df148c4adb feat(ble): updated libble to 71d180a4 for esp32h4 and esp32s31 2026-06-10 19:36:28 +08:00
Zhou Xiao
226a0483b1 change(ble): [AUTO_MR] Update lib_esp32c6 to a6519790 2026-06-10 16:46:35 +08:00
Zhou Xiao
a43358587c change(ble): [AUTO_MR] Update lib_esp32c5 to a6519790 2026-06-10 16:46:35 +08:00
Zhou Xiao
8a744e8e93 change(ble): [AUTO_MR] Update lib_esp32h2 to a6519790 2026-06-10 16:46:35 +08:00
Jin Cheng
e4806d9bc3 fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32-S31 2026-06-08 11:58:16 +08:00
cjin
5483aeedb6 fix(ble): fix conn recycle assertion at halt on ESP32-C2 2026-06-03 17:48:25 +08:00
Wang Meng Yang
2e2909506f Merge branch 'fix/some_issue_s31' into 'master'
fix(bt/controller): fixed several controller issues

Closes BTQABR2023-689, BTQABR2023-683, BTQABR2023-679, CBI-1964, CBI-1986, CBI-1996, CBI-2015, CBI-2019, CBI-2024, CBI-2025, CBI-2061, and BT-4370

See merge request espressif/esp-idf!48860
2026-06-01 19:53:12 +08:00
Island
7b3d478242 Merge branch 'fix/ble_funcs_reset_default_enabled' into 'master'
fix(bt): Add default BLE controller funcs reset enable

Closes BLERP-2791

See merge request espressif/esp-idf!49014
2026-06-01 19:23:04 +08:00
Rahul Tank
9897b1ee7d fix(nimble): Add support for shorter connection intervals 2026-06-01 11:21:17 +05:30
chenqingqing
ade1f84409 fix(bt/controller): fixed several controller issues
- fix the start time in scheduling item
- stop inquiry ASAP when response number reached
- add support for hold mode
- stop handshake when acl link is already exist with same bdaddr
- fix AFH state after successful role switch
- return correct failure reason to avoid redundant "not accepted"
- fix build error when building rom code
- fix conflict between sniff and sniff subrate
2026-05-29 14:57:50 +08:00
zhanghaipeng
7c1cb4b296 fix(bt): Add default BLE controller funcs reset enable 2026-05-29 10:08:18 +08:00
wuzhenghui
b88a809b8c fix(esp_system): update cache livelock workaround bind to interrupt WDT configuration 2026-05-28 12:10:59 +08:00
Island
7812a5df33 Merge branch 'bugfix/fix_ble_coded_phy_performance_with_wifi_coex' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)

Closes BT-4348

See merge request espressif/esp-idf!48851
2026-05-27 21:32:47 +08:00
zhanghaipeng
8da824cd0e fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)
- improve coded PHY performance under Wi-Fi coexistence
2026-05-25 14:13:37 +08:00
ShenWeilong
e273c406c8 fix(ble): Updated libble[a7487a7] and libbtdm[9ce603a] 2026-05-22 17:51:11 +08:00
Jiang Jiang Jian
2dc66242b7 Merge branch 'bugfix/supp_pcm_over_i2s' into 'master'
fix(bt/controller): fixed several controller issues

Closes BTQABR2023-692, BTQABR2023-722, BTQABR2023-675, and BTQABR2023-688

See merge request espressif/esp-idf!48684
2026-05-22 14:30:49 +08:00
Island
a22fda94cb Merge branch 'change/ble_update_lib_20260520' into 'master'
change(ble): [AUTO_MR] 20260520 - Update ESP BLE Controller Lib

Closes BLERP-2797

See merge request espressif/esp-idf!48757
2026-05-22 10:14:41 +08:00
Li Shuai
d7a2e15164 Merge branch 'feat/pm-683' into 'master'
support sleep retention runtime module attach/detach feature

Closes PM-683, PM-656, and BT-4216

See merge request espressif/esp-idf!47164
2026-05-21 17:07:58 +08:00
Zhou Xiao
1be9cb193f change(ble): [AUTO_MR] Update lib_esp32c6 to 4adb29e0 2026-05-21 15:27:54 +08:00
Zhou Xiao
edac0a5e14 change(ble): [AUTO_MR] Update lib_esp32c5 to 4adb29e0 2026-05-21 15:27:54 +08:00
Zhou Xiao
9ace4422d9 change(ble): [AUTO_MR] Update lib_esp32h2 to 4adb29e0 2026-05-21 15:27:54 +08:00
Jin Cheng
2ea0396135 fix(bt/controller): fixed several controller issues
- added support for PCM over I2S
- ignored bandwidth and retransmission effort during SCO negotiation
- fixed use-after-free issues while handle the saved PDU
- removed unreasonable check for the packet write-back value
- fixed SSP unhandle LMP_NOT_ACCEPTED
- removed incorrect clearing of ACL flags
- fixed incorrect strategy to narrow down allowed packet types during
  eSCO negotiation
2026-05-21 15:12:14 +08:00
Island
b970c5f674 Merge branch 'ble_dev/esp32h21_chip_20260513' into 'master'
Ble dev/esp32h21 chip 20260513

Closes BLERP-2798, IDF-11626, IDF-11652, IDF-11653, IDF-11655, IDF-14811, IDF-14812, IDF-14813, IDF-14814, and IDF-14815

See merge request espressif/esp-idf!48499
2026-05-21 14:00:09 +08:00
cjin
9521182c67 feat(ble): support retention attach/detach to bt module 2026-05-21 11:46:16 +08:00
Wang Meng Yang
814656bca1 Merge branch 'bugfix/fix_bt_incorrect_error_code' into 'master'
fix(bt): Correct the error code in pairing when pin code req rejected by host

See merge request espressif/esp-idf!48656
2026-05-20 22:35:32 +08:00
ShenWeilong
cf813a4a1e feat(ble): Added ble support for esp32h21 2026-05-20 19:24:08 +08:00
linruihao
df492d5c2f fix(coex): fix ble coded phy rx issue when aborted by coex 2026-05-19 17:52:07 +08:00
linruihao
e68bf4e8d8 fix(bt): Correct the error code in pairing when pin code req rejected by host 2026-05-19 14:44:14 +08:00
zhaoweiliang
149592acc5 change(ble): [AUTO_MR] Update lib_esp32c6 to 04040491 2026-05-18 18:03:10 +08:00
zhaoweiliang
6f0b0e9a0d change(ble): [AUTO_MR] Update lib_esp32c5 to 04040491 2026-05-18 18:03:10 +08:00
zhaoweiliang
330ae12e18 change(ble): [AUTO_MR] Update lib_esp32h2 to 04040491 2026-05-18 18:03:10 +08:00
wangjialiang
17db29cd01 fix(ble): Fix ble iso i2s API missing issue 2026-05-15 09:56:26 +08:00
liqigan
926efbe858 fix(bt): Fixed not show config for broadcast encryption and PCA 2026-05-14 15:52:53 +08:00
Island
d8031954f6 Merge branch 'feat/support_bluedroid_key_log' into 'master'
Feat/support bluedroid key log

Closes BLERP-2782

See merge request espressif/esp-idf!48437
2026-05-14 14:04:07 +08:00
zhanghaipeng
0af57d731c feat(ble): Support BLE critical logs 2026-05-13 14:22:40 +08:00