RD resource should not be observable.
authorTodd Malsbary <todd.malsbary@intel.com>
Mon, 7 Aug 2017 22:29:26 +0000 (15:29 -0700)
committerZiran Sun <ziran.sun@samsung.com>
Mon, 14 Aug 2017 10:21:01 +0000 (10:21 +0000)
All of the resource's properties are hard-coded.

Bug: https://jira.iotivity.org/browse/IOT-2593
Change-Id: I6729596e94494fb4715dbb5ab4ad6ef6fcd551b2
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21777
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
resource/csdk/resource-directory/src/rd_server.c

index 0cfc11c..b54f8b5 100644 (file)
@@ -316,7 +316,7 @@ OCStackResult OC_CALL OCRDStart()
                                 OC_RSRVD_RD_URI,
                                 rdEntityHandler,
                                 NULL,
-                                (OC_ACTIVE | OC_DISCOVERABLE | OC_OBSERVABLE));
+                                (OC_ACTIVE | OC_DISCOVERABLE));
 
     if (OC_STACK_OK == result)
     {