diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-05-18 03:05:08 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-05-18 03:05:08 +0200 |
commit | 02d7238391ae0addc6517759b10d01948b108cb3 (patch) | |
tree | b0c4d0497d73e1edde92c3eb4f1a72b726c39396 /README.md | |
parent | bad7ee3d4f329ad258b4ceacdb3818084208cf5f (diff) | |
parent | fd94d8e5673a5d5228aa2d38b605fde7a881332b (diff) |
Merge remote-tracking branch 'origin/5.13' into dev
Change-Id: I3ab43e890b692e3266522c4c3f8ea65499df2cbb
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |