comp-manager: Use coap instead of coaps when discovering resource
authorSaurav Babu <saurav.babu@samsung.com>
Wed, 24 Jan 2018 11:42:54 +0000 (17:12 +0530)
committersaerome.kim <saerome.kim@samsung.com>
Mon, 2 Jul 2018 10:38:47 +0000 (19:38 +0900)
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
src/companion-manager/src/comp_group.c

index 8798c84..b850111 100755 (executable)
@@ -598,7 +598,7 @@ int comp_group_send_data(gchar *uuid_dev, gchar *data, int port)
 
        iot_discovery_t *iot = g_new0(iot_discovery_t, 1);
        iot->uuid = g_strdup(uuid_dev);
-       iot->host = g_strdup_printf("coaps://[%s]:%d", data, port);
+       iot->host = g_strdup_printf("coap://[%s]:%d", data, port);
        iot->data = g_strdup("Hello");
 
        LOG_DEBUG("UUID %s host %s", iot->uuid, iot->host);