This patch adds SetDiscoveryFilter 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 be8f5db..17acb94 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -1759,6 +1759,12 @@ static DBusMessage *start_discovery(DBusConnection *conn, return dbus_message_new_method_return(msg); } +static DBusMessage *set_discovery_filter(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) { @@ -2331,6 +2337,9 @@ static DBusMessage *remove_device(DBusConnection *conn, static const GDBusMethodTable adapter_methods[] = { { GDBUS_METHOD("StartDiscovery", NULL, NULL, start_discovery) }, + { GDBUS_METHOD("SetDiscoveryFilter", + GDBUS_ARGS({ "properties", "a{sv}" }), NULL, + set_discovery_filter) }, { 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