Builder Class

Class Builder is declared in class QKnxNetIpRoutingIndicationProxy.

The QKnxNetIpRoutingIndicationProxy::Builder class provides the means to create a routing indication frame. More...

Public Functions

QKnxNetIpFrame create() const
Builder &setCemi(const QKnxLinkLayerFrame &cemi)

Detailed Description

A routing indication is sent by a KNXnet/IP router or device to transmit KNX link layer frames over IP networks.

The common way to create a routing indication is:

QKnxLinkLayerFrame linkFrame = // create a link frame ....;
auto netIpframe = QKnxNetIpRoutingIndicationProxy::builder()
    .setCemi(linkFrame)
    .create();

If a KNXnet/IP router or device receives a router busy message from another router or device, it immediately stops sending routing indication frames and waits until the time specified in the router busy message has elapsed to resume sending frames.

Member Function Documentation

QKnxNetIpFrame Builder::create() const

Creates and returns a KNXnet/IP routing indication frame.

Note: The returned frame may be invalid depending on the values used during setup.

See also isValid().

Builder &Builder::setCemi(const QKnxLinkLayerFrame &cemi)

Sets the cEMI frame within the routing indication frame to cemi and returns a reference to the builder.

This function was introduced in Qt 5.12.

© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.