summaryrefslogtreecommitdiffstats
path: root/src/main.conf
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-11-27 16:46:45 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-11-27 16:46:45 -0300
commit3ee81cab2ed66b7f3d4fbd6ba6676d5d9448d6dc (patch)
tree459dc5218f3b944a638a16361a422e5ba3d7857d /src/main.conf
parent395c910980394868a3c2d14e90e4f55988c7663d (diff)
Introduce PairableTimeout Property and fix use of g_timeout_add.
PairableTimeout work similarly to DiscoverableTimeout where the user application can set the amount of time to stay in Pairable. It also fixes the use of g_timeout_add to g_timeout_add_seconds for both PairableTimeout and DiscoverableTimeout.
Diffstat (limited to 'src/main.conf')
-rw-r--r--src/main.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.conf b/src/main.conf
index 16d04579..20bac707 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -17,6 +17,11 @@ Class = 0x000100
# 0 = disable timer, i.e. stay discoverable forever
DiscoverableTimeout = 0
+# How long to stay in pairable mode before going back to non-discoverable
+# The value is in seconds. Default is 0.
+# 0 = disable timer, i.e. stay pairable forever
+PairableTimeout = 0
+
# Use some other page timeout than the controller default one
# (16384 = 10 seconds)
PageTimeout = 8192