simple question...
Thomas Green
TGreen2 at Sorenson.com
Wed Mar 4 14:05:26 PST 2015
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
More information about the dbus
mailing list