Hi,
Thak you all for your answer.

Le dimanche 23 octobre 2011 à 15:20 -0500, Denis Kenzior a écrit :
> Hi Jean,
> 
> On 10/24/2011 04:44 AM, Jean Parpaillon wrote:
> > Hi all,
> > I am currently trying to use ofono and I can not get how to register the
> > modem in a reliable way.
> > When I detect a modem, I set org.ofono.Modem.Powered to True.
> > When SimManager interface is ready, I enter the pin.
> > Then, I set the modem org.ofono.Modem.Online to True.
> 
> So far so good...
> 
> > By the way, I wait for NetworkRegistration interface to be available.
> > When it is available, I wait for NetworkRegistration.Name to be non
> > empty to call NetworkRegistration.Register.
> > 
> 
> oFono will automatically register unless the Mode property is set to
> 'manual'.  So calling NetworkRegistration.Register is wholly pointless
> if you obtain a NetworkRegistration.Name.  That means you're already
> registered ;)
> 

Noted :)

> > The point is setting Online property usually end with a timeout. It is
> > the right workflow ? Must I look for other property ? 
> 
> What modem are you using?  In general Online should never result in a
> timeout...
> 

I am using a Huawei 1752 USB dongle.
After some time, modem is online, but I sometimes got a timeout. Really
precise, isn't it ? ;)

The really point now is I wanted to make voice calls but it appears that
this modem come with voice call feature disabled by default. Arggg.

> Regards,
> -Denis

Thanks again,
Jean

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to