simple question...

Thomas Green <TGreen2-vhQsaQLC7V1Wk0Htik3J/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <C2BC44D770753C45AAAC42695FB5BE02AF6B8F51@SLC-EXMB01.CORP.SRELAY.COM>
All,

Given this xml:

<interface name="org.bluez.Agent">
        <method name="RequestPinCode">
            <arg name="device" direction="in" type="o" />
            <arg name="pincode" direction="out" type="s" />
        </method>
....
</interface> 

And using the code generated by gdbus-codegen (2.40.0) I properly get the invocation of my signal handler for the handle-request-pin-code event.  But when I try to pass back the response using :

    ....
    g_dbus_method_invocation_return_value(invocation, gvariant_new("(s)", pincode_string));
    return True;
}

the call that I am responding to eventually times out.  Not an invalid argument or any other failure.  It is like whoever signaled the RequestPincdode event didn't get the response.

Am I missing something basic here?  How can I see what I am really sending back (if anything)?

Tom
 
_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.