summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2018-08-18 00:13:36 +0200
committerKarsten Heimrich <karsten.heimrich@qt.io>2018-08-19 19:41:41 +0000
commit3d196280a215862049a4df46d1c2c4583d1fbd18 (patch)
tree1a4fb0bc4d5fa813e9e64f827c2cd536307c61dc /examples
parentdd54d538874b8709fee997e527a429eee8bfdac2 (diff)
Implement functionality to set and use extended CRI frames
Change-Id: I2912595b13f2a7d4f294671303fb73e88d82c97f Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/knx/knxeditor/tunneling.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/knx/knxeditor/tunneling.cpp b/examples/knx/knxeditor/tunneling.cpp
index 0d7486a..7b21ee0 100644
--- a/examples/knx/knxeditor/tunneling.cpp
+++ b/examples/knx/knxeditor/tunneling.cpp
@@ -141,6 +141,11 @@ Tunneling::Tunneling(QWidget* parent)
+ frame.bytes().toHex().toByteArray()));
});
+ connect(&m_tunnel, &QKnxNetIpTunnel::errorOccurred, this,
+ [&] (QKnxNetIpEndpointConnection::Error, QString errorString) {
+ ui->textOuputTunneling->append(errorString);
+ });
+
updateControlField();
updateExtendedControlField();