Need Help in Dbus

Matthias Huber matthias.huber at wollishausen.de
Wed Oct 21 15:40:09 CEST 2009


Michael 'Mickey' Lauer schrieb:
> (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:
>   
Now it works, thank you!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/devel/attachments/20091021/653f370f/attachment.htm 


More information about the devel mailing list