Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
percent[0] = '\0';
comp_command_t *cmd = g_new0(comp_command_t, 1);
- cmd->command = g_strdup("0");
+ cmd->command = g_strdup("5");
cmd->uuid = g_strdup(uuid_dev);
if (strchr(ip, ':')) /* IPv6 Adress */
LOG_DEBUG("Set Resource Type : %s", get_error_message(ret));
- if (cmd && (g_strcmp0(cmd->command, "0") == 0))
+ if (cmd && (g_strcmp0(cmd->command, "5") == 0))
ret = iotcon_find_resource(cmd->host,
IOTCON_CONNECTIVITY_IP | IOTCON_CONNECTIVITY_PREFER_UDP,
query, _found_resource, user_data);