|qmake:||QT += knx|
|ProgrammingMode(const ProgrammingMode &other)|
|ProgrammingMode &||setMandatory(bool value)|
|ProgrammingMode &||operator=(const ProgrammingMode &other)|
The QKnxNetIpSrpProxy::ProgrammingMode class provides the means to create the Select By Programming Mode SRP for the extended search request.
The client includes this SRP to indicate that it is interested only in responses from KNXnet/IP servers in which Programming Mode is currently enabled. If Programming Mode is not enabled in a KNXnet/IP server, then the server does not respond to this search request.
Note: By default the mandatory flag is set to
The common way to create this SRP is:
auto srpMode = QKnxNetIpSrpProxy::programmingModeBuilder() .setMandatory(true) .create();
See also QKnxNetIpSearchRequestProxy.
Member Function Documentation
Constructs a builder for SRPs of the type Select By Programming Mode.
ProgrammingMode::ProgrammingMode(const ProgrammingMode &other)
Constructs a copy of other.
Destroys a Select By Programming Mode SRP.
QKnxNetIpSrp ProgrammingMode::create() const
Creates a Select By Programming Mode SRP.
ProgrammingMode &ProgrammingMode::setMandatory(bool value)
Sets the mandatory bit to value.
Note: The mandatory bit is the first significant bit of the Type Code field.
ProgrammingMode &ProgrammingMode::operator=(const ProgrammingMode &other)
Assigns other to this Programming Mode builder and returns a reference.
© 2018 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.