summaryrefslogtreecommitdiff
path: root/src/controller.c
diff options
context:
space:
mode:
authorJin Yoon <jinny.yoon@samsung.com>2017-09-12 09:50:02 +0900
committerJin Yoon <jinny.yoon@samsung.com>2017-09-12 09:50:02 +0900
commit0ac403760ad74cea3372a69dc03f3a78aef7148a (patch)
tree955bc8ae82cb15d3bf010ba32dc6a62e6d225435 /src/controller.c
parent3e9be00dba2ea9e5abd0aaec1aa8f17f710ef3c6 (diff)
downloadrcc-0ac403760ad74cea3372a69dc03f3a78aef7148a.tar.gz
rcc-0ac403760ad74cea3372a69dc03f3a78aef7148a.tar.bz2
rcc-0ac403760ad74cea3372a69dc03f3a78aef7148a.zip
Use a conf file to get 'path' and 'address'
Change-Id: I35d7aa41ae3a01b98071e3dd73cdff2c12b23115
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index e6e4ae3..c80090e 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -29,9 +29,11 @@
#include "resource.h"
#include "connectivity.h"
#include "controller.h"
+#include "controller_util.h"
+#include "webutil.h"
#define CONNECTIVITY_KEY "opened"
-#define SENSORING_TIME_INTERVAL 5.0f
+#define SENSORING_TIME_INTERVAL 1.0f
typedef struct app_data_s {
Ecore_Timer *getter_timer;