This patch adds StartFilteredDiscovery method, as described in doc/adapter-api.txt to DBus interface. Method content wil follow in next patches. --- src/adapter.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/adapter.c b/src/adapter.c index 1839286..df0c0b8 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -1744,6 +1744,12 @@ static DBusMessage *start_discovery(DBusConnection *conn, return dbus_message_new_method_return(msg); } +static DBusMessage *start_filtered_discovery(DBusConnection *conn, + DBusMessage *msg, void *user_data) +{ + return btd_error_failed(msg, "Not implemented yet"); +} + static DBusMessage *stop_discovery(DBusConnection *conn, DBusMessage *msg, void *user_data) { @@ -2278,6 +2284,9 @@ static DBusMessage *remove_device(DBusConnection *conn, static const GDBusMethodTable adapter_methods[] = { { GDBUS_METHOD("StartDiscovery", NULL, NULL, start_discovery) }, + { GDBUS_METHOD("StartFilteredDiscovery", + GDBUS_ARGS({ "properties", "a{sv}" }), NULL, + start_filtered_discovery) }, { GDBUS_METHOD("StopDiscovery", NULL, NULL, stop_discovery) }, { GDBUS_ASYNC_METHOD("RemoveDevice", GDBUS_ARGS({ "device", "o" }), NULL, remove_device) }, -- 2.2.0.rc0.207.ga3a616c -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html