diff options
author | Sven Gothel <[email protected]> | 2021-02-10 14:05:33 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-02-10 14:05:33 +0100 |
commit | f794275a47faaf467ca3130123fe46b1d860db93 (patch) | |
tree | 819bcd52c006802a0f4f096f2d0da93a3edbcf1d /src/direct_bt/HCIHandler.cpp | |
parent | 2baf4293543bec12ef8c68b5c0fdf81b957c2f6b (diff) |
HCITypes Fix l2cap_frame::isGATT(): Compare with ATT (copy & paste); HCIHandler: Don't show well handled ATT packets in DEBUG output
Diffstat (limited to 'src/direct_bt/HCIHandler.cpp')
-rw-r--r-- | src/direct_bt/HCIHandler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/direct_bt/HCIHandler.cpp b/src/direct_bt/HCIHandler.cpp index fd84ac40..943e88cf 100644 --- a/src/direct_bt/HCIHandler.cpp +++ b/src/direct_bt/HCIHandler.cpp @@ -384,9 +384,7 @@ void HCIHandler::hciReaderThreadImpl() noexcept { jau::to_hexstring(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 { + } else if( !l2cap.isGATT() ) { // ignore handled GATT packages COND_PRINT(env.DEBUG_EVENT, "HCIHandler-IO RECV Drop (ACL.L2CAP): ???? %s", acldata->toString(l2cap, l2cap_data).c_str()); } continue; |