Change-Id: Ia0d4887111227023b5cf60d9ea215bb426cef5c8
Signed-off-by: sung.goo.kim <sung.goo.kim@samsung.com>
ret = iotcon_initialize();
if (IOTCON_ERROR_NONE != ret) {
ICUTC_ERR("iotcon_initialize() Fail(%d)", ret);
+ return;
}
+
} else { /* enabled iot.ocf.security feature */
char *path;
ret = storage_foreach_device_supported(icutc_storage_device_supported_cb, &path);
}
free(path);
}
+
+ ret = iotcon_start_presence(ICUTC_PRESENCE_INTERVAL);
+ if (IOTCON_ERROR_NONE != ret) {
+ ICUTC_ERR("iotcon_start_presence() Fail(%d)", ret);
+ iotcon_deinitialize();
+ return;
+ }
}
/**