[maemo-developers] How to use osso RPC calls properly
From: possunuha at gmx.com possunuha at gmx.comDate: Wed Aug 25 16:10:21 EEST 2010
- Previous message: Getting a phone number from an OssoABookContact
- Next message: How to use osso RPC calls properly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
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.
osso_return_t ret;
osso_rpc_t retval = {};
ret = osso_rpc_run_system(app->osso_cont,
CONBTDIALOGS_DBUS_SERVICE,
CONBTDIALOGS_DBUS_PATH,
CONBTDIALOGS_DBUS_INTERFACE,
CONBTDIALOGS_SEARCH_REQ, &retval,
DBUS_TYPE_STRING, "",
DBUS_TYPE_STRING, "",
DBUS_TYPE_ARRAY, DBUS_TYPE_STRING,
DBUS_TYPE_STRING, "require",
DBUS_TYPE_INVALID);
if (ret != OSSO_OK)
{
g_print(_("Could not show bluetooth dialog: (%s)\n"), ossoErrorStr(ret));
return FALSE;
}
Oddly enough i can't even use bluez dbus api since it returns same error. I think com.nokia.* calls are working since file chooser dialog functioned as it should. system("dbus-send ..."); is also working for bluez/bt_ui calls.
Thanks for any help! (original thread http://talk.maemo.org/showthread.php?t=60821)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100825/d7bb3d56/attachment.htm>
- Previous message: Getting a phone number from an OssoABookContact
- Next message: How to use osso RPC calls properly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
