Commit Graph
132 Commits
Author SHA1 Message Date
Zhang Hai Peng 71fc9347ed fix(bt): Add default BLE controller funcs reset enable
(cherry picked from commit 7c1cb4b296)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-02 10:14:17 +08:00
Rahul Tank bf0964c613 fix(nimble): Add support for shorter connection intervals 2026-05-28 15:58:22 +05:30
Zhang Hai Peng bab9c7e569 feat(ble): Support BLE critical logs
(cherry picked from commit 0af57d731c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-14 14:23:36 +08:00
Zhang Hai Peng f1bb08c6c7 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2f683593)
- Fixed read remote feature timeout when using coded phy
- Fixed disconnection issue(0x08) when using 125k coded phy
- Fixed disconnection issue(0x08) when updating connection param
- Fixed disconnection issue(0x08) when using multi connection
- Avoid error when adding duplicate device to whitelist
- Support disable channel assessment by vendor hci
- Support smaller connection interval (3.75 ms)
- Support duplicate exception list in EVT ADV


(cherry picked from commit 658ff8730b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-04-29 14:53:24 +08:00
Zhou Xiao 39e0143bf8 feat(bt): add BT_LOG_CRITICAL_ONLY bandwidth-optimized log mode
Add Kconfig options for bandwidth-optimized logging via the BLE Log
Async Output system. When enabled, controller log levels default to 2
and host/mesh log encoding is auto-selected.

- BT_LOG_CRITICAL_ONLY parent: selects BLE_LOG_ENABLED + compression
- BT_LOG_CRITICAL_ONLY_CTRL: supports both NimBLE and non-NimBLE (C3)
  controllers with default level override
- BT_LOG_CRITICAL_ONLY_HOST: host-agnostic, selects compressed log
  for Bluedroid conditionally
- BT_LOG_CRITICAL_ONLY_MESH: placeholder for mesh log encoding
- Guards against BT_STACK_NO_LOG conflict
2026-04-07 13:13:47 +08:00
Jiang Jiang Jian f5ea93abcc Merge branch 'bugfix/fix_ble_controller_emi_assert_v5.3' into 'release/v5.3'
fix(ble): Fixed BLE assert in "emi.c" when low memory (5.3)

See merge request espressif/esp-idf!46912
2026-03-25 21:02:52 +08:00
Zhang Hai Peng a5aaeed01a fix(ble): Fixed BLE assert in "emi.c" when low memory
(cherry picked from commit e3aac6f703)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-03-23 17:53:15 +08:00
hebinglin e16933fdcb fix(hal): fix the issue of dual-core contention for RTC_CNTL regs 2026-03-02 14:39:00 +08:00
Wang Meng Yang 5b2718496d Merge branch 'bugfix/32k_xtal_to_rtc_slow_v5.3' into 'release/v5.3'
fix(bt): Add some debug logs during A2DP sink decoding(v5.3)

See merge request espressif/esp-idf!45785
2026-02-25 19:10:41 +08:00
xiongweichao 91126a706c fix(bt): Replace 32k_xtal with rtc_slow 2026-02-25 10:05:00 +08:00
xiongweichao 7fab4726cc fix(ble): Fix restore write-back error caused by memory allocated in PSRAM 2026-02-24 10:31:56 +08:00
Chen Jian Hua 7371064f8a feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(0871069)
- Added more log for BLE
- Support BLE log filter and simeple output
- Support BLE log compression


(cherry picked from commit 03758ba550)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-11-05 13:33:19 +08:00
Chen Jian Hua 5bd0dbd32e fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(18b5cbe)
- Fixed GPIO matrix function calls


(cherry picked from commit 25adf4c934)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-10-13 17:33:28 +08:00
Zhou Xiao 109cd816f7 fix(ble): fixed ble log config for ESP32-C3/ESP32-S3 2025-09-16 22:47:35 +08:00
Zhou Xiao e23116e32b feat(ble): supported ble log v2 for ESP32-C3/ESP32-S3 2025-09-16 19:13:33 +08:00
Jiang Jiang Jian 0953c344f6 Merge branch 'bugfix/bt_sleep_log_consistent_v5.3' into 'release/v5.3'
fix(ble): keep the log of the bluetooth sleep clock source consistent(v5.3)

See merge request espressif/esp-idf!40357
2025-07-16 17:16:41 +08:00
Zhou Xiao 32d0cfecb4 fix(ble): update error code in controller init for ESP32-S3/ESP32-C3
(cherry picked from commit b8b7e153a7)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:14:48 +08:00
Zhou Xiao fe4fe5c4d6 fix(ble): fixed controller log api call for ESP32-C3/ESP32-S3
(cherry picked from commit 6ac541aa4a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:14:45 +08:00
xiongweichao b23cf5c696 fix(ble): keep the log of the bluetooth sleep clock source consistent 2025-07-04 10:31:11 +08:00
Zhi Wei Jian ad523cf3ff feat(ble/controller): Reduce bin size and IRAM for BLE rom code
(cherry picked from commit 1d739291ca)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-05-27 16:03:29 +08:00
Island 5de769cba4 Merge branch 'change/ble_update_lib_20250313_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20250313 - Update ESP BLE Controller Lib (v5.3)

See merge request espressif/esp-idf!37821
2025-04-16 14:38:01 +08:00
chenjianhua 2a30f64b71 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(566c8e3)
- Support BLE vendor hci set RX sensitivity and AGC gain command
- 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-04-15 14:48:25 +08:00
Zhou Xiao e4225026b5 fix(ble): fix ble log init failure mem leak for ESP32-C3 2025-04-15 12:17:03 +08:00
zhiweijian 94ada16554 fix(bt/controller): Fixed controller flash only bug if hci-uart is enabled 2025-04-07 17:02:58 +08:00
zhiweijian 8c132bbbd8 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3 (86a4da5c)
- Remove unused functions in the controller
2025-03-21 19:48:44 +08:00
chenjianhua 2b80f7506d feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(723439d)
- Added BLE controller debug log trace
- Added BLE controller log module
2025-02-27 15:46:45 +08:00
Zhou Xiao c3c849b263 feat(ble): support ble log spi out for ESP32-C3 and ESP32-S3
(cherry picked from commit e41f619566)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:16 +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
chenjianhua 561307a6bf feat(ble/bluedroid): Support setting connection params when creating connection 2024-12-06 15:51:33 +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 1e3220b0b0)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-08 17:28:52 +08:00
xiongweichao 2b30323a2b feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-10-25 17:25:18 +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
Chen Jian Hua 8fa51aa1b5 fix(bt/controller): Fixed ble get tx power error
(cherry picked from commit 4108a5cc4c)

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 873708579c)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-27 18:33:43 +08:00
zhanghaipeng 2129c70ecf feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-09-27 15:49:01 +08:00
Chen Jian Hua 6a34742cb7 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:34 +08:00
zhanghaipeng b9edac01ae feat(ble/controller): Support get BLE controller free heap size 2024-09-07 12:26:37 +08:00
chenjianhua cfebc2052a feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(4e58df9)
- Support enhanced BLE TX power setting and getting
2024-08-09 20:20:31 +08:00
chenjianhua ad31f4f029 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(eca46a0)
- Fixed adv data buffer free after restart adv
- Fixed BLE interrupt allocation using esp API
2024-06-26 17:23:29 +08:00
Wang Meng Yang d4552c6274 Merge branch 'bugfix/bt_bss_in_extram' into 'master'
BT: Fix non-existent linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled

