summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsung.goo.kim <sung.goo.kim@samsung.com>2016-01-08 09:14:31 +0900
committerYoungjae Shin <yj99.shin@samsung.com>2016-01-11 09:27:00 +0900
commitdca4a4d8b2fca30b4f379a35e879c685cf9f4f20 (patch)
tree33dd83d4e7655330d9ee9e1bd375f215d53b3327
parent86b4d4157147a2a876c642a0a431b87b83a2c414 (diff)
downloadiotcon-dca4a4d8b2fca30b4f379a35e879c685cf9f4f20.tar.gz
iotcon-dca4a4d8b2fca30b4f379a35e879c685cf9f4f20.tar.bz2
iotcon-dca4a4d8b2fca30b4f379a35e879c685cf9f4f20.zip
Modify maximum timeout value (60 -> 3600)
Change-Id: I2944e94df3d876e30aebd5c8b135f4b4e05f9672
-rw-r--r--lib/icl-dbus.h2
-rw-r--r--lib/icl.c2
-rw-r--r--lib/include/iotcon.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/icl-dbus.h b/lib/icl-dbus.h
index 9260d96..5c9da41 100644
--- a/lib/icl-dbus.h
+++ b/lib/icl-dbus.h
@@ -21,7 +21,7 @@
#include "ic-dbus.h"
#define ICL_DBUS_TIMEOUT_DEFAULT 30 /* 30 sec */
-#define ICL_DBUS_TIMEOUT_MAX 60 /* 60 sec */
+#define ICL_DBUS_TIMEOUT_MAX 60*60 /* 60 min */
icDbus* icl_dbus_get_object();
diff --git a/lib/icl.c b/lib/icl.c
index f079a86..3a9d020 100644
--- a/lib/icl.c
+++ b/lib/icl.c
@@ -55,7 +55,7 @@ API int iotcon_set_timeout(int timeout_seconds)
int ret;
if (ICL_DBUS_TIMEOUT_MAX < timeout_seconds || timeout_seconds <= 0) {
- ERR("timeout_seconds(%d) must be in range from 1 to 60", timeout_seconds);
+ ERR("timeout_seconds(%d) must be in range from 1 to 3600", timeout_seconds);
return IOTCON_ERROR_INVALID_PARAMETER;
}
diff --git a/lib/include/iotcon.h b/lib/include/iotcon.h
index 73aa6da..6fbe785 100644
--- a/lib/include/iotcon.h
+++ b/lib/include/iotcon.h
@@ -102,7 +102,7 @@ int iotcon_get_timeout(int *timeout_seconds);
*
* @since_tizen 3.0
*
- * @param[in] timeout_seconds Seconds for timeout (must be in range from 1 to 60)
+ * @param[in] timeout_seconds Seconds for timeout (must be in range from 1 to 3600)
*
* @return 0 on success, otherwise a negative error value.
* @retval #IOTCON_ERROR_NONE Successful