Commit Graph

216 Commits

Author SHA1 Message Date
Island
5d7bb9d2c4 Merge branch 'feat/ble_log_hci_log_len_limit_support_v5.4' into 'release/v5.4'
Feat/ble log hci log len limit support (v5.4)

See merge request espressif/esp-idf!45147
2026-01-16 19:04:15 +08:00
Island
142ab2e0dd Merge branch 'feat/support_blecrt_515_v5.4' into 'release/v5.4'
feat(bt/bluedroid): Support get allocated heap size (v5.4)

See merge request espressif/esp-idf!44862
2026-01-16 14:19:05 +08:00
Zhou Xiao
8b74be435d feat(ble): added sdkconfig to control ble host side hci log
(cherry picked from commit 52c2bd2dd6)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 17:13:23 +08:00
Zhou Xiao
f532282c48 feat(ble): support ll log payload length limit for ble log v2
(cherry picked from commit 82ee820cf8)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 17:13:22 +08:00
Zhou Xiao
6c7d42d6e2 change(ble): optimized os_mbuf_copydata thread safety protection
(cherry picked from commit 52754b1aa4)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 17:13:22 +08:00
Zhang Hai Peng
1b19f6487f fix(bt/osi): add NULL check in osi_mutex_free and osi_sem_free (IDFGH-16853)
(cherry picked from commit 8630040602)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
Chen Jian Hua
874629ed12 feat(bt/bluedroid): Support get allocated heap size
(cherry picked from commit b85771d577)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2026-01-07 16:47:08 +08:00
zhiweijian
763cd641dc feat(ble/bluedroid): Move the TinyCrypt and mbedTLS configuration items to the bt common path 2026-01-06 20:43:09 +08:00
Zhou Xiao
d7fe5c6eef fix(ble): fixed cache error risk in ble log module 2026-01-05 14:21:22 +08:00
Zhou Xiao
ca9c812d30 feat(ble): provide isr dispatch method option for ble log ts 2026-01-05 14:21:18 +08:00
Zhou Xiao
41dfbbcda3 fix(ble): add esp timer trigger back for timestamp synchronization
(cherry picked from commit d1a5804de9)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-12-30 17:13:40 +08:00
Zhou Xiao
865c44d5e5 fix(ble): added null pointer check in ble log ts submodule
(cherry picked from commit 2b9c7471d0)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-12-24 17:05:02 +08:00
Zhou Xiao
3107a5781e fix(ble): added missed ts sync reset
(cherry picked from commit d1d07eb60a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-12-24 17:05:01 +08:00
Zhou Xiao
e75927ba0c feat(ble): added xor checksum for integrity check performance optimization
(cherry picked from commit c604afa272)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-12-24 17:05:01 +08:00
Island
40137177ac Merge branch 'fix/ble_log_v2_dual_core_iwt_v5.4' into 'release/v5.4'
fix(ble): added missed spin lock initialization (v5.4)

See merge request espressif/esp-idf!44380
2025-12-19 15:10:51 +08:00
Zhou Xiao
7ea4ce9e00 fix(ble): added missed spin lock initialization
(cherry picked from commit 069262e513)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-12-18 17:13:37 +08:00
luoxu
84d7f85fdd feat(ble_mesh): dfd client/server supported 2025-12-18 16:28:29 +08:00
luoxu
eebead3c3f fix(bt): Fixed the issue of duplicate MAX macro definitions 2025-12-18 16:15:44 +08:00
luoxu
01e214c0a5 feat(ble_mesh): Adapt DFU/MBT to esp-idf 2025-12-18 16:15:44 +08:00
Jin Chen
38ba5e030b fix(ble): fix hci log malloc failure crash
(cherry picked from commit 734031311ad8554b600718bf8add68836121f72b)

Co-authored-by: cjin <jinchen@espressif.com>
2025-12-11 14:16:33 +08:00
Zhou Xiao
9405cb9740 feat(ble): enabled lc get time for ceva controller
(cherry picked from commit 6924b8b372)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-12-01 11:10:33 +08:00
Zhou Xiao
5917afad65 fix(ble): put ble_log_write_hex in iram to avoid cache error
(cherry picked from commit dc4e41fab8)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-12-01 11:10:32 +08:00
Luo Xu
9ec28bdab4 refactor(ble): modularize compressed log scripts for better maintainability
(cherry picked from commit 0cf6f50179)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-11-30 11:38:57 +08:00
chenjianhua
81bd945d02 fix(bt/bluedroid): Fixed memory debug error 2025-11-21 13:29:55 +08:00
chenjianhua
adb4cab44a feat(ble/bluedroid): Add more debug log for bluedroid 2025-11-21 13:29:44 +08:00
Island
bd11845900 Merge branch 'opt/opt_ble_log_v5.4' into 'release/v5.4'
feat(ble/bluedroid): Added BLE debug LOG for bluedroid (v5.4)

See merge request espressif/esp-idf!42269
2025-11-18 13:52:00 +08:00
Wang Meng Yang
5d1bfef29c Merge branch 'bugfix/oob_in_bta_dm_sdp_result_v5.4' into 'release/v5.4'
fix(bt/blurdoird): fixed an OOB write in bta_dm_sdp_result (v5.4)

See merge request espressif/esp-idf!43204
2025-11-14 17:55:37 +08:00
zhanghaipeng
dd5e7a2a83 feat(ble/bluedroid): Added BLE debug LOG for bluedroid 2025-11-14 11:16:22 +08:00
liqigan
06dda85aba fix(bt/bluedroid): Fixed HID memory leak 2025-11-13 17:44:23 +08:00
Zhou Xiao
186b366e19 fix(ble): increase default ble log stack size for xtensa chips
(cherry picked from commit 3e0d005987)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-11-12 17:13:55 +08:00
Jin Cheng
3286e45349 fix(bt/blurdoird): fixed an OOB write in bta_dm_sdp_result 2025-11-10 17:07:07 +08:00
Chen Jian Hua
851b8a5ecc feat(ble): make ble log task stack size configurable
(cherry picked from commit b525e6555b)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-11-05 13:33:22 +08:00
Chen Jian Hua
49d709860c feat(ble): Enable get bt ts for ESP32-C3 and ESP32-S3
(cherry picked from commit b870a8fb5a)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-11-05 13:33:21 +08:00
Zhou Xiao
ce8607ecf9 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:15 +08:00
Island
89c0c28364 Merge branch 'feat/ble_log_v2_with_log_compression_v5.4' into 'release/v5.4'
Feat/ble log v2 with log compression (v5.4)

See merge request espressif/esp-idf!41896
2025-10-27 18:02:38 +08:00
Wang Meng Yang
f31d306a73 Merge branch 'bugfix/fix_bt_coverity_v5.4' into 'release/v5.4'
bugfix: Fix array compared against 0 in btc_manage.c and the issue of uninitialized pointer reading in coexist_printf (v5.4)

See merge request espressif/esp-idf!42067
2025-10-27 15:01:09 +08:00
Island
bacfc017c5 Merge branch 'feat/esp32c2_add_get_used_heap_size_v5.4' into 'release/v5.4'
Feat/esp32c2 add get used heap size (v5.4)

See merge request espressif/esp-idf!42619
2025-10-27 10:51:03 +08:00
Island
c98be30a3a Merge branch 'fix/ble_log_acl_data_copy_v5.4' into 'release/v5.4'
fix(ble): copy acl data by omdata buffer copy (v5.4)

See merge request espressif/esp-idf!42525
2025-10-27 10:37:36 +08:00
Shreeyash
f6a465cb99 fix(nimble): update HCI log functions to use uint16_t for data length 2025-10-21 11:21:51 +05:30
yangfeng
bfcfa0b9aa fix(bt/btc): Fix array compared against 0 in btc_manage.c 2025-10-20 11:02:20 +08:00
Zhao Wei Liang
b870d7c1e8 feat(ble): add get used mem api
(cherry picked from commit 149f6c56b3)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-10-16 10:10:54 +08:00
luoxu
177dd7d655 feat(ble): Support ble log compression(draft) 2025-10-15 16:52:02 +08:00
Zhou Xiao
4c627430ab 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:48 +08:00
Zhou Xiao
732358eebf fix(ble): fixed ble log v2 configuration issues 2025-09-16 19:13:00 +08:00
Zhou Xiao
d177b7d78f 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:17:46 +08:00
Zhou Xiao
c06cb84c0c 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:43 +08:00
Chen Jian Hua
b130c3f309 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:53 +08:00
Zhou Xiao
4c8830809c 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:14:03 +08:00
Zhou Xiao
83171aca21 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:14:33 +08:00
Rahul Tank
8c5e5fa3f3 fix(nimble): Enhanced HCI logging by adding timestamp information 2025-07-17 10:19:00 +05:30