From 01e2320f66a5aeb203f53b51037e37d3d51ce288 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 5 Aug 2008 22:15:48 +0200 Subject: Add example for main.conf --- src/Makefile.am | 4 ++-- src/main.conf | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 src/main.conf (limited to 'src') 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 -- cgit