From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Ofono use
Date: Sun, 23 Oct 2011 15:20:21 -0500 [thread overview]
Message-ID: <4EA47705.4050404@gmail.com> (raw)
In-Reply-To: <1319449442.32429.141.camel@talinn.home>
[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]
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 ;)
> 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...
Regards,
-Denis
next prev parent reply other threads:[~2011-10-23 20:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-24 9:44 Ofono use Jean Parpaillon
2011-10-23 20:20 ` Denis Kenzior [this message]
2011-10-24 15:48 ` Jean Parpaillon
2011-10-26 11:17 ` Jean Parpaillon
2011-10-24 11:11 ` Pekka Pessi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EA47705.4050404@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox