Need Help in Dbus

Michael 'Mickey' Lauer mickey at vanille-media.de
Wed Oct 21 15:25:56 CEST 2009


(NOTE: Please don't forget to cc the list)

>root at om-gta02 ~ # ./valadbusclient
>Using **pending_return in dbus_connection_send_with_reply_setup() 
>without pending_setup is deprecated and strongly discouraged
>Error: Too many arguments in reply; expected 0, got 1

That's expected as the signature of your signal handler

private void discovery_started (dynamic DBus.Object bluez, string 
address_, string name_)

has been copied from the sample and not been adjusted.
org.freesmartphone.GSM.Device.SignalStrength( i ) has a different
signature, hence you would need to change it to
 
private void discovery_started (dynamic DBus.Object bluez, int
strength )

Hope this helps,

:M:





More information about the devel mailing list