From 2733ac3486521c0491819e3c9b6b65b8ca8c07f4 Mon Sep 17 00:00:00 2001 From: HyunJun Kim Date: Mon, 12 Jan 2015 14:30:24 +0900 Subject: [PATCH] Change the definition of GROUP_INTERFACE. 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 Change-Id: Ia196e8a2a0856ed0651874eec419f77468e8329e --- resource/csdk/stack/include/internal/ocresourcehandler.h | 2 +- resource/include/OCApi.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/csdk/stack/include/internal/ocresourcehandler.h b/resource/csdk/stack/include/internal/ocresourcehandler.h index f56769c..f6fec16 100644 --- a/resource/csdk/stack/include/internal/ocresourcehandler.h +++ b/resource/csdk/stack/include/internal/ocresourcehandler.h @@ -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" diff --git a/resource/include/OCApi.h b/resource/include/OCApi.h index b523da5..153abbc 100644 --- a/resource/include/OCApi.h +++ b/resource/include/OCApi.h @@ -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)> FindCallback; -- 2.7.4