Commit Graph

169 Commits

Author SHA1 Message Date
Jiang Jiang Jian f9ce2bf598 Merge branch 'bugfix/make_blufi_adv_custom_v5.5' into 'release/v5.5'
feat(nimble): Add a way to make blufi advertising customizable (v5.5)

See merge request espressif/esp-idf!40529
2025-07-23 10:50:13 +08:00
Jiang Jiang Jian 9f523adfe9 Merge branch 'feat/add_timestamp_v5.5' into 'release/v5.5'
fix(nimble): Enhanced HCI logging by adding timestamp information (v5.5)

See merge request espressif/esp-idf!40633
2025-07-22 17:50:47 +08:00
Island 338dc154dc Merge branch 'feat/ble_log_spi_out_dev_phase_4_v5.5' into 'release/v5.5'
BLE Log SPI Out Dev Phase 4 (v5.5)

See merge request espressif/esp-idf!40426
2025-07-22 15:16:00 +08:00
Jiang Jiang Jian 9c2e03ba74 Merge branch 'bugfix/ag_data_callback_cleared_after_deinit_v5.5' into 'release/v5.5'
fix(bt): Fixed HFP AG data callback cleared after profile is re-initialized (v5.5)

See merge request espressif/esp-idf!39973
2025-07-22 14:46:15 +08:00
Rahul Tank 8d5203d4ae fix(nimble): Add a way to make blufi advertising customizable
Based on changes in https://github.com/espressif/esp-idf/pull/8958
2025-07-22 12:03:11 +05:30
Rahul Tank 34a7996314 fix(nimble): Enhanced HCI logging by adding timestamp information 2025-07-17 10:18:30 +05:30
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
Wang Mengyang 8521ce42c3 fix(bt): Fixed HFP AG data callback cleared after profile is re-initialized 2025-06-19 07:18:58 +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
Rahul Tank b20122ca4c Merge branch 'bugfix/blufi_add_missing_adv_stop' into 'master'
fix(nimble): Added code for missing adv stop in blufi

Closes FCS-1701

See merge request espressif/esp-idf!38211
2025-04-28 19:19:06 +08:00
Rahul Tank a13019bc94 fix(nimble): Added code for missing adv stop in blufi 2025-04-24 17:05:11 +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
xiongweichao 1a6c9d7c15 feat(bt): Add API to get profile status 2025-04-01 16:14:19 +08:00
zhanghaipeng 9dfa6ab0e9 fix(ble/bluedroid): Fixed BLE crash when disable bluedroid host 2025-03-27 16:59:12 +08:00
zhiweijian fcad8b7ebd feat(bt/bluedroid): Support BLE CTE in bluedroid host 2025-03-19 14:53:13 +08:00
zhiweijian 7128087646 feat(bt/bluedroid): Support BLE iso in bluedroid host 2025-03-19 14:53:13 +08:00
Zhou Xiao 5215284a9d feat(ble): support ble log simple output via SPI interface 2025-03-17 10:44:21 +08:00
Shen Weilong ca6211bb46 feat(bt): support hardware ecc acceleration for bt tinycrypt 2025-03-06 16:20:13 +08:00
Shen Weilong 424d4b8938 change(bt): moved porting/ext/tinycrypt into common 2025-03-06 16:20:12 +08:00
Island 371c7edb22 Merge branch 'dev/ble_log_spi_output' into 'master'
fix(ble): fix flushout and sync issues

See merge request espressif/esp-idf!37282
2025-02-26 23:00:40 +08:00
Zhou Xiao b144337020 fix(ble): fix flushout and sync issues 2025-02-26 12:27:22 +08:00
zwl 5b8ac71ace fix(ble): fixed common kconfig error when controller enable only 2025-02-26 10:37:35 +08:00
zhanghaipeng b6903296ad fix(ble/bluedroid): Added SPI output support for Bluedroid host log 2025-02-23 17:23:54 +08:00
zhanghaipeng e00ba3cbd1 fix(ble/bluedroid): Support SPI log output options for HCI 2025-02-23 11:46:47 +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