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)
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers