Am Mittwoch, 28. Juli 2010, 21:52:36 schrieb Al Johnson: > On Wednesday 28 July 2010, Esben Stien wrote: > > Joachim Ott <[email protected]> writes: > > > I wanted to see the output to see the expanded parameters. > > > > Right, sorry. > > > > #sh -x gprs-on.sh > > + sh -x gprs-on.sh > > + APN=telenor > > + USERNAME=internet > > + PASSWORD=internet > > + BUSNAME=org.freesmartphone.ogsmd > > + OBJECTPATH=/org/freesmartphone/GSM/Device > > + SETMETHODNAME=org.freesmartphone.GSM.PDP.SetCredentials > > + ACTMETHODNAME=org.freesmartphone.GSM.PDP.ActivateContext > > + mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device > > org.freesmartphone.GSM.PDP.SetCredentials telenor internet internet > > [ERR]: No method org.freesmartphone.GSM.PDP.SetCredentials found at > > /org/freesmartphone/GSM/Device for org.freesmartphone.ogsmd > > + mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device > > org.freesmartphone.GSM.PDP.ActivateContext > > [ERR]: Need 3 params for signature 'sss', supplied 0 > > what output do you get from: > mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device > This should show what parameters PDP.SetCredentials and PDP.ActivateContext > expect. My first guess looking at your error messages is that > SetCredentials is missing, and that ActivateContext is expecting the > credentials instead. If that is the case then the question becomes why...
That was what ogsmd did. It got then split into SetCredentials, which is needed only once per fsogsmd lifecycle and ActivateContext (without parameters) to actually connect. -- Klaus 'mrmoku' Kurzmann _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
