ophoned InitProtocols

Michal Brzozowski rusolis at poczta.fm
Sun Jul 26 21:07:45 CEST 2009


2009/7/26 Michal Brzozowski <rusolis at poczta.fm>

> How is one supposed to call InitProtocols? I get an UnknownMethod error in
> QT, same as below:
>
> root at 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 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/devel/attachments/20090726/8a0f65ac/attachment.htm 


More information about the devel mailing list