From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Network information can't be updated dynamically
Date: Wed, 29 Jul 2009 21:45:40 -0500 [thread overview]
Message-ID: <200907292145.40433.denkenz@gmail.com> (raw)
In-Reply-To: <B94C62E7C2870743865418621F040C1302053C502B@pdsmsx502.ccr.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1200 bytes --]
Hi,
> No, if ofono don't request it and the modem can't send the response
I think you have no idea what you're talking about. The 'spec' way of doing
this is sending AT+CREG=2, at which point the modem will send a +CREG:
unsolicited result code whenever the registration state changes (e.g. roaming,
searching, home, etc). See 27.007 Section 7.2.
oFono also requests the registration status whenever any registration
operation is performed. This works, you can even test it on phonesim if you
like.
>
> >> Suppose UI want to show the status, which interface can be used?
> >
> >You use the NetworkRegistration interface, 'Status' property.
>
> That's the point; the status can't be changed because ofono only get the
> status at modem/networking initialization, during registered to roaming
> ofono don't know the changing even modem update the information correctly
Again, you're wrong. Take a look at ofono_network_registration_notify in
src/network.c and and creg_notify in drivers/atmodem/network-registration.c.
I ask you again, are you sure your modem is actually switching its status, and
if so, can you provide a debug trace?
Regards,
-Denis
next prev parent reply other threads:[~2009-07-30 2:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-29 8:28 Network information can't be updated dynamically Li, Zhigang
2009-07-29 9:41 ` Li, Zhigang
2009-07-29 17:24 ` Denis Kenzior
2009-07-30 1:51 ` Li, Zhigang
2009-07-30 2:01 ` Denis Kenzior
2009-07-30 2:18 ` Li, Zhigang
2009-07-30 2:45 ` Denis Kenzior [this message]
2009-07-30 7:22 ` Li, Zhigang
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=200907292145.40433.denkenz@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.