Commit Graph

184 Commits

Author SHA1 Message Date
Rahul Tank 025e5f2d99 Merge branch 'bugfix/update_hci_log_datalen_v5.5' into 'release/v5.5'
fix(nimble): update HCI log functions to use uint16_t for data length (v5.5)

See merge request espressif/esp-idf!42297
2025-10-16 17:39:04 +05:30
Zhao Wei Liang 731ff4bcf7 feat(ble): add get used mem api
(cherry picked from commit 149f6c56b3b77a380086c66c7d6f3022f7bafab6)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-10-16 10:11:06 +08:00
Zhou Xiao dec62e60f4 fix(ble): copy acl data by omdata buffer copy
(cherry picked from commit 322eb33f0d19a7abdd8d430c6e742224fe3274f5)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-10-13 09:13:53 +08:00
Shreeyash cfc05166c0 fix(nimble): update HCI log functions to use uint16_t for data length 2025-10-13 00:08:54 +08:00
Wang Meng Yang cda5d90ad1 Merge branch 'bugfix/fix_bt_coverity_v5.5' into 'release/v5.5'
bugfix: Fix array compared against 0 in btc_manage.c and the issue of uninitialized pointer reading in coexist_printf (v5.5)

See merge request espressif/esp-idf!42066
2025-09-24 17:52:00 +08:00
yangfeng c2c23e620a fix(bt/btc): Fix array compared against 0 in btc_manage.c 2025-09-22 11:49:31 +08:00
luoxu 2d2ec6c34e feat(ble): Support ble log compression(draft) 2025-09-22 00:05:02 +08:00
Zhou Xiao bc5b61b56c fix(ble): fixed ble log v2 configuration issues 2025-09-16 19:07:45 +08:00
Island 6b7d55aeba Merge branch 'feat/support_blufi_adv_with_name_v5.5' into 'release/v5.5'
feat(bt/blufi): Support Blufi start advertising with specified name (v5.5)

See merge request espressif/esp-idf!41338
2025-09-04 12:02:40 +08:00
Zhou Xiao 8f6e654773 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:49 +08:00
Chen Jian Hua 272e652b45 feat(bt/blufi): Support Blufi start advertising with specified name
(cherry picked from commit ea8bcdc360b2c2d2caee8e48fe3161f42605545a)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-18 14:54:58 +08:00
Zhou Xiao 1b48a697c4 fix(ble): disabled get lc ts for ESP32-C3 and ESP32-S3
(cherry picked from commit c17bf638744dec55292d1128854f69159c8d84b4)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-14 11:14:08 +08:00
Jiang Jiang Jian 7704a9e93e Merge branch 'change/ble_update_lib_20250728_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20250728 - Update ESP BLE Controller Lib (v5.5)

See merge request espressif/esp-idf!40912
2025-08-01 10:37:34 +08:00
Zhou Xiao 1665cac638 feat(ble): support ble log uart dma out 2025-07-30 17:39:01 +08:00
Zhou Xiao 0421e10396 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 f99389e00da1c12971e654037ed009bb172331c9)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-30 13:14:58 +08:00
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