diff options
author | Sven Gothel <[email protected]> | 2022-04-23 01:09:23 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-04-23 04:44:35 +0200 |
commit | a5a28d33b18e11a9d3a2d3d13b8b736884c604e0 (patch) | |
tree | b29ed43f689a199ade86385222c5d42ce8397af1 /src/direct_bt/BTGattHandler.cpp | |
parent | 6b5e060dcacb58824a90520fb07522d5b4192749 (diff) |
L2CAPComm: Detail 'irqed' in intern and extern at output; BTGattHandler DBG_PRINT 'GATTHandler::ctor: Started' post l2cap_reader_service start
Diffstat (limited to 'src/direct_bt/BTGattHandler.cpp')
-rw-r--r-- | src/direct_bt/BTGattHandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/direct_bt/BTGattHandler.cpp b/src/direct_bt/BTGattHandler.cpp index 714937ea..44853f24 100644 --- a/src/direct_bt/BTGattHandler.cpp +++ b/src/direct_bt/BTGattHandler.cpp @@ -583,8 +583,6 @@ BTGattHandler::BTGattHandler(const BTDeviceRef &device, L2CAPClient& l2cap_att, is_connected = false; return; } - DBG_PRINT("GATTHandler::ctor: Start Connect: GattHandler[%s], l2cap[%s]: %s", - getStateString().c_str(), l2cap.getStateString().c_str(), toString().c_str()); /** * We utilize DBTManager's mgmthandler_sigaction SIGALRM handler, @@ -594,6 +592,9 @@ BTGattHandler::BTGattHandler(const BTDeviceRef &device, L2CAPClient& l2cap_att, l2cap.set_interrupted_query( jau::bindMemberFunc(this, &BTGattHandler::l2capReaderInterrupted) ); l2cap_reader_service.start(); + DBG_PRINT("GATTHandler::ctor: Started: GattHandler[%s], l2cap[%s]: %s", + getStateString().c_str(), l2cap.getStateString().c_str(), toString().c_str()); + if( GATTRole::Client == getRole() ) { // MTU to be negotiated via initClientGatt() from this GATT client later serverMTU = number(Defaults::MAX_ATT_MTU); |