Change the definition of GROUP_INTERFACE.
authorHyunJun Kim <hyunjun2.kim@samsung.com>
Mon, 12 Jan 2015 05:30:24 +0000 (14:30 +0900)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Thu, 22 Jan 2015 15:25:08 +0000 (15:25 +0000)
The definition of GROUP_INTERFACE as "oc.mi.c"
does not get big meaning.
So, we change the definition to "oc.mi.grp".
Regarding opinion of Caiwen.

Issue : [IOT-253]

Signed-off-by: HyunJun Kim <hyunjun2.kim@samsung.com>
Change-Id: Ia196e8a2a0856ed0651874eec419f77468e8329e
(cherry picked from commit 2733ac3486521c0491819e3c9b6b65b8ca8c07f4)
Reviewed-on: https://gerrit.iotivity.org/gerrit/211
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
resource/csdk/stack/include/internal/ocresourcehandler.h
resource/include/OCApi.h

index f54e3fe..14794b6 100644 (file)
@@ -36,7 +36,7 @@
 #define OC_RSRVD_INTERFACE_DEFAULT      "oc.mi.def"
 #define OC_RSRVD_INTERFACE_LL           "oc.mi.ll"
 #define OC_RSRVD_INTERFACE_BATCH        "oc.mi.b"
-#define OC_RSRVD_INTERFACE_GROUP        "oc.mi.c"
+#define OC_RSRVD_INTERFACE_GROUP        "oc.mi.grp"
 
 
 #define OC_RSRVD_OBSERVABLE             "obs"
index b523da5..153abbc 100644 (file)
@@ -195,7 +195,7 @@ namespace OC
     const std::string BATCH_INTERFACE = "oc.mi.b";
 
     // Used in GET, PUT, POST methods on links to other remote resources of a group.
-    const std::string GROUP_INTERFACE = "oc.mi.c";
+    const std::string GROUP_INTERFACE = "oc.mi.grp";
 
 
     typedef std::function<void(std::shared_ptr<OCResource>)> FindCallback;