Commit Graph

151 Commits

Author SHA1 Message Date
Zhou Xiao
f67f2add6e fix(ble): fixed ble log v2 configuration issues 2025-09-26 16:23:09 +08:00
Zhou Xiao
aaa000356e feat(ble): support ble log uart dma out
(cherry picked from commit 534b43e85a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-25 18:19:44 +08:00
yangfeng
ad6d40de2d fix(bt/btc): Fix array compared against 0 in btc_manage.c 2025-09-22 14:20:01 +08:00
Zhou Xiao
42cbd032b0 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:26 +08:00
Chen Jian Hua
c00e36c68f feat(bt/blufi): Support Blufi start advertising with specified name
(cherry picked from commit ea8bcdc360)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-18 14:54:36 +08:00
Zhou Xiao
c15a67431d 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:13:48 +08:00
Zhou Xiao
c9877cda33 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:13:34 +08:00
Rahul Tank
4729db64ec fix(nimble): Enhanced HCI logging by adding timestamp information 2025-07-17 10:20:24 +05:30
Rahul Tank
80813126e3 fix(nimble): Add a way to make blufi advertising customizable
Based on changes in https://github.com/espressif/esp-idf/pull/8958
2025-07-11 15:31:44 +05:30
Zhou Xiao
3436946fb8 change(ble): upgraded spi log frame header 2025-07-08 23:06:55 +08:00
Zhou Xiao
b83ceaedbd fix(ble): nimble host & hci log write race condition workaround 2025-07-08 23:06:55 +08:00
Zhou Xiao
b69514f72a change(ble): support task buffer number configuration 2025-07-08 23:06:55 +08:00
Zhou Xiao
0012f5c1b1 change(ble): removed esp log to save code size 2025-07-08 23:06:55 +08:00
Zhou Xiao
b078a02379 feat(ble): support ble mesh log module 2025-07-08 23:06:55 +08:00
Zhou Xiao
f15fce7756 feat(ble): support host & hci log module 2025-07-08 23:06:49 +08:00
Zhou Xiao
0ff7adc9e4 change(ble): replaced ul log codes with template 2025-07-08 23:05:25 +08:00
Zhou Xiao
1c62781c7a change(ble): replaced le audio log codes with template 2025-07-08 23:05:25 +08:00
Zhou Xiao
32ba5eab27 change(ble): implemented log module template 2025-07-08 23:05:25 +08:00
Zhou Xiao
12f2be95df 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
2025-07-08 23:05:25 +08:00
Jiang Jiang Jian
651f1e86e4 Merge branch 'bugfix/ag_data_callback_cleared_after_deinit_v5.1' into 'release/v5.1'
fix(bt): Fixed HFP AG data callback cleared after profile is re-initialized (v5.1)

See merge request espressif/esp-idf!39977
2025-07-08 10:46:35 +08:00
Zhou Xiao
b4273a5786 fix(ble): ensure internal malloc in ble log spi out 2025-06-30 10:33:42 +08:00
Wang Mengyang
7faee53006 fix(bt): Fixed HFP AG data callback cleared after profile is re-initialized 2025-06-19 07:31:19 +08:00
Zhou Xiao
3bcd45c7f6 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:23 +08:00
Zhou Xiao
69deacb409 change(ble): make falling edge when disabling ts sync 2025-05-26 15:34:38 +08:00
Zhou Xiao
7e200918b3 fix(ble): fixed ts sync sleep support trigger 2025-05-23 19:12:21 +08:00
Zhou Xiao
370bea02e6 fix(ble): fixed printf va list cross function pass failure 2025-05-23 12:31:17 +08:00
Zhou Xiao
e3d1471888 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:53:41 +08:00
Zhou Xiao
444b827a28 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:53:38 +08:00
Zhou Xiao
a63c502ab4 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:53:36 +08:00
Zhou Xiao
2a2111cb57 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:53:34 +08:00
Zhou Xiao
b0fa5ce3d2 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:53:31 +08:00
Zhou Xiao
0c7839959a 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:53:29 +08:00
Zhou Xiao
569634d9ab 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:53:27 +08:00
Zhou Xiao
29ba6abb7a 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:53:25 +08:00
Zhou Xiao
41c21b1fb5 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:53:22 +08:00
Zhou Xiao
c2802d567c feat(ble): support hci log buffer separation
(cherry picked from commit 16a3b2c71b)

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

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:53:17 +08:00
Rahul Tank
b7ea11891e Merge branch 'bugfix/blufi_add_missing_adv_stop_v5.1' into 'release/v5.1'
fix(nimble): Added code for missing adv stop in blufi (v5.1)

See merge request espressif/esp-idf!38721
2025-04-28 19:20:09 +08:00
Zhou Xiao
a0cdfa4114 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:30 +08:00
Rahul Tank
802f7003c4 fix(nimble): Added code for missing adv stop in blufi 2025-04-24 14:43:52 +05:30
Zhang Hai Peng
8a491e230f fix(ble/bluedroid): Fixed BLE crash when disable bluedroid host
(cherry picked from commit 9dfa6ab0e9)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-04-21 16:31:34 +08:00
Zhou Xiao
180b44ce16 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
2025-04-17 13:40:45 +08:00
xiongweichao
4899b56359 feat(bt): Add API to get profile status 2025-04-09 14:18:17 +08:00
Zhou Xiao
0eed404ef2 feat(ble): support ble log simple output via SPI interface 2025-03-19 19:29:56 +08:00
Shen Weilong
5c8b66f314 feat(bt): support hardware ecc acceleration for bt tinycrypt 2025-03-13 17:26:31 +08:00
Shen Weilong
8d57c19015 change(bt): moved porting/ext/tinycrypt into common 2025-03-10 09:10:58 +08:00
Jiang Jiang Jian
cfc64c7299 Merge branch 'bugfix/ifdef_cplusplus_bracket_v5.1' into 'release/v5.1'
bugfix(wifi): Add missing brackets in the C++ guard (Backport v5.1)

See merge request espressif/esp-idf!36848
2025-02-28 11:53:00 +08:00
Island
392c30314f Merge branch 'feat/add_ble_spi_log_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Support SPI log output options for HCI (v5.1)

See merge request espressif/esp-idf!37338
2025-02-27 20:18:02 +08:00
akshat
e4ed53d412 bugfix(wifi): Add missing brackets in the C++ guard
Closes https://github.com/espressif/esp-idf/issues/14991
2025-02-27 15:52:10 +08:00
Zhou Xiao
84a7fe240c fix(ble): fix flushout and sync issues 2025-02-27 13:12:02 +08:00