diff options
Diffstat (limited to 'examples/coap/quickmulticastclient')
-rw-r--r-- | examples/coap/quickmulticastclient/main.qml | 6 | ||||
-rw-r--r-- | examples/coap/quickmulticastclient/qmlcoapmulticastclient.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/coap/quickmulticastclient/main.qml b/examples/coap/quickmulticastclient/main.qml index da28624..85fc8dc 100644 --- a/examples/coap/quickmulticastclient/main.qml +++ b/examples/coap/quickmulticastclient/main.qml @@ -102,17 +102,17 @@ Window { ListElement { group: qsTr("IPv4 CoAP Nodes") address: "224.0.1.187" - value: QtCoap.AllCoapNodesIPv4 + value: QtCoap.MulticastGroup.AllCoapNodesIPv4 } ListElement { group: qsTr("IPv6 Link Local CoAP Nodes") address: "ff02::fd" - value: QtCoap.AllCoapNodesIPv6LinkLocal + value: QtCoap.MulticastGroup.AllCoapNodesIPv6LinkLocal } ListElement { group: qsTr("IPv6 Site Local CoAP Nodes") address: "ff05::fd" - value: QtCoap.AllCoapNodesIPv6SiteLocal + value: QtCoap.MulticastGroup.AllCoapNodesIPv6SiteLocal } ListElement { group: qsTr("Other") diff --git a/examples/coap/quickmulticastclient/qmlcoapmulticastclient.cpp b/examples/coap/quickmulticastclient/qmlcoapmulticastclient.cpp index 6d0a1fd..4c3592b 100644 --- a/examples/coap/quickmulticastclient/qmlcoapmulticastclient.cpp +++ b/examples/coap/quickmulticastclient/qmlcoapmulticastclient.cpp @@ -56,7 +56,7 @@ Q_LOGGING_CATEGORY(lcCoapClient, "qt.coap.client") QmlCoapMulticastClient::QmlCoapMulticastClient(QObject *parent) - : QCoapClient(QtCoap::NoSec, parent) + : QCoapClient(QtCoap::SecurityMode::NoSec, parent) { connect(this, &QCoapClient::finished, this, [this](QCoapReply *reply) { |