Thanks for the link, it cleared up quite a few things. I thought using osso_ 
calls was the way to go but if they are deprecated i leave them be (except 
osso_hw_set_event_cb and osso_rpc_set_cb_f, they dont seem to be deprecated).

Cheers! 

----- Original Message -----
From: Ville M. Vainio
Sent: 08/25/10 04:52 PM
To: possun...@gmx.com
Subject: Re: How to use osso RPC calls properly

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 @@ Fo
 rum Nokia
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to