2009/7/26 Michal Brzozowski <ruso...@poczta.fm>

> How is one supposed to call InitProtocols? I get an UnknownMethod error in
> QT, same as below:
>
> r...@om-gta02 ~ $ mdbus -s org.freesmartphone.ophoned
> /org/freesmartphone/Phone
> org.freesmartphone.Phone.InitProtocols
> /org/freesmartphone/Phone: InitProtocols failed:
> org.freedesktop.DBus.Error.UnknownMethod
>
> Is InitProtocols mandatory before I start using the Phone interface? I
> can't get my program to receive the Phone.Incoming signal.
>
>
I'm confused, are FSO docs out of date?

$ mdbus -s org.freesmartphone.ophoned /org/freesmartphone/Phone

[METHOD]    org.freedesktop.DBus.Introspectable.Introspect()
[METHOD]    org.freesmartphone.Phone.Accept()
[METHOD]    org.freesmartphone.Phone.CreateCall( s:number, s:protocol,
b:force )
[METHOD]    org.freesmartphone.Phone.Hangup()
[METHOD]    org.freesmartphone.Phone.SetBTHeadsetPlaying( b:playing )
[SIGNAL]    org.freesmartphone.Phone.BTHeadsetConnected( b:connected )
[SIGNAL]    org.freesmartphone.Phone.BTHeadsetEnabled( b:enabled )
[SIGNAL]    org.freesmartphone.Phone.CallCreated( o:call )
[SIGNAL]    org.freesmartphone.Phone.CallReleased( o:call )
_______________________________________________
devel mailing list
devel@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/devel

Reply via email to