From 702e018ca9e780bb076033ce5d1d370d4eb7319e Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 14 Dec 2015 01:52:17 +0100 Subject: properly handle data frames with sequence numbers --- sapchannelinfo.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sapchannelinfo.cc') diff --git a/sapchannelinfo.cc b/sapchannelinfo.cc index 12ba5b5..530341a 100644 --- a/sapchannelinfo.cc +++ b/sapchannelinfo.cc @@ -78,3 +78,12 @@ void SAPChannelInfo::setQoSDataRate(QoSDataRate rate) { data->qosDataRate = rate; } + +QDebug operator<<(QDebug debug, const SAPChannelInfo &info) +{ + QDebugStateSaver saver(debug); + Q_UNUSED(saver); + debug.nospace() << "SAPChannelInfo(" << info.channelId() << ", qosType=" << info.qosType() << ", dataRate=" << info.qosDataRate() << ", priority=" << info.qosPriority() + << ", payload=" << info.payloadType() << ")"; + return debug; +} -- cgit v1.2.3