Add some extra debug output to GAP testing

This commit is contained in:
Marcel Holtmann 2009-08-20 12:16:17 -07:00
parent 7fefa9ead2
commit c1d1d624ef

View File

@ -71,6 +71,8 @@ static char *get_adapter(DBusConnection *conn)
DBUS_TYPE_INVALID) == FALSE) DBUS_TYPE_INVALID) == FALSE)
goto done; goto done;
printf("Using default adapter %s\n", path);
result = strdup(path); result = strdup(path);
done: done:
@ -115,6 +117,8 @@ static char *find_device(DBusConnection *conn, const char *adapter,
DBUS_TYPE_INVALID) == FALSE) DBUS_TYPE_INVALID) == FALSE)
goto done; goto done;
printf("Using device %s for address %s\n", path, address);
result = strdup(path); result = strdup(path);
done: done:
@ -155,6 +159,8 @@ static int remove_device(DBusConnection *conn, const char *adapter,
dbus_message_unref(reply); dbus_message_unref(reply);
printf("Removed device %s\n", device);
return 0; return 0;
} }
@ -209,6 +215,8 @@ static int set_property(DBusConnection *conn, const char *adapter,
dbus_message_unref(reply); dbus_message_unref(reply);
printf("Set property %s for %s\n", key, adapter);
return 0; return 0;
} }