diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-05 22:15:48 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-05 22:15:48 +0200 |
commit | 01e2320f66a5aeb203f53b51037e37d3d51ce288 (patch) | |
tree | de299c7ed84c317fa8e634edbd859868ac9ac097 /src | |
parent | 1e62c84478c5eccbfbd22cb3c77a6e49cdc3b992 (diff) |
Add example for main.conf
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/main.conf | 26 |
2 files changed, 28 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 2690960d..473c86f9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,7 +6,7 @@ dbus_DATA = bluetooth.conf confdir = $(sysconfdir)/bluetooth -conf_DATA = +conf_DATA = main.conf statedir = $(localstatedir)/lib/bluetooth @@ -43,7 +43,7 @@ if MANPAGES man_MANS = bluetoothd.8 endif -EXTRA_DIST = bluetooth.conf bluetoothd.8 \ +EXTRA_DIST = bluetooth.conf bluetoothd.8 main.conf \ list-devices test-discovery test-manager test-adapter test-device \ simple-service simple-agent service-record.dtd \ service-did.xml service-spp.xml service-opp.xml service-ftp.xml diff --git a/src/main.conf b/src/main.conf new file mode 100644 index 00000000..664820ad --- /dev/null +++ b/src/main.conf @@ -0,0 +1,26 @@ +[General] + +# List of plugins that should not be loaded on bluetoothd startup +#DisablePlugins = network,input + +# Default adaper name +# %h - substituted for hostname +# %d - substituted for adapter id +Name = %h-%d + +# Default device class. Only the major and minor service class bits are +# considered +Class = 0x000100 + +# How long to stay in discoverable mode before going back to non-discoverable +# The value is in seconds. Default is 180, i.e. 3 minutes. +# 0 = disable timer, i.e. stay discoverable forever +DiscoverableTimeout = 0 + +# Use some other page timeout than the controller default one +# (16384 = 10 seconds) +PageTimeout = 8192 + +# Behaviour for Adapter.SetProperty("mode", "off") +# Possible values: "DevDown", "NoScan" (default) +OffMode = NoScan |