summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordh79pyun <dh79.pyun@samsung.com>2022-02-08 12:52:19 +0900
committerdh79pyun <dh79.pyun@samsung.com>2022-02-08 12:52:19 +0900
commita26a4badf35524cab1e4737841d1d7788353ba77 (patch)
treebc8070e2757a2ae6b3fe5c32f49fe4d873c327d2
parent68f16d32af7d3986eca160d6bc8014f0476ad54e (diff)
downloadbluez-a26a4badf35524cab1e4737841d1d7788353ba77.tar.gz
bluez-a26a4badf35524cab1e4737841d1d7788353ba77.tar.bz2
bluez-a26a4badf35524cab1e4737841d1d7788353ba77.zip
Change-Id: Ic449dba4202af8e8254f870b85f3ec79fe344af8 Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
-rwxr-xr-xpackaging/bluez.spec14
-rwxr-xr-xsrc/main_da.conf127
2 files changed, 141 insertions, 0 deletions
diff --git a/packaging/bluez.spec b/packaging/bluez.spec
index 5b2ba37a..98138565 100755
--- a/packaging/bluez.spec
+++ b/packaging/bluez.spec
@@ -138,6 +138,12 @@ Requires: %{name}-compat = %{version}-%{release}
%description plugin-robot
This package is Bluez plugin to manager robot device
+%package plugin-da
+Summary: Bluez plugin for Digital Appliance
+Requires: %{name}-compat = %{version}-%{release}
+%description plugin-da
+This package is Bluez plugin to manager Digital Appliance devices
+
%package mesh
Summary: contains binaries for bluetooth mesh
Requires: %{name}-compat = %{version}-%{release}
@@ -382,6 +388,7 @@ install -D -m 0644 src/main_m.conf %{buildroot}%{_sysconfdir}/bluetooth/main.con
install -D -m 0644 src/main_headless.conf %{buildroot}%{_sysconfdir}/bluetooth/main.conf.headless
install -D -m 0644 src/main_keyboard.conf %{buildroot}%{_sysconfdir}/bluetooth/main.conf.keyboard
install -D -m 0644 src/main_robot.conf %{buildroot}%{_sysconfdir}/bluetooth/main.conf.robot
+install -D -m 0644 src/main_da.conf %{buildroot}%{_sysconfdir}/bluetooth/main.conf.da
#install -D -m 0644 src/org.bluez.service %{buildroot}%{_datadir}/dbus-1/system-services/org.bluez.service
@@ -568,5 +575,12 @@ rm %{_sysconfdir}/bluetooth/main.conf
%{_sysconfdir}/bluetooth/main.conf.robot
%{_sysconfdir}/dbus-1/system.d/bluetooth_robot.conf
+%post plugin-da
+ln -sf main.conf.da %{_sysconfdir}/bluetooth/main.conf
+%preun plugin-da
+rm %{_sysconfdir}/bluetooth/main.conf
+%files plugin-da
+%manifest %{name}.manifest
+%{_sysconfdir}/bluetooth/main.conf.da
%changelog
diff --git a/src/main_da.conf b/src/main_da.conf
new file mode 100755
index 00000000..29e9c0e9
--- /dev/null
+++ b/src/main_da.conf
@@ -0,0 +1,127 @@
+[General]
+
+# Default adaper name
+# %h - substituted for hostname
+# %d - substituted for adapter id
+# Defaults to 'BlueZ'
+#Name = %h-%d
+
+# Default device class. Only the major and minor device class bits are
+# considered. Defaults to '0x000000'.
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+Class = 0x000400 # major class- Audio, minor class- Uncatergorized
+#else
+#Class = 0x000100
+#endif
+
+# 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
+
+# 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
+
+# Automatic connection for bonded devices driven by platform/user events.
+# If a platform plugin uses this mechanism, automatic connections will be
+# enabled during the interval defined below. Initially, this feature
+# intends to be used to establish connections to ATT channels. Default is 60.
+#AutoConnectTimeout = 60
+
+# Use vendor id source (assigner), vendor, product and version information for
+# DID profile support. The values are separated by ":" and assigner, VID, PID
+# and version.
+# Possible vendor id source values: bluetooth, usb (defaults to usb)
+#DeviceID = bluetooth:1234:5678:abcd
+
+# Do reverse service discovery for previously unknown devices that connect to
+# us. This option is really only needed for qualification since the BITE tester
+# doesn't like us doing reverse SDP for some test cases (though there could in
+# theory be other useful purposes for this too). Defaults to 'true'.
+#ReverseServiceDiscovery = true
+
+# Enable name resolving after inquiry. Set it to 'false' if you don't need
+# remote devices name and want shorter discovery cycle. Defaults to 'true'.
+#NameResolving = true
+
+# Enable runtime persistency of debug link keys. Default is false which
+# makes debug link keys valid only for the duration of the connection
+# that they were created for.
+#DebugKeys = false
+
+# Restricts all controllers to the specified transport. Default value
+# is "dual", i.e. both BR/EDR and LE enabled (when supported by the HW).
+# Possible values: "dual", "bredr", "le"
+#ControllerMode = dual
+
+# Enables Multi Profile Specification support. This allows to specify if
+# system supports only Multiple Profiles Single Device (MPSD) configuration
+# or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
+# Devices (MPMD) configurations.
+# Possible values: "off", "single", "multiple"
+#MultiProfile = off
+
+# Permanently enables the Fast Connectable setting for adapters that
+# support it. When enabled other devices can connect faster to us,
+# however the tradeoff is increased power consumptions. This feature
+# will fully work only on kernel version 4.1 and newer. Defaults to
+# 'false'.
+FastConnectable = true
+
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+# Enable the LE Privacy feature. If value is true, i.e. LE Privacy is enabled
+# otherwise the feature is disabled by default for the local device.
+EnableLEPrivacy = false
+#endif
+
+#ifdef TIZEN_APPLIANCE
+# Default A2DP role is sink in Fhub.
+DefaultA2DPRoleSink = true
+#endif
+
+#ifdef TIZEN_APPLIANCE
+[GATT]
+# GATT attribute cache.
+# Possible values:
+# always: Always cache attributes even for devices not paired, this is
+# recommended as it is best for interoperability, with more consistent
+# reconnection times and enables proper tracking of notifications for all
+# devices.
+# yes: Only cache attributes of paired devices.
+# no: Never cache attributes
+# Default: always
+#Cache = always
+
+# Minimum required Encryption Key Size for accessing secured characteristics.
+# Possible values: 0 and 7-16. 0 means don't care.
+# Defaults to 0
+#KeySize = 0
+
+# Exchange MTU size.
+# Possible values: 23-517
+# Defaults to 517
+ExchangeMTU = 517
+
+# Disable reconnection attempts in case of a link loss in FHUB.
+[Policy]
+#
+# The ReconnectUUIDs defines the set of remote services that should try
+# to be reconnected to in case of a link loss (link supervision
+# timeout). The policy plugin should contain a sane set of values by
+# default, but this list can be overridden here. By setting the list to
+# empty the reconnection feature gets disabled.
+ReconnectUUIDs=
+
+#else
+#[Policy]
+#
+# The ReconnectUUIDs defines the set of remote services that should try
+# to be reconnected to in case of a link loss (link supervision
+# timeout). The policy plugin should contain a sane set of values by
+# default, but this list can be overridden here. By setting the list to
+# empty the reconnection feature gets disabled.
+#ReconnectUUIDs=
+
+#endif