Commit Graph
100 Commits
Author SHA1 Message Date
Zhou Xiao ce8607ecf9 fix(ble): fixed hci event log when link layer logging is disabled
(cherry picked from commit 777f21783b)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-10-30 21:13:15 +08:00
Zhou Xiaoandzhaoweiliang 1282e1094e feat(ble): add priority level config on ESP32-C6
(cherry picked from commit 09337109b7)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-10-27 10:52:04 +08:00
Zhou Xiaoandzhaoweiliang 310f2c7b9a feat(ble): add priority level config on ESP32-H2
(cherry picked from commit 75f2b8d4a1)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-10-27 10:52:04 +08:00
Zhou Xiaoandcjin a446224e43 fix(ble): fix ble wakeup causes error on ESP32-C2
(cherry picked from commit 5407e36e4a)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-27 10:52:04 +08:00
Zhou Xiaoandcjin 660e55a99f fix(ble): fix ble wakeup causes error on ESP32-C6
(cherry picked from commit 4d1872c66d)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-27 10:52:04 +08:00
Zhou Xiaoandcjin 386b865308 fix(ble): fix ble wakeup causes error on ESP32-H2
(cherry picked from commit 5ff01bf027)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-27 10:52:04 +08:00
Zhou Xiao b9f9401a9b change(ble): [AUTO_MR] updated rom linker script for ESP32-C2
(cherry picked from commit 557b7bae2e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-10-27 10:52:04 +08:00
Zhou Xiao d2c8719bd5 change(ble): [AUTO_MR] Update lib_esp32c2 to 283861b8 2025-10-27 10:52:04 +08:00
Zhou Xiao 3a3c9ab97e change(ble): [AUTO_MR] Update lib_esp32c6 to a76948d4 2025-10-27 10:52:04 +08:00
Zhou Xiao c0613a9156 change(ble): [AUTO_MR] Update lib_esp32h2 to a76948d4 2025-10-27 10:52:04 +08:00
Zhou Xiao 4c627430ab fix(ble): copy acl data by omdata buffer copy
(cherry picked from commit 322eb33f0d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-10-13 09:13:48 +08:00
Zhou Xiao dbd6a69bca change(ble): [AUTO_MR] updated rom linker script for ESP32-C2
(cherry picked from commit 09a3b29d01)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-19 11:33:22 +08:00
Zhou Xiao 9426f8c276 change(ble): [AUTO_MR] Update lib_esp32c2 to 58398575
(cherry picked from commit a56e7df710)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-19 11:33:19 +08:00
Zhou Xiao 8f68334081 change(ble): [AUTO_MR] Update lib_esp32c6 to 390a8efd
(cherry picked from commit 26dcd59599)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-19 11:33:17 +08:00
Zhou Xiao 660ccc089e change(ble): [AUTO_MR] Update lib_esp32h2 to 390a8efd
(cherry picked from commit a7b87fe832)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-19 11:33:15 +08:00
Zhou Xiao fc5f66f0d5 fix(ble): fixed ble log config for ESP32-C3/ESP32-S3 2025-09-16 22:47:52 +08:00
Zhou Xiao b6be31309f feat(ble): supported ble log v2 for ESP32 2025-09-16 19:13:00 +08:00
Zhou Xiao 32cb69706b feat(ble): supported ble log v2 for ESP32-C3/ESP32-S3 2025-09-16 19:13:00 +08:00
Zhou Xiao b65ba9a601 feat(ble): supported ble log v2 for ESP32-C2 2025-09-16 19:13:00 +08:00
Zhou Xiao c943a88ee2 feat(ble): supported ble log v2 for ESP32-H2 2025-09-16 19:13:00 +08:00
Zhou Xiao c6e8c016e2 feat(ble): supported ble log v2 for ESP32-C6 2025-09-16 19:13:00 +08:00
Zhou Xiao 732358eebf fix(ble): fixed ble log v2 configuration issues 2025-09-16 19:13:00 +08:00
Zhou Xiao 0adb736e8f fix(ble): init return code in nimble example
* Closes https://github.com/espressif/esp-idf/issues/17547


(cherry picked from commit 916f87b333)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-10 21:13:34 +08:00
Zhou Xiao dddb7898ef feat(ble): support ble log uart dma out for ESP32-H2
(cherry picked from commit d45778f784)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-10 15:17:47 +08:00
Zhou Xiao 290a87781d feat(ble): support ble log uart dma out for ESP32-C6
(cherry picked from commit ae8a7c8117)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-10 15:17:47 +08:00
Zhou Xiao d177b7d78f feat(ble): support ble log uart dma out
(cherry picked from commit 534b43e85a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-10 15:17:46 +08:00
Zhou Xiao c06cb84c0c feat(ble): refactored ble log module with layered design
(cherry picked from commit 797a0c4e6eafaf6164e0f9c34f3867a46733924c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-01 13:13:43 +08:00
Zhou Xiaoandcjin 03f48ed829 feat(ble): support pawr feature in ble sdk on ESP32-H2
(cherry picked from commit 2f7e200fc8)

Co-authored-by: cjin <jinchen@espressif.com>
2025-08-19 13:14:34 +08:00
Zhou Xiaoandcjin 1b68ee2287 feat(ble): support pawr feature in ble sdk on ESP32-C6
(cherry picked from commit 410d904845)

Co-authored-by: cjin <jinchen@espressif.com>
2025-08-19 13:14:30 +08:00
Zhou Xiaoandcjin ba758fc764 feat(ble): add clk source freq change of ble slow clock on ESP32-H2
(cherry picked from commit cb60528f23)

Co-authored-by: cjin <jinchen@espressif.com>
2025-08-19 13:14:27 +08:00
Zhou Xiaoandcjin 4d10df602b feat(ble): add clk source freq change of ble slow clock on ESP32-C6
(cherry picked from commit b5ce766c7f)

Co-authored-by: cjin <jinchen@espressif.com>
2025-08-19 13:14:25 +08:00
Zhou Xiao fdea67236f change(ble): [AUTO_MR] Update lib_esp32c6 to 9492a0cb
(cherry picked from commit 236baa7585)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-19 13:14:22 +08:00
Zhou Xiao e535a8a938 change(ble): [AUTO_MR] Update lib_esp32h2 to 9492a0cb
(cherry picked from commit ea32d4cd18)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-19 13:14:20 +08:00
Zhou Xiao 4c8830809c fix(ble): disabled get lc ts for ESP32-C3 and ESP32-S3
(cherry picked from commit c17bf63874)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-14 11:14:03 +08:00
Zhou Xiao 83171aca21 feat(ble): ble log spi out dev phase 5
* supported ts sync for light sleep
* removed controller event queue dependency
* supported get lc ts for ESP32-C3/S3
* optimized ble log spi out code size


(cherry picked from commit f99389e00d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-30 13:14:33 +08:00
Zhou Xiaoandzwl d61e7c150c feat(ble): add flash only param config api on ESP32-H2
(cherry picked from commit 4c8258ca38)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-07-30 13:14:31 +08:00
Zhou Xiaoandzwl 521555079f feat(ble): add flash only param config api on ESP32-C6
(cherry picked from commit dc65875e57)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-07-30 13:14:28 +08:00
Zhou Xiao 07023d94d6 change(ble): [AUTO_MR] updated rom linker script for ESP32-C2
(cherry picked from commit ac6acf3629)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-30 13:14:26 +08:00
Zhou Xiao 563b2e0dc4 change(ble): [AUTO_MR] Update lib_esp32c2 to 4556045f
(cherry picked from commit 0a7660d0f3)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-30 13:14:23 +08:00
Zhou Xiao 88528d1162 change(ble): [AUTO_MR] Update lib_esp32c6 to 499c41fb
(cherry picked from commit f2741f1932)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-30 13:14:21 +08:00
Zhou Xiao 89512cdf0c change(ble): [AUTO_MR] Update lib_esp32h2 to 499c41fb
(cherry picked from commit ee48ef2167)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-30 13:14:18 +08:00
Zhou Xiao 815232ce12 fix(ble): updated rom linker script for ESP32-C2 2025-07-11 11:50:20 +08:00
Zhou Xiao e17f857cb0 change(ble): [AUTO_MR] Update lib_esp32c2 to c7732d48 2025-07-11 11:50:20 +08:00
Zhou Xiao c3806feb9e change(ble): [AUTO_MR] Update lib_esp32c6 to ca6c20bc 2025-07-11 11:50:20 +08:00
Zhou Xiao db928ed77d change(ble): [AUTO_MR] Update lib_esp32h2 to ca6c20bc 2025-07-11 11:38:18 +08:00
Zhou Xiao 87396ab0ce fix(ble): ensure ble controller disable safety for ESP32-C2 2025-07-10 22:47:41 +08:00
Zhou Xiao 243facef85 change(ble): upgraded spi log frame header
(cherry picked from commit 5f3ac91d63)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:31 +08:00
Zhou Xiao 7f5c88e27a fix(ble): nimble host & hci log write race condition workaround
(cherry picked from commit 6e384644c8)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:29 +08:00
Zhou Xiao ba406e871e change(ble): support task buffer number configuration
(cherry picked from commit 4946a1fe8d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:26 +08:00
Zhou Xiao deebad0bbe 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:15:24 +08:00
Zhou Xiao 2dacf4bb86 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:15:21 +08:00
Zhou Xiao 6dc7c032d1 change(ble): removed esp log to save code size
(cherry picked from commit 0088541f54)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:19 +08:00
Zhou Xiao b58dbc325f change(ble): enable hci log spi out for ESP chips
(cherry picked from commit c60dd1a10e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:17 +08:00
Zhou Xiao 275047b476 change(ble): enable bluedroid logs over debug level through spi output
(cherry picked from commit c0d2792b9d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:15 +08:00
Zhou Xiao 2351e02b21 feat(ble): support ble mesh log module
(cherry picked from commit 066e1d3f1b)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:12 +08:00
Zhou Xiao b073f02a05 feat(ble): support host & hci log module
(cherry picked from commit dd4cbe5e00)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:10 +08:00
Zhou Xiao d086865c1f change(ble): replaced ul log codes with template
(cherry picked from commit d353bf2802)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:07 +08:00
Zhou Xiao 1da626b0a7 change(ble): replaced le audio log codes with template
(cherry picked from commit feaee0a6fe)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:05 +08:00
Zhou Xiao db90e63884 change(ble): implemented log module template
(cherry picked from commit 8b2c176eff)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:03 +08:00
Zhou Xiao 23d4c90c6d change(ble): updated ble log spi out ts sync module
* use freertos ts instead of esp ts for better performance
* enable ts sync sleep support by default
* use esp ts as fallback of lc time getter


(cherry picked from commit 56e42be859)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:00 +08:00
Zhou Xiao 39e7147613 change(ble): [AUTO_MR] Update lib_esp32c2 to e865b4f9 2025-07-03 15:24:12 +08:00
Zhou Xiao ea7689c503 change(ble): [AUTO_MR] Update lib_esp32c6 to b8770ab2 2025-07-03 15:24:12 +08:00
Zhou Xiao 6dfaa7caec change(ble): [AUTO_MR] Update lib_esp32c5 to b8770ab2 2025-07-03 15:24:12 +08:00
Zhou Xiao 11b7dfabe2 change(ble): [AUTO_MR] Update lib_esp32h2 to b8770ab2 2025-07-03 15:24:12 +08:00
Zhou Xiao 2182760096 fix(ble): ensure internal malloc in ble log spi out
(cherry picked from commit d300617aa6)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-06-26 20:33:23 +08:00
Zhou Xiao c3c7164dc5 fix(ble): set timer handle to null after deletion
(cherry picked from commit 1614e71eb6)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-30 19:53:39 +08:00
Zhou Xiao a13ddd5c85 change(ble): make falling edge when disabling ts sync 2025-05-26 15:35:18 +08:00
Zhou Xiao e2742ca1f7 fix(ble): fixed spi log init failure return value for ESP32 2025-05-26 10:47:14 +08:00
Zhou Xiao d6cbc45350 fix(ble): fixed ts sync sleep support trigger 2025-05-23 19:13:00 +08:00
Zhou Xiao 279777aec8 fix(ble): fixed printf va list cross function pass failure 2025-05-23 12:29:46 +08:00
Zhou Xiao 10ec6c6f27 fix(ble): fixed upper layer trans append failure bug
(cherry picked from commit 1e6bc70837)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:09 +08:00
Zhou Xiao 772fa9b2c7 feat(ble): support ts sync for sleep app
(cherry picked from commit e10460ce14)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:07 +08:00
Zhou Xiao 1bde1985ff feat(ble): support controller raw log print out
(cherry picked from commit ed09e97c66)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:05 +08:00
Zhou Xiao 1ddc2a69c1 feat(ble): refactored loss report module and represent frame using struct
(cherry picked from commit 9800d715a5)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:02 +08:00
Zhou Xiao eb73902c9c feat(ble): support le audio log buffer separation
(cherry picked from commit cd3aa6527c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:00 +08:00
Zhou Xiao 7298a27121 feat(ble): optimized printf functions code size and speed
(cherry picked from commit e4be25ba63)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:57 +08:00
Zhou Xiao c690670f65 feat(ble): refactored flush module and provided public flush api
(cherry picked from commit 70792443c7)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:55 +08:00
Zhou Xiao 1cc5a41322 feat(ble): refactored ll isr buffer append and buffer flush using event handler
(cherry picked from commit bba90309e7)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:52 +08:00
Zhou Xiao 4f1e4cc83b feat(ble): provided dynamic spi enable/disable api
(cherry picked from commit 3568f19fef)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:50 +08:00
Zhou Xiao bfdc8f3924 feat(ble): support hci log buffer separation
(cherry picked from commit 16a3b2c71b)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:47 +08:00
Zhou Xiao 25cd0ef51a feat(ble): optimized macros readability
(cherry picked from commit f8699785e9)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:45 +08:00
Zhou Xiao 1771685866 feat(ble): Improved SPI BLE Log functionality
* Added checksum for every frame
* Added SPI slave transaction interval workaround
* Added SPI tx done isr issue workaround
* Turned buffer flush to a menuconfig and disabled by default
* Modified packet loss write operation and trigger condition
* Optimized buffer append efficiency for controller ISR


(cherry picked from commit 243705c143)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-25 14:53:46 +08:00
Zhou Xiao 9ef1c15bba fix(ble): remove null pointer assert in npl event deinit
(cherry picked from commit ece108c0bf)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:56 +08:00
Zhou Xiao 75343d25d0 change(ble): bugs fixed on spi ble log
* removed spi master in iram select for flash only firmware
* fixed memory issue in transaction init function
* fixed memory issue in transaction deinit function


(cherry picked from commit 7c3b9fa56f)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:54 +08:00
Zhou Xiaoandcjin 46b786d79a feat(ble): support configurable rxbuf opt feat on ESP32-C6
(cherry picked from commit 5fbbec8655)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:52 +08:00
Zhou Xiaoandcjin e90390a90a feat(ble): support configurable rxbuf opt feat on ESP32-H2
(cherry picked from commit 4937d3c883)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:49 +08:00
Zhou Xiaoandcjin 0cc6e2bb36 feat(ble): use new section for ble sleep on ESP32-C2
(cherry picked from commit ce4e012c8b)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:47 +08:00
Zhou Xiao ebef86f435 change(ble): [AUTO_MR] Update lib_esp32c2 to fca2b9ea
(cherry picked from commit 09467baed0)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:45 +08:00
Zhou Xiao 6836bd9870 change(ble): [AUTO_MR] Update lib_esp32c6 to 76549818
(cherry picked from commit e2d1a5509e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:43 +08:00
Zhou Xiao eecf74a7c9 change(ble): [AUTO_MR] Update lib_esp32h2 to 76549818
(cherry picked from commit c11bb1ddd0)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:41 +08:00
Zhou Xiao e3e91deca2 fix(ble): fix ble log init failure mem leak for ESP32-C3 2025-04-02 15:18:22 +08:00
Zhou Xiao 94480cc0c0 feat(ble): support ble log simple output via SPI interface 2025-04-02 15:18:18 +08:00
Zhou Xiao 18725220d4 fix(ble): fix ble log init failure mem leak for ESP32 2025-04-02 15:18:18 +08:00
Zhou Xiao b7bffc84f9 feat(ble): support ble log simple output via SPI interface for ESP32-C6 2025-04-02 15:18:17 +08:00
Zhou Xiao 8e036761ed feat(ble): support ble log simple output via SPI interface for ESP32-C5 2025-04-02 15:18:17 +08:00
Zhou Xiao 9a3b5e8393 feat(ble): support ble log simple output via SPI interface for ESP32-H2 2025-04-02 15:18:17 +08:00
Zhou Xiao 8eb051cb30 feat(ble): support ble log simple output via SPI interface for ESP32-C2 2025-04-02 15:18:17 +08:00
Zhou Xiao cda345ffc7 fix(ble): add feed wdts during ble log dump for ESP32-C2 2025-04-02 15:18:17 +08:00
Zhou Xiao 3051078939 fix(ble): fix flushout and sync issues 2025-04-02 15:18:17 +08:00
Zhou Xiao 41a33fcd46 feat(ble): add printf and write with timestamp interface for ble log spi out
(cherry picked from commit f8efa4cd80)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-02 15:18:17 +08:00