diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-04-01 12:54:19 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-04-08 10:23:14 +0300 |
commit | 3b7ad511ea4a18360b7ea30f74008f83b5e625c5 (patch) | |
tree | 8ed48e10ef8dfd3cb63333d2ddb7dc726b7bf429 /src/main.conf | |
parent | e59ef82d91b9fe12ca8e7a4a9322de12574c8fae (diff) | |
download | bluez-3b7ad511ea4a18360b7ea30f74008f83b5e625c5.tar.gz |
policy: Add parameters to control reconnection
This adds ReconnectAttempts and ReconnectIntervals so platforms can fine
tune the reconnection strategy.
Diffstat (limited to 'src/main.conf')
-rw-r--r-- | src/main.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.conf b/src/main.conf index 2e696ff03..11db38312 100644 --- a/src/main.conf +++ b/src/main.conf @@ -74,3 +74,13 @@ # default, but this list can be overridden here. By setting the list to # empty the reconnection feature gets disabled. #ReconnectUUIDs=00001112-0000-1000-8000-00805f9b34fb, 0000111f-0000-1000-8000-00805f9b34fb, 0000110a-0000-1000-8000-00805f9b34fb + +# ReconnectAttempts define the number of attempts to reconnect after a link +# lost. Setting the value to 0 disables reconnecting feature. +#ReconnectAttempts=7 + +# ReconnectIntervals define the set of intervals in seconds to use in between +# attempts. +# If the number of attempts defined in ReconnectAttempts is bigger than the +# set of intervals the last interval is repeated until the last attempt. +#ReconnectIntervals=1, 2, 4, 8, 16, 32, 64 |