Add dbus policy for GATT service 54/188454/1
authorWootak Jung <wootak.jung@samsung.com>
Wed, 5 Sep 2018 02:06:21 +0000 (11:06 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 5 Sep 2018 06:58:30 +0000 (15:58 +0900)
No send_destination because private connection does not have well-known service name

Change-Id: I599f17e562207387e9c61815f31e19e39f3000dd

bt-oal/bluez_hal/bluetooth-frwk-gap-agent.conf

index 635b385..aedbd95 100644 (file)
@@ -6,12 +6,20 @@
         <allow own_prefix="org.bt.frwk"/>
         <allow send_interface="org.bluez.Profile1" send_member="NewConnection"/>
         <allow send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
+        <!-- No send_destination because private connection does not have well-known service name -->
+        <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
+        <allow send_interface="org.bluez.GattCharacteristic1"/>
+        <allow send_interface="org.bluez.GattDescriptor1"/>
     </policy>
     <policy group="network_fw">
         <!-- service name(org.bt.frwk.p<pid>) is changeable by pid -->
         <allow own_prefix="org.bt.frwk"/>
         <allow send_interface="org.bluez.Profile1" send_member="NewConnection"/>
         <allow send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
+        <!-- No send_destination because private connection does not have well-known service name -->
+        <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
+        <allow send_interface="org.bluez.GattCharacteristic1"/>
+        <allow send_interface="org.bluez.GattDescriptor1"/>
     </policy>
     <policy context="default">
         <deny own_prefix="org.bt.frwk"/>