diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-07-27 11:14:04 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-07-30 09:47:34 +0300 |
commit | 1880b299086659844889cdaf687133aca5eaf102 (patch) | |
tree | a184d363ed4943aacdc1388c4334a2d4df5f0cdd /src/main.conf | |
parent | 45969a7a7335eaa47c52b76b9e32c28d680dc031 (diff) | |
download | bluez-1880b299086659844889cdaf687133aca5eaf102.tar.gz |
core: Add AlwaysPairable to main.conf
This adds a new option called AlwaysPairable to main.conf, it can be
used to enable Adapter.Pairable even in case there is no Agent
available.
Since that could be consider a security problem to allow pairing
without user's consent the option defaults to false.
Diffstat (limited to 'src/main.conf')
-rw-r--r-- | src/main.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.conf b/src/main.conf index 224334c5a..b2f843c75 100644 --- a/src/main.conf +++ b/src/main.conf @@ -13,6 +13,11 @@ # 0 = disable timer, i.e. stay discoverable forever #DiscoverableTimeout = 0 +# Always allow pairing even if there are no agent registered +# Possible values: true, false +# Default: false +#AlwaysPairable = false + # 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 |