feat(ble/bluedroid): Added BLE debug LOG for bluedroid

This commit is contained in:
zhanghaipeng
2025-11-14 11:17:17 +08:00
parent 8d036f2edc
commit 7c6d8e4761
27 changed files with 281 additions and 52 deletions
@@ -345,6 +345,15 @@ uint8_t l2cu_ble_plcb_active_count(void)
for (p_node = list_begin(l2cb.p_lcb_pool); p_node; p_node = list_next(p_node)) {
p_lcb = list_node(p_node);
if (p_lcb && p_lcb->in_use && p_lcb->transport == BT_TRANSPORT_LE) {
L2CAP_TRACE_DEBUG("%s LE PLCB active #%d: remote_addr=%02X:%02X:%02X:%02X:%02X:%02X",
__func__,
active_count,
p_lcb->remote_bd_addr[0],
p_lcb->remote_bd_addr[1],
p_lcb->remote_bd_addr[2],
p_lcb->remote_bd_addr[3],
p_lcb->remote_bd_addr[4],
p_lcb->remote_bd_addr[5]);
active_count ++;
}
}