aboutsummaryrefslogtreecommitdiffstats
path: root/src/direct_bt/HCIHandler.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-02-08 16:02:02 +0100
committerSven Gothel <[email protected]>2021-02-08 16:02:02 +0100
commitadef73336de07c5c508b1923718f743a4e60464a (patch)
tree42734667fe89369786afccddac00e0dbd56d911d /src/direct_bt/HCIHandler.cpp
parent6f9f9c79a7f5cc666ebc6fa7c84be5e58fefeaf0 (diff)
HCIHandler::hciReaderThreadImpl(): Explicit debug handling of GATT ACL packet
Diffstat (limited to 'src/direct_bt/HCIHandler.cpp')
-rw-r--r--src/direct_bt/HCIHandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/direct_bt/HCIHandler.cpp b/src/direct_bt/HCIHandler.cpp
index 32ab3aa8..42004a27 100644
--- a/src/direct_bt/HCIHandler.cpp
+++ b/src/direct_bt/HCIHandler.cpp
@@ -384,8 +384,10 @@ void HCIHandler::hciReaderThreadImpl() noexcept {
jau::uint16HexString(l2cap.handle).c_str(),
l2cap.toString().c_str(), smpPDU->toString().c_str());
}
+ } else if( l2cap.isGATT() ) {
+ COND_PRINT(env.DEBUG_EVENT, "HCIHandler-IO RECV Drop (ACL.L2CAP): GATT %s", acldata->toString(l2cap, l2cap_data).c_str());
} else {
- COND_PRINT(env.DEBUG_EVENT, "HCIHandler-IO RECV Drop (ACL.L2CAP): %s", acldata->toString().c_str());
+ COND_PRINT(env.DEBUG_EVENT, "HCIHandler-IO RECV Drop (ACL.L2CAP): ???? %s", acldata->toString(l2cap, l2cap_data).c_str());
}
continue;
}