disable enum value of OCResourceProperty related Local(D2D) MQ Broker 07/15207/2
authorjihwan.seo <jihwan.seo@samsung.com>
Wed, 7 Dec 2016 01:37:31 +0000 (10:37 +0900)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 12 Dec 2016 15:23:30 +0000 (15:23 +0000)
since local mq broker is not supproted yet.
it is better to disable some value of OCResourceProperty
related MQ local broker until define it on OCF spec.

this issue from CTT vertification.

Change-Id: I37715a8e763084cb33f9b7fea794346152c29704
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15207
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Mike Fenelon <mike.fenelon@microsoft.com>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/stack/include/octypes.h

index 8e92a4f..027652c 100755 (executable)
@@ -919,12 +919,16 @@ typedef enum
 
 #ifdef WITH_MQ
     /** When this bit is set, the resource is allowed to be published */
-    ,OC_MQ_PUBLISHER     = (1 << 6)
+    // @todo
+    // Since this property is not defined on OCF Spec. it should be set 0 until define it
+    ,OC_MQ_PUBLISHER     = (0)
 #endif
 
 #ifdef MQ_BROKER
     /** When this bit is set, the resource is allowed to be notified as MQ broker.*/
-    ,OC_MQ_BROKER        = (1 << 7)
+    // @todo
+    // Since this property is not defined on OCF Spec. it should be set 0 until define it
+    ,OC_MQ_BROKER        = (0)
 #endif
 } OCResourceProperty;