diff options
author | sung.goo.kim <sung.goo.kim@samsung.com> | 2016-01-08 09:14:31 +0900 |
---|---|---|
committer | Youngjae Shin <yj99.shin@samsung.com> | 2016-01-11 09:27:00 +0900 |
commit | dca4a4d8b2fca30b4f379a35e879c685cf9f4f20 (patch) | |
tree | 33dd83d4e7655330d9ee9e1bd375f215d53b3327 | |
parent | 86b4d4157147a2a876c642a0a431b87b83a2c414 (diff) | |
download | iotcon-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.h | 2 | ||||
-rw-r--r-- | lib/icl.c | 2 | ||||
-rw-r--r-- | lib/include/iotcon.h | 2 |
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(); @@ -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 |