summaryrefslogtreecommitdiff
path: root/sapbtpeer.cc
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-12-16 02:10:10 +0100
committerJavier <dev.git@javispedro.com>2015-12-16 02:10:10 +0100
commit309947a4316a94f4c5d43c9b39b733cc3bbab459 (patch)
treea339058f8e1c3045240d71ab961c7ec1effdd947 /sapbtpeer.cc
parentaabf2deebb9619e21f1ebac0690c6b206b16b251 (diff)
downloadsapd-309947a4316a94f4c5d43c9b39b733cc3bbab459.tar.gz
sapd-309947a4316a94f4c5d43c9b39b733cc3bbab459.zip
implement session termination requests
Diffstat (limited to 'sapbtpeer.cc')
-rw-r--r--sapbtpeer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapbtpeer.cc b/sapbtpeer.cc
index 3926cdf..bf3bddb 100644
--- a/sapbtpeer.cc
+++ b/sapbtpeer.cc
@@ -113,6 +113,8 @@ void SAPBTPeer::handleFrame(const QByteArray &data)
// This must be a peer description frame!
SAProtocol::PeerDescription peerDesc = SAProtocol::unpackPeerDescription(data);
qDebug() << peerDesc.product << peerDesc.manufacturer << peerDesc.name;
+ qDebug() << "apdu=" << peerDesc.APDUSize << "ssdu=" << peerDesc.SSDUSize
+ << "sessions=" << peerDesc.sessions << "timeout=" << peerDesc.timeout;
SAProtocol::PeerDescription myDesc = peerDesc;
myDesc.messageType = 6; // Why?