iotcon_resource_types_h resource_types = NULL;
int error;
- properties = IOTCON_RESOURCE_DISCOVERABLE | IOTCON_RESOURCE_OBSERVABLE;
+ properties = IOTCON_RESOURCE_NO_POLICY;
error = iotcon_resource_types_create(&resource_types);
IF_FAIL_RETURN_TAG(error == IOTCON_ERROR_NONE, CONV_ERROR_INVALID_OPERATION, _E, "rt creation failed");
return CONV_ERROR_INVALID_OPERATION;
}
- properties = IOTCON_RESOURCE_DISCOVERABLE | IOTCON_RESOURCE_OBSERVABLE;
+ properties = IOTCON_RESOURCE_NO_POLICY;
error = iotcon_resource_types_create(&resource_types);
IF_FAIL_RETURN_TAG(error == IOTCON_ERROR_NONE, CONV_ERROR_INVALID_OPERATION, _E, "rt creation failed");