From: HyunJun Kim Date: Mon, 12 Jan 2015 05:30:24 +0000 (+0900) Subject: Change the definition of GROUP_INTERFACE. X-Git-Tag: 0.9.1-alpha1~38^2~236 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd3c36d453e4e7d6388ed22e47c50ffbc13e57d5;p=contrib%2Fiotivity.git 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 (cherry picked from commit 2733ac3486521c0491819e3c9b6b65b8ca8c07f4) Reviewed-on: https://gerrit.iotivity.org/gerrit/211 Tested-by: jenkins-iotivity Reviewed-by: Sudarshan Prasad --- diff --git a/resource/csdk/stack/include/internal/ocresourcehandler.h b/resource/csdk/stack/include/internal/ocresourcehandler.h index f54e3fe..14794b6 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;