Commit Graph
186 Commits
Author SHA1 Message Date
Zhou Xiao a721da97a4 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:14 +08:00
Jiang Jiang Jian 366f35b4d6 Merge branch 'bugfix/fix_bt_coverity_v5.3' into 'release/v5.3'
bugfix: Fix array compared against 0 in btc_manage.c and the issue of uninitialized pointer reading in coexist_printf (v5.3)

See merge request espressif/esp-idf!42068
2025-10-20 19:24:03 +08:00
yangfeng cc935d0440 fix(bt/btc): Fix array compared against 0 in btc_manage.c 2025-10-20 10:46:13 +08:00
Island 355a225ac6 Merge branch 'feat/esp32c2_add_get_used_heap_size_v5.3' into 'release/v5.3'
Feat/esp32c2 add get used heap size (v5.3)

See merge request espressif/esp-idf!42618
2025-10-16 19:48:18 +08:00
Zhao Wei Liang c1cf60d03f feat(ble): add get used mem api
(cherry picked from commit 149f6c56b3)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-10-16 10:10:44 +08:00
luoxu 1d13b38d42 feat(ble): Support ble log compression(draft) 2025-10-15 16:55:11 +08:00
Zhou Xiao 385661ad11 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:42 +08:00
Shreeyash f4ccbb64ae fix(nimble): update HCI log functions to use uint16_t for data length 2025-10-01 15:26:48 +05:30
Zhou Xiao 434bdaeede fix(ble): fixed ble log v2 configuration issues 2025-09-16 19:13:32 +08:00
Zhou Xiao 3cc42807f9 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:16:55 +08:00
Zhou Xiao 347cf6cfc1 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:37 +08:00
Island f68a474a38 Merge branch 'change/ble_update_lib_20250728_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20250728 - Update ESP BLE Controller Lib (v5.3)

See merge request espressif/esp-idf!40910
2025-08-22 11:04:52 +08:00
Chen Jian Hua 982c84d0fa 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:47 +08:00
Zhou Xiao ec263a7de0 feat(ble): ble log spi out dev phase 5
* supported ts sync for light sleep
* removed controller event queue dependency
* optimized ble log spi out code size

(cherry picked from commit f99389e00d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-14 11:19:29 +08:00
Jiang Jiang Jian 2138198e1a Merge branch 'feat/add_timestamp_v5.3' into 'release/v5.3'
fix(nimble): Enhanced HCI logging by adding timestamp information (v5.3)

See merge request espressif/esp-idf!40635
2025-07-18 14:36:57 +08:00
Jiang Jiang Jian 9d031f25fb Merge branch 'bugfix/make_blufi_adv_custom_v5.3' into 'release/v5.3'
feat(nimble): Add a way to make blufi advertising customizable (v5.3)

See merge request espressif/esp-idf!40531
2025-07-18 14:33:01 +08:00
Rahul Tank 540935cd72 fix(nimble): Enhanced HCI logging by adding timestamp information 2025-07-17 10:19:30 +05:30
Rahul Tank c05b43a907 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:30:14 +05:30
Zhou Xiao c71c773b56 change(ble): upgraded spi log frame header
(cherry picked from commit 5f3ac91d63)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:14:54 +08:00
Zhou Xiao 44e22612c4 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:14:52 +08:00
Zhou Xiao 63ef4e46a9 change(ble): support task buffer number configuration
(cherry picked from commit 4946a1fe8d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:14:50 +08:00
Zhou Xiao 62af3ef98c 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:14:43 +08:00
Zhou Xiao f8f78642a8 feat(ble): support ble mesh log module
(cherry picked from commit 066e1d3f1b)

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

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:14:34 +08:00
Zhou Xiao 91dfe4b75f 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:14:31 +08:00
Zhou Xiao ad8f75b984 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:14:29 +08:00
Zhou Xiao 77ad9c0311 change(ble): implemented log module template
(cherry picked from commit 8b2c176eff)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:14:26 +08:00
Zhou Xiao c4ebf09077 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:14:24 +08:00
Zhou Xiao b1a7241a8a fix(ble): ensure internal malloc in ble log spi out 2025-06-30 10:32:37 +08:00
Wang Mengyang c71431df1b fix(bt): Fixed HFP AG data callback cleared after profile is re-initialized 2025-06-19 07:30:45 +08:00
Zhou Xiao 75c85605df 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:33 +08:00
Island 4e7e58f458 Merge branch 'fix/ble_mesh_micellaneous_update_v5.3' into 'release/v5.3'
Fix/ble mesh micellaneous update v5.3

See merge request espressif/esp-idf!39461
2025-05-28 10:37:40 +08:00
luoxu 6ff7b65c34 feat(ble_mesh): Remote Provisioning Server UUID Matchs Supported 2025-05-27 15:31:31 +08:00
Zhou Xiao 154c162d99 change(ble): make falling edge when disabling ts sync 2025-05-26 15:35:07 +08:00
Zhou Xiao 098d0a1e5f fix(ble): fixed ts sync sleep support trigger 2025-05-23 19:12:45 +08:00
Zhou Xiao 5872bf889f fix(ble): fixed printf va list cross function pass failure 2025-05-23 12:31:42 +08:00
Zhou Xiao afbbf72002 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:54:39 +08:00
Zhou Xiao 3105d10cbb 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:54:37 +08:00
Zhou Xiao 16383af1ae 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:54:35 +08:00
Zhou Xiao 91ce842f01 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:54:32 +08:00
Zhou Xiao cc4744cffd 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:54:30 +08:00
Zhou Xiao fb0bb82e1a 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:28 +08:00
Zhou Xiao 4e8e6b7920 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:25 +08:00
Zhou Xiao b9a06476f1 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:23 +08:00
Zhou Xiao ac35a6e8f2 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:20 +08:00
Zhou Xiao 5558bef466 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:18 +08:00
Zhou Xiao 43dfe06c05 feat(ble): optimized macros readability
(cherry picked from commit f8699785e9)

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

See merge request espressif/esp-idf!38719
2025-04-28 19:19:43 +08:00
Zhou Xiao ca8689dfdc 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:41 +08:00
Rahul Tank cc455c05d2 fix(nimble): Added code for missing adv stop in blufi 2025-04-24 14:22:11 +05:30