diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-10-28 17:12:06 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-11-07 15:12:17 +0100 |
commit | 6c95e7c2457cb4c15b1d49c58d8cc4a467f073a3 (patch) | |
tree | 8e80fed7f26bfadd13dab9840c05b32456469eb6 /doc | |
parent | c733d18fe10ed24858046fe184facfe8efe9b81a (diff) | |
download | connman-6c95e7c2457cb4c15b1d49c58d8cc4a467f073a3.tar.gz connman-6c95e7c2457cb4c15b1d49c58d8cc4a467f073a3.tar.bz2 connman-6c95e7c2457cb4c15b1d49c58d8cc4a467f073a3.zip |
session doc: Document PeriodicConnect and IdleTimeout
Diffstat (limited to 'doc')
-rw-r--r-- | doc/session-overview.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/session-overview.txt b/doc/session-overview.txt index 05e4a8d6..82e3f89a 100644 --- a/doc/session-overview.txt +++ b/doc/session-overview.txt @@ -116,3 +116,26 @@ again. Note: this documents the current behavior it is likely to change in near future. + + +Additional Information on Settings +================================== + +PeriodicConnect and IdleTimeout +------------------------------- + +If an application wants to go online periodically (e.g. checking for +new mails) then the application should use PeriodicConnect instead of +calling Session.Connect() periodically. There is no need for the +application to maintain timers. ConnMan is also able to try to combine +several PeriodicConnect calls into one. Applications should not rely on a +very precise periodic connect. Apart from merging periodic connect +timeouts there is also the problem that no service might be available +at that point and ConnMan will defer the connect call. + +The IdleTimeout tells ConnMan when a link is idle for given period it +is okay to disonnect. + +PeriodicConnect and IdleTimeout should only consired as hints. ConnMan +will try to meet them but there is no garantee for doing so. For +example global settings have precedence over session settings. |