X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fthings-manager%2Fsampleapp%2Flinux%2Fgroupaction%2Fgroupserver.cpp;h=8959a01ee287289be440ce4de26fc2767cd33e5f;hb=8c01dff2c5bc5496f7dc1632c498943ec6ecb015;hp=413b324ce90a5093595cbccbe32ebbb9075da4b2;hpb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/things-manager/sampleapp/linux/groupaction/groupserver.cpp b/service/things-manager/sampleapp/linux/groupaction/groupserver.cpp index 413b324..8959a01 100644 --- a/service/things-manager/sampleapp/linux/groupaction/groupserver.cpp +++ b/service/things-manager/sampleapp/linux/groupaction/groupserver.cpp @@ -479,13 +479,13 @@ int main() if (n == 9) { - std::string query = OC_MULTICAST_DISCOVERY_URI; + std::string query = OC_RSRVD_WELL_KNOWN_URI; query.append("?rt="); query.append(resourceTypeName); OCPlatform::findResource("", query, - OC_ALL, + CT_DEFAULT, &foundResource); // OCPlatform::findResource("", @@ -495,13 +495,13 @@ int main() } else if (n == 0) { - std::string query = OC_MULTICAST_DISCOVERY_URI; + std::string query = OC_RSRVD_WELL_KNOWN_URI; query.append("?rt="); query.append("core.bookmark"); OCPlatform::findResource("", query, - OC_ALL, + CT_DEFAULT, &foundResource); // OCPlatform::findResource("", // query,