On Wed, Aug 25, 2010 at 4:10 PM, <possun...@gmx.com> wrote: > I've been trying to show bluetooth device search dialog using osso_rpc_run > and osso_rpc_run_system but this code returns OSSO_RPC_ERROR every time.
You should avoid osso_ calls, my understanding is that they are deprecated (and they deliver very little value in the first place - just make your program maemo specific). Your string vector argument seems like illegal to me ( DBUS_TYPE_ARRAY, DBUS_TYPE_STRING) - where is the value? Have you checked out this already: https://garage.maemo.org/pipermail/maemo-pan-devel/2008-May/000006.html function show_pairing_dialog : + if (!dbus_g_proxy_call(proxy, CONBTDIALOGS_SEARCH_REQ, + &error, + G_TYPE_STRING, "", + G_TYPE_STRING, "", + G_TYPE_STRV, &filter, + G_TYPE_STRING, "require", + G_TYPE_INVALID, G_TYPE_INVALID)) { + g_print("ERROR: %s\n", error->message); + g_clear_error(&error); + g_strfreev(filter); + g_object_unref(G_OBJECT(proxy)); + return; -- Ville M. Vainio @@ Forum Nokia _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers