fix(ble): fix Bluedroid log compression for newly added modules

(cherry picked from commit 8d4f1cb608)

Co-authored-by: luoxu <luoxu@espressif.com>
This commit is contained in:
Luo Xu
2026-06-22 17:43:36 +08:00
parent efd98f4782
commit d29f5461f8
2 changed files with 17 additions and 1 deletions

View File

@@ -293,7 +293,7 @@ class LogCompressor:
logs.append(log_info)
except Exception as e:
LOGGER.error(f'Error processing log node: {e}\n{traceback.format_exc()}')
raise
continue
return logs

View File

@@ -9,6 +9,22 @@ BLUEDROID_LOG_MODE_LEVEL_GET = {
'GATT': 'gatt_cb.trace_level',
'SMP': 'smp_cb.trace_level',
'APPL': 'appl_trace_level',
'HCI': 'HCI_INITIAL_TRACE_LEVEL',
'SDP': 'sdp_cb.trace_level',
'RFCOMM': 'rfc_cb.trace_level',
'BNEP': 'bnep_cb.trace_level',
'PAN': 'pan_cb.trace_level',
'A2D': 'a2d_cb.trace_level',
'AVDT': 'avdt_cb.trace_level',
'AVCT': 'avct_cb.trace_level',
'AVRC': 'avrc_cb.trace_level',
'MCA': 'mca_cb.trace_level',
'HIDH': 'hh_cb.trace_level',
'HIDD': 'hd_cb.trace_level',
'BTIF': 'btif_trace_level',
'BTC': 'BTC_INITIAL_TRACE_LEVEL',
'OSI': 'OSI_INITIAL_TRACE_LEVEL',
'BLUFI': 'BLUFI_INITIAL_TRACE_LEVEL',
}