Change the definition of GROUP_INTERFACE.
authorHyunJun Kim <hyunjun2.kim@samsung.com>
Mon, 12 Jan 2015 05:30:24 +0000 (14:30 +0900)
committerHyunJun Kim <hyunjun2.kim@samsung.com>
Mon, 12 Jan 2015 05:30:24 +0000 (14:30 +0900)
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

resource/csdk/stack/include/internal/ocresourcehandler.h
resource/include/OCApi.h

index f56769c..f6fec16 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;