Closes IDFGH-9017

See merge request espressif/esp-idf!21790
2024-04-12 08:57:10 +08:00
Wang Mengyang 1d9559cc9d change(bt): Rename linker script file names and symbol names
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-04-10 19:13:17 +08:00
Wang Mengyang 0aca5ec357 fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified
2024-04-10 19:13:17 +08:00
xuxiao ec872c0c81 fix(wifi): fix code review comments 2024-04-10 15:27:50 +08:00
xuxiao 27f61966cd feat(wifi): add esp32c5 beta3 wifi support 2024-04-10 14:09:40 +08:00
Wang Meng Yang 6b453b803f Merge branch 'feat/set_get_lpclk_src' into 'master'
feat(ble): Added API to get low power clock source

Closes BTQABR2023-133, BTQABR2023-163, BTQABR2023-182, BTQABR2023-179, and BTQABR2023-178

See merge request espressif/esp-idf!28997
2024-04-08 17:59:23 +08:00
xiongweichao 3d19c3db13 feat(ble): Added API to get low power clock source 2024-04-07 17:30:55 +08:00
chenjianhua ae95ad5958 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-03 17:56:21 +08:00
baohongde 4207909f5c feat(ble/controller): Add coexist schm for BLE 2024-03-26 14:44:46 +08:00
fl0wl0w 90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00