projects
/
platform
/
core
/
api
/
multi-device-group.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d0f601
)
comp-manager: Use coap instead of coaps when discovering resource
author
Saurav Babu
<saurav.babu@samsung.com>
Wed, 24 Jan 2018 11:42:54 +0000
(17:12 +0530)
committer
saerome.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
patch
|
blob
|
history
diff --git
a/src/companion-manager/src/comp_group.c
b/src/companion-manager/src/comp_group.c
index
8798c84
..
b850111
100755
(executable)
--- a/
src/companion-manager/src/comp_group.c
+++ b/
src/companion-manager/src/comp_group.c
@@
-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("coap
s
://[%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);