Commit Graph

34 Commits

Author SHA1 Message Date
Zhou Xiao e9f096a079 change(ble): upgraded spi log frame header
(cherry picked from commit 5f3ac91d6305eb4daecc340fe669a13fe3d1daad)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:16:09 +08:00
Zhou Xiao 9e286cb5c3 fix(ble): nimble host & hci log write race condition workaround
(cherry picked from commit 6e384644c86acf450edaf0016826f910c99c7682)

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

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:16:04 +08:00
Zhou Xiao 1d0be054ec change(ble): removed esp log to save code size
(cherry picked from commit 0088541f543158ff1fc7b6173f004a90efd4042f)

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

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

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

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

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

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:39 +08:00
Zhou Xiao 79f8537eb2 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 56e42be85954bf737cd11fbc7bbbb2300750b64b)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:37 +08:00
Zhou Xiao aae5e12d77 fix(ble): ensure internal malloc in ble log spi out
(cherry picked from commit d300617aa65938c54b3a77ed84dd456fd93a450d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-06-26 20:33:29 +08:00
Zhou Xiao a2cd564044 fix(ble): set timer handle to null after deletion 2025-05-30 22:37:55 +08:00
Zhou Xiao 6687749fae change(ble): make falling edge when disabling ts sync 2025-05-26 15:35:29 +08:00
Zhou Xiao 80c92bae34 fix(ble): fixed ts sync sleep support trigger 2025-05-23 19:13:12 +08:00
Zhou Xiao 0904640409 fix(ble): fixed printf va list cross function pass failure 2025-05-23 12:31:55 +08:00
Zhou Xiao 1c81d11ec3 fix(ble): fixed upper layer trans append failure bug
(cherry picked from commit 1e6bc70837410ffe7c09a77f8793d16ef042158d)

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

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

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

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

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

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

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

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

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:19 +08:00
Zhou Xiao 0e59feac9d feat(ble): support hci log buffer separation
(cherry picked from commit 16a3b2c71bb4a777f72da9a67598430d816e5e38)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:17 +08:00
Zhou Xiao c0f77d8993 feat(ble): optimized macros readability
(cherry picked from commit f8699785e9d177e9de6b9b1db73dab533f1e5bb3)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:15 +08:00
Zhou Xiao 243705c143 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
2025-04-24 12:21:59 +08:00
Zhou Xiao 7c3b9fa56f 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-16 14:36:48 +08:00
Zhou Xiao 5215284a9d feat(ble): support ble log simple output via SPI interface 2025-03-17 10:44:21 +08:00
Zhou Xiao b144337020 fix(ble): fix flushout and sync issues 2025-02-26 12:27:22 +08:00
zhanghaipeng b6903296ad fix(ble/bluedroid): Added SPI output support for Bluedroid host log 2025-02-23 17:23:54 +08:00
Zhou Xiao f8efa4cd80 feat(ble): add printf and write with timestamp interface for ble log spi out 2025-02-20 17:21:52 +08:00
Zhou Xiao 2221133ba8 feat(ble): improved ble log spi output interface to support multisource log 2025-02-18 14:21:33 +08:00
Zhou Xiao 52106c9895 feat(ble): add spi output interface for esp ble controller log 2025-02-11 11:59:59 +08:00