On ti, 2015-03-17 at 10:25 +0000, Kallumari Nagaraja Rao, RammohanX
wrote:
> This is what I tried doing it, I am very new to these stuffs :(
>
> DBusMessage * agent_update_passphrase(DBusConnection *connection, char *
> serv_str, char * pass)
> {
> DBusMessage *message, *reply;
> DBusError error;
> DBusMessageIter iter;
> DBusMessageIter args;
> static char *path = NULL;
> char *property = "Passphrase";
> int type = DBUS_TYPE_STRING;
> char *param = AGENT_PATH;
>
> path = g_strdup_printf("/net/connman/service/%s", serv_str);
> message = dbus_message_new_method_call( CONNMAN_SERVICE,
>
> path,
>
> CONNMAN_AGENT_INTERFACE,
>
> "RequestInput" );
This is wrong. ConnMan will call RequestInput method so you will need to
create a listener in your application for that. You are not suppose to
call RequestInput in ConnMan as there will not be such method there.
Jukka
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman