The resource property of topic is changed from DISCOVERABLE to NONE.
Change-Id: I670dbd26725171b7639061062bdb412e0ace7a81
Signed-off-by: ch79.cho <ch79.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12865
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
if(NSGetResourceSecurity())
{
NS_LOG(DEBUG, "Create secured resource");
- resourceProperties = OC_DISCOVERABLE | OC_SECURE;
+ resourceProperties = OC_RES_PROP_NONE | OC_SECURE;
}
else
{
- resourceProperties = OC_DISCOVERABLE;
+ resourceProperties = OC_RES_PROP_NONE;
}
if (OCCreateResource(&(NotificationTopicResource.handle), NS_COLLECTION_TOPIC_TYPE,