g_variant_builder_add(array_builder, "s", interface);
ret = g_dbus_connection_emit_signal(g_conn, NULL, "/",
- "org.freedesktop.DBus.ObjectManager",
+ "org.freedesktop.Dbus.Objectmanager",
"InterfacesRemoved",
g_variant_new("(oas)",
object_path, array_builder),
GATT_SERV_INTERFACE, inner_builder);
g_dbus_connection_emit_signal(g_conn, NULL, "/",
- "org.freedesktop.DBus.ObjectManager",
+ "org.freedesktop.Dbus.ObjectManager",
"InterfacesAdded",
g_variant_new("(oa{sa{sv}})",
path, builder),
inner_builder);
g_dbus_connection_emit_signal(g_conn, NULL, "/",
- "org.freedesktop.DBus.ObjectManager",
+ "org.freedesktop.Dbus.ObjectManager",
"InterfacesAdded",
g_variant_new("(oa{sa{sv}})",
path, builder),
inner_builder);
g_dbus_connection_emit_signal(g_conn, NULL, "/",
- "org.freedesktop.DBus.ObjectManager",
+ "org.freedesktop.Dbus.ObjectManager",
"InterfacesAdded",
g_variant_new("(oa{sa{sv}})",
char_info->char_path, builder),
inner_builder);
g_dbus_connection_emit_signal(g_conn, NULL, "/",
- "org.freedesktop.DBus.ObjectManager",
+ "org.freedesktop.Dbus.ObjectManager",
"InterfacesAdded",
g_variant_new("(oa{sa{sv}})",
path, builder),
inner_builder);
g_dbus_connection_emit_signal(g_conn, NULL, "/",
- "org.freedesktop.DBus.ObjectManager",
+ "org.freedesktop.Dbus.ObjectManager",
"InterfacesAdded",
g_variant_new("(oa{sa{sv}})",
desc_info->desc_path, builder),
<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" send_member="GetManagedObjects"/>
- <allow send_interface="org.bluez.GattCharacteristic1" send_type="method_call"/>
- <allow send_interface="org.bluez.GattDescriptor1" send_type="method_call"/>
+ <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 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" send_member="GetManagedObjects"/>
- <allow send_interface="org.bluez.GattCharacteristic1" send_type="method_call"/>
- <allow send_interface="org.bluez.GattDescriptor1" send_type="method_call"/>
+ <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"/>
<deny send_interface="org.bluez.Profile1" send_member="NewConnection"/>
<deny send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
- <deny send_interface="org.bluez.GattCharacteristic1" send_type="method_call"/>
- <deny send_interface="org.bluez.GattDescriptor1" send_type="method_call"/>
</policy>
</busconfig>
g_variant_builder_add(array_builder, "s", interface);
ret = g_dbus_connection_emit_signal(g_conn, NULL, "/",
- "org.freedesktop.DBus.ObjectManager",
+ "org.freedesktop.Dbus.Objectmanager",
"InterfacesRemoved",
g_variant_new("(oas)",
object_path, array_builder),
GATT_SERV_INTERFACE, inner_builder);
ret = g_dbus_connection_emit_signal(g_conn, NULL, "/",
- "org.freedesktop.DBus.ObjectManager",
+ "org.freedesktop.Dbus.ObjectManager",
"InterfacesAdded",
g_variant_new("(oa{sa{sv}})",
path, builder),
inner_builder);
ret = g_dbus_connection_emit_signal(g_conn, NULL, "/",
- "org.freedesktop.DBus.ObjectManager",
+ "org.freedesktop.Dbus.ObjectManager",
"InterfacesAdded",
g_variant_new("(oa{sa{sv}})",
path, builder),
inner_builder);
g_dbus_connection_emit_signal(g_conn, NULL, "/",
- "org.freedesktop.DBus.ObjectManager",
+ "org.freedesktop.Dbus.ObjectManager",
"InterfacesAdded",
g_variant_new("(oa{sa{sv}})",
path, builder),