aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-05-18 03:05:08 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-05-18 03:05:08 +0200
commit02d7238391ae0addc6517759b10d01948b108cb3 (patch)
treeb0c4d0497d73e1edde92c3eb4f1a72b726c39396 /README.md
parentbad7ee3d4f329ad258b4ceacdb3818084208cf5f (diff)
parentfd94d8e5673a5d5228aa2d38b605fde7a881332b (diff)
Merge remote-tracking branch 'origin/5.13' into dev
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3d98801..c14ee3e 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ The notified signal will provide the `QCoapReply` and most recent message.
For machine to machine communication, CoAP Discovery requests is used to query the resources
available to an endpoint, or to the complete network.
```c++
-QCoapDiscoveryReply* reply = client->discover("coap://coap.me/");
+QCoapResourceDiscoveryReply *reply = client->discover("coap://coap.me/");
connect(reply, &QCoapReply::discovered, this, &MyClass::onDiscovered);
```
@@ -63,7 +63,7 @@ For multicast discovery use one of the groups from the `QtCoap::MulticastGroup`
specifying the discovery path:
```c++
-QCoapDiscoveryReply* reply = client->discover(QtCoap::AllCoapNodesIPv6LinkLocal);
+QCoapResourceDiscoveryReply *reply = client->discover(QtCoap::AllCoapNodesIPv6LinkLocal);
```
If no group is specified, `QtCoap::AllCoapNodesIPv4` will be used by default